# Issue with CODA with Python

**URL:** https://forum.atmospherictoolbox.org/t/issue-with-coda-with-python/403
**Category:** CODA
**Tags:** aeolus, python
**Created:** [October 1, 2021, 11:04am UTC](https://forum.atmospherictoolbox.org/t/issue-with-coda-with-python/403 "2021-10-01T11:04:46Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![blmadhavan](https://forum.atmospherictoolbox.org/letter_avatar_proxy/v4/letter/b/13edae/32.png) [@blmadhavan](https://forum.atmospherictoolbox.org/u/blmadhavan)
#### Post date: [October 1, 2021, 11:04am UTC](https://forum.atmospherictoolbox.org/t/issue-with-coda-with-python/403/1 "2021-10-01T11:04:46Z")

</div>

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](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/](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?

---

<div class="post-metadata">

### Author: ![sander.niemeijer](https://forum.atmospherictoolbox.org/user_avatar/forum.atmospherictoolbox.org/sander.niemeijer/32/5_2.png) [@sander.niemeijer](https://forum.atmospherictoolbox.org/u/sander.niemeijer)
#### Post date: [October 1, 2021, 11:21am UTC](https://forum.atmospherictoolbox.org/t/issue-with-coda-with-python/403/2 "2021-10-01T11:21:02Z")

</div>

Install instructions for CODA itself are provided in the [INSTALL file](https://github.com/stcorp/coda/blob/master/INSTALL). 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](http://stcorp.github.io/coda/doc/html/python/index.html#codadef).

---

<div class="post-metadata">

### Author: ![wwww](https://forum.atmospherictoolbox.org/letter_avatar_proxy/v4/letter/w/bcef8e/32.png) [@wwww](https://forum.atmospherictoolbox.org/u/wwww)
#### Post date: [December 5, 2024, 9:32am UTC](https://forum.atmospherictoolbox.org/t/issue-with-coda-with-python/403/4 "2024-12-05T09:32:11Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![sander.niemeijer](https://forum.atmospherictoolbox.org/user_avatar/forum.atmospherictoolbox.org/sander.niemeijer/32/5_2.png) [@sander.niemeijer](https://forum.atmospherictoolbox.org/u/sander.niemeijer)
#### Post date: [December 5, 2024, 9:49am UTC](https://forum.atmospherictoolbox.org/t/issue-with-coda-with-python/403/5 "2024-12-05T09:49:14Z")

</div>

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](https://github.com/stcorp/codadef-aeolus/releases/latest)) and put them in the codadef folder as described in the [CODA documentation](http://stcorp.github.io/coda/doc/html/index.html).
