# CODA unsupported product file for AEOLUS

**URL:** https://forum.atmospherictoolbox.org/t/coda-unsupported-product-file-for-aeolus/308
**Category:** CODA
**Created:** [April 21, 2021, 10:16am UTC](https://forum.atmospherictoolbox.org/t/coda-unsupported-product-file-for-aeolus/308 "2021-04-21T10:16:29Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![yika64](https://forum.atmospherictoolbox.org/user_avatar/forum.atmospherictoolbox.org/yika64/32/131_2.png) [@yika64](https://forum.atmospherictoolbox.org/u/yika64)
#### Post date: [April 21, 2021, 10:16am UTC](https://forum.atmospherictoolbox.org/t/coda-unsupported-product-file-for-aeolus/308/1 "2021-04-21T10:16:29Z")

</div>

Hi, I’m so sorry that I ask questions under very different issues!  
I have tried to put the _codadef_ file into my share/coda/definitions, but it doesn’t work.  
It gives the same error:  
**coda\_open(): unsupported product file**

This is the code:  
**import coda**  
**import os**  
**from numpy import vstack,zeros**  
**os.putenv(‘CODA\_DEFINITION’, r’D:\yika\work\Aladin\coda\share\coda\definitions’)**  
**product=coda.open(“AE\_OPER\_ALD\_U\_N\_2B\_20201008T233259\_20201009T010347\_0001.DBL”)**  
I wonder if there is someway to check why it’s wrong or how to deal with it?  
Thanks again and sorry again!

---

<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: [April 21, 2021, 11:25am UTC](https://forum.atmospherictoolbox.org/t/coda-unsupported-product-file-for-aeolus/308/2 "2021-04-21T11:25:58Z")

</div>

Can you open a dos/command prompt and run codacheck on these product files?  
e.g. `codacheck -V AE_OPER_ALD_U_N_2B_20201008T233259_20201009T010347_0001.DBL`, `codacheck -V AE_OPER_ALD_U_N_2B_20201008T233259_20201009T010347_0001.HDR`  
And let me know the output?  
The codacheck executable should be in `D:\yika\work\Aladin\coda\bin`.

---

<div class="post-metadata">

### Author: ![yika64](https://forum.atmospherictoolbox.org/user_avatar/forum.atmospherictoolbox.org/yika64/32/131_2.png) [@yika64](https://forum.atmospherictoolbox.org/u/yika64)
#### Post date: [April 21, 2021, 11:48am UTC](https://forum.atmospherictoolbox.org/t/coda-unsupported-product-file-for-aeolus/308/3 "2021-04-21T11:48:00Z")

</div>

It shows like:

 ![codacheck](https://forum.atmospherictoolbox.org/uploads/default/original/1X/337e4b398fcab642c2be69f4550cd7d99bb0974f.png)

---

<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: [April 21, 2021, 11:50am UTC](https://forum.atmospherictoolbox.org/t/coda-unsupported-product-file-for-aeolus/308/4 "2021-04-21T11:50:57Z")

</div>

That looks Ok.

I already see what is going on. You need to call the `os.putenv` before you call `import coda`:

```
import os
os.putenv(‘CODA_DEFINITION’, r’D:\yika\work\Aladin\coda\share\coda\definitions’)
import coda
from numpy import vstack,zeros
product=coda.open(“AE_OPER_ALD_U_N_2B_20201008T233259_20201009T010347_0001.DBL”)

```

This should work.

---

<div class="post-metadata">

### Author: ![yika64](https://forum.atmospherictoolbox.org/user_avatar/forum.atmospherictoolbox.org/yika64/32/131_2.png) [@yika64](https://forum.atmospherictoolbox.org/u/yika64)
#### Post date: [April 21, 2021, 11:54am UTC](https://forum.atmospherictoolbox.org/t/coda-unsupported-product-file-for-aeolus/308/5 "2021-04-21T11:54:04Z")

</div>

It works!  
Thank u!! This problem has troubled me one day!  
thanks!!! 🤗

---

<div class="post-metadata">

### Author: ![kktam](https://forum.atmospherictoolbox.org/letter_avatar_proxy/v4/letter/k/71c47a/32.png) [@kktam](https://forum.atmospherictoolbox.org/u/kktam)
#### Post date: [June 13, 2021, 9:47am UTC](https://forum.atmospherictoolbox.org/t/coda-unsupported-product-file-for-aeolus/308/6 "2021-06-13T09:47:09Z")

</div>

hello sir. I also meet a similar problem.  
I install coda 2.21.1 on the server via anaconda.  
And try to run the sample program in github.  
But it show me the error as yika64.  
My error program as follows.

`import os  
os.putenv(‘CODA\_DEFINITION’,’/student/home/chikiangtam/anaconda3/envs/aelous/share/coda/definitions’)

import coda from numpy import vstack, zeros

filename="/student/home/chikiangtam/aeolus/data/A2B\_20210504T085256/AE\_OPER\_ALD\_U\_N\_2B\_20210504T084256\_20210504T101320\_0001.DBL"

product = coda.open(filename)`

And i also try to use the codacheck to check out the DBL file,but it shows me that it is an unsupported product file.

 ![微信截图_20210613173023](https://forum.atmospherictoolbox.org/uploads/default/original/1X/d7b43978d1e025c94d3f804cceb06059938dd391.png)  
I have placed the definition file in “/student/home/chikiangtam/anaconda3/envs/aelous/share/coda/definitions/”，and there are products/types/index.xml and tests.xml in the definition floder.  
i wonder to know if some steps are still missing.  
Thanks you very much!

---

<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: [June 13, 2021, 2:59pm UTC](https://forum.atmospherictoolbox.org/t/coda-unsupported-product-file-for-aeolus/308/7 "2021-06-13T14:59:12Z")

</div>

You should not install the folder with xml files, but the .codadef file. You can find it as an attached for the [release](https://github.com/stcorp/codadef-aeolus/releases/latest).

---

<div class="post-metadata">

### Author: ![oliver\_k](https://forum.atmospherictoolbox.org/letter_avatar_proxy/v4/letter/o/e95f7d/32.png) [@oliver\_k](https://forum.atmospherictoolbox.org/u/oliver_k)
#### Post date: [June 15, 2021, 4:43am UTC](https://forum.atmospherictoolbox.org/t/coda-unsupported-product-file-for-aeolus/308/8 "2021-06-15T04:43:41Z")

</div>

Thank you very much! i haved been solved the problem.  
I dont know why the account “kktam” dose not have premission to reply, that i had to try to register a new account to reply to your answer.  
Thank you again and wish you a happy life.

---

<div class="post-metadata">

### Author: ![kktam](https://forum.atmospherictoolbox.org/letter_avatar_proxy/v4/letter/k/71c47a/32.png) [@kktam](https://forum.atmospherictoolbox.org/u/kktam)
#### Post date: [June 21, 2021, 8:17am UTC](https://forum.atmospherictoolbox.org/t/coda-unsupported-product-file-for-aeolus/308/9 "2021-06-21T08:17:35Z")

</div>

Thank you very much!this problem has been solved！ 😀
