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).
Download the Windows msi installer.
There find and download numpy-1.5.1-win32-superpack-python2.6.exe.
There find and download tables-2.2.1.win32-py2.6.exe.
From there get numexpr-1.4.2.win32-py2.6.exe.
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
Into the same directory we copied an example SCIAMACHY level 2 product named
For information on how to get SCIAMACHY products look here:
Integrate CODA into Python:
C:\Python26\python.exe setup.py install
This will integrate CODA into Python.
Add these lines into a batch file, for example run.bat:
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
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.