Page 1 of 1
HDF Errors with ancillary data
Posted: Wed Oct 11, 2023 11:41 am
by jamesrunnalls
Acolite is crashing when trying to read ancillary files such as MET/2022/141/N202214100_O3_AURAOMI_24h.hdf with the following error.
pyhdf.error.HDF4Error: SD (15): File is supported, must be either hdf, cdf, netcdf
This is not specific to Acolite I am also having this issue with Polymer, but I was wondering if anyone else is experiencing this or has found a solution?
Re: HDF Errors with ancillary data
Posted: Thu Oct 12, 2023 5:19 am
by quinten
Hi James
Indeed it seems like the ancillary data used in ACOLITE (NCEPR2 and AURAOMI) are no longer available from the oceandata server. I will have to investigate a change of file type or data source. For the moment please use ancillary_data=False
Quinten
Re: HDF Errors with ancillary data
Posted: Mon Oct 16, 2023 12:59 pm
by quinten
Hi James
I have adapted the ancillary data process to use GMAO MERRA2 or FP data. Please update your ACOLITE distribution and give it a try!
For processing imagery older than about six weeks, use the (new default) setting:
and for NRT data you can use:
I hope this helps!
Quinten
Re: HDF Errors with ancillary data
Posted: Mon Oct 16, 2023 3:05 pm
by jamesrunnalls
Thanks Quinten for the super fast updates! I will run some tests with the updated code and get back to you if there are any issues.
Thanks for your work!
James
Re: HDF Errors with ancillary data
Posted: Fri Oct 20, 2023 1:30 pm
by binbinjiang1990
Dear James,
Is that works for you? could you provide some details for fix this bugs , thanks
Best,Binbin
Re: HDF Errors with ancillary data
Posted: Fri Oct 20, 2023 1:56 pm
by quinten
Hi Binbin
Did you update the code? Which error do you get?
Quinten
Re: HDF Errors with ancillary data
Posted: Sat Oct 21, 2023 9:52 am
by binbinjiang1990
Dear Quinten,
My error same as the title"HDF errors with ancillary data"
I just used the ACOLITE20221114, but i can not find which script contain "ancillary_type=GMAO_MERRA2_MET", I check /ancillary get.py, there are nothing about ancillary types. Could you provide a new one?
Best, Binbin
Re: HDF Errors with ancillary data
Posted: Sat Oct 21, 2023 11:19 am
by quinten
Hi Binbin
The new code is not present in older versions...
![Laughing :lol:](./images/smilies/icon_lol.gif)
You must use a current git clone to be able to use the new ancillary format.
I may work on a new binary release in the coming weeks.
Quinten
Re: HDF Errors with ancillary data
Posted: Sun Oct 22, 2023 2:20 am
by binbinjiang1990
Dear Quinten,
Thank you for your reply. I am looking foward new version.
Best,Binbin
Re: HDF Errors with ancillary data
Posted: Mon Oct 23, 2023 2:07 pm
by quinten
Hi Binbin
I just released a new version:
viewtopic.php?f=3&t=462
Quinten