Issue with CODA with Python

I found a Python code for accessing the data from .DBL file in the following link:

https://github.com/stcorp/coda-examples/blob/master/python/aeolus/aeolus_l2b.py

I have even downloaded the CODA definition from https://atmospherictoolbox.org/coda/

I am using Anaconda Python 3.0 on my Centos7 operating system.

Now, I want to know how I can install and set the path for CODA_DEFINITION. I am struck here.

Inside the ‘coda’ directory, I am following the instructions given in the INSTALL file.

Following are steps and error messages I am getting:


$ ./bootstrap
—removing generated files—
—autoreconf—
./bootstrap: line 24: autoreconf: command not found

$ conda install -c stcorp coda
Collecting package metadata (current_repodata.json): done
Solving environment: done

Preparing transaction: done
Verifying transaction: done
Executing transaction: done

$ ./configure --enable-python

bash: ./configure: No such file or directory

$ sh configure.ac --enable-python
[configure.ac]: line 2: syntax error near unexpected token [CODA],[2.22.1]' [configure.ac]: line 2: AC_INIT([CODA],[2.22.1])’


Can you please suggest me how to rectify the above issues?

Install instructions for CODA itself are provided in the INSTALL file. You are mixing up installation from source from github with installation via conda. So please read the documentation carefully.

Assuming you are using the conda installation of CODA, then just put the AEOLUS .codadef file in your conda environment in the share/coda/definitions sub-directory. This way CODA will automatically find it.

The alternative is to put the .codadef somewhere else and point to it with a CODA_DEFINITION environment variable. Instructions for this can also be found in the documentation.

Hello, may I ask where I can obtain the definition files for version 2.25.2 of CODA? I want to read information from ALADIN satellite data, and I have already installed the program, but the definitions folder is empty.

CODA does not come with any definition files itself (there are too many and we don’t want to provide a new CODA release for each codadef update).

If you need access to atmospheric products (such as for the AEOLUS mission which covers the ALADIN instrument) and if you are using a conda environment, you could also install HARP. This will install a range of codadefs for atmospheric products that are then immediately usable via the coda interfaces.

Alternatively, you can download the individual codadefs (e.g. AEOLUS codadef) and put them in the codadef folder as described in the CODA documentation.