MeteoSwiss / pyrad

Python Radar Data Processing
https://meteoswiss.github.io/pyrad/
Other
37 stars 10 forks source link

Problems when compiling from source code #54

Closed jfigui closed 1 year ago

jfigui commented 1 year ago

Hi @wolfidan ,

I have recently re-installed pyrad from source and I have found some issues when compiling pyart using the scripts make_pyart.sh, or make_pyrad.sh. When importing pyart it complains that it cannot find the following files: /pyart/graph/chase-spectral-rgb.txt /pyart/graph/spectral-extended-rgb.txt /pyart/testing/registry.txt They should be present in the build folder e.g. .local/lib/python3.9/site-packages/pyart_mch-1.8.3-py3.9-linux-x86_64.egg/

If I copy them manually everything is fine.

Do you know what those text files are about? I don't recall creating them. What would be the solution to copy them to the right place automatically?

wolfidan commented 1 year ago

Ciao @jfigui ,

These are new colormaps that are used by ARM. Sorry about that, normally pyart should include the files as it has a recursive include of .txt files in the MANIFEST.in. I personally did not encounter this issue. To be on the safe side, I have added these files explicitely in the MANIFEST.in in commit [BUG] added missing txt files in MANIFEST . Maybe you could test again and tell me. Thanks,

Cheers

jfigui commented 1 year ago

Hi @wolfidan ,

It works flawless now. Thanks for the quick reaction. I close the issue.

Cheers