stcorp / harp

Data harmonization toolset for scientific earth observation data
http://stcorp.github.io/harp/doc/html/index.html
BSD 3-Clause "New" or "Revised" License
55 stars 18 forks source link

No support oco2_LtCO2 in github version? #276

Closed gc13141112 closed 1 year ago

gc13141112 commented 1 year ago

I have built HARP from github source and can open oco3_LtCO2 but not open oco2_LtCO2. Did you know this error? Traceback (most recent call last): File "oco3_read.py", line 15, in data = harp.import_product('oco2_LtCO2_220531_B11014Ar_220822215124s.nc4') File "/home/gaochao/model/LIBRARY/python3/lib/python3.6/site-packages/harp/_harppy.py", line 1300, in import_product raise CLibraryError() harp._harppy.CLibraryError: can not read uint64 data using a int32 data type

gc13141112 commented 1 year ago

In addtion, OCO2_L2_Lite_FP.11r can not be opened, but OCO2_L2_Lite_FP.10r can be opened.

svniemeijer commented 1 year ago

Confirmed. We had only added support for v10. We will add v11 (and v9, if possible).

svniemeijer commented 1 year ago

Should be fixed in https://github.com/stcorp/harp/commit/d938ba8c504d0e785f9981e7220d16cf4750adcb

gc13141112 commented 1 year ago

Thanks, I rebuilt this version and this data (v11 and v9) can be read.