Installing Python and Coda for scial2toh5 on Windows

Install the needed packets: Python, Numpy, Pytables and BEAT/CODA:

Download these Windows installers and install them in the same sequence
(Python should be installed first, so that the add-ons like numpy will
find it and integrate).

http://www.python.org/download/releases/2.6.6/

Download the Windows msi installer.

http://sourceforge.net/projects/numpy/files/NumPy/1.5.1/

There find and download numpy-1.5.1-win32-superpack-python2.6.exe.

http://www.pytables.org/download/stable/

There find and download tables-2.2.1.win32-py2.6.exe.

http://pypi.python.org/pypi/numexpr

From there get numexpr-1.4.2.win32-py2.6.exe.

http://www.stcorp.nl/beat/download/

From there get beatsetup-6.4.0.exe.

This CODA version needs Python 2.6. Note that future versions may need another combination of
Software packets. For now, in April 2011, this system should work just using the binary
Windows installers. It's still possible to compile from source code packets but this is not
matter of this tutorial.

If not yet done, download and unpack scial2toh5:

In our example we unpacked scial2toh5 into
C:\scial2toh5.
Into the same directory we copied an example SCIAMACHY level 2 product named

SCI_OL__2PRDPA20080720_045722_000033252070_00277_33397_3987.N1

For information on how to get SCIAMACHY products look here:

http://earth.esa.int/dataproducts/accessingeodata/

Integrate CODA into Python:

Go to 
C:\BEAT\python
and run

C:\Python26\python.exe setup.py install



This will integrate CODA into Python.

Test scial2toh5:

Add these lines into a batch file, for example run.bat:


set CODA_DEFINITION=C:\BEAT\definitions
set HDF5_DISABLE_VERSION_CHECK=2
rem list data-sets
C:\Python26\python.exe scial2toh5.py -q SCIA_PRODUCT_NAME
rem extract nadir UV
C:\Python26\python.exe scial2toh5.py --ds nad_uv0_o3 SCIA_PRODUCT_NAME




Replace SCIA_PRODUCT_NAME by the real file name of your product for example
SCI_OL__2PRDPA20080720_045722_000033252070_00277_33397_3987.N1
and take care that CODA_DEFINITION points to the correct location. It may be necessary to add
CODA_DEFINITION to the system environment variables.
Running this should list the data-sets of the SCIAMACHY product and extract the first nadir UV ozone data-set.
If it worked, we are done with the installation.
The content of the HDF5 file seen with hdfview
The content of the HDF5 file seen with hdfview.