Page 1 of 1

getanc error after updating to V2022.0

Posted: Mon Jan 17, 2022 11:19 am America/New_York
by jcoca
Hello

I have recently updated SeaDAS (8.1, Ubuntu 20.04.3 LTS) processing to V2022.0 tag. After that, getanc started to fail when using start and stop times to look for ancillary processing files:

getanc -c -s 2022012040000 -e 2022012200000
ancillary_data.db
Traceback (most recent call last):
File "/seadas8/ocssw/bin/getanc", line 144, in <module>
exit(main())
File "/seadas8/ocssw/bin/getanc", line 137, in main
g.findweb()
File "/seadas8/ocssw/bin/seadasutils/anc_utils.py", line 432, in findweb
elif self.sensor.isdigit:
AttributeError: 'NoneType' object has no attribute 'isdigit'

I have tried the other format option (YYYY-MM-DDTHH:MM:SS), and I get the same error. Otherwise, if the time is wrongly provided, I get the expected error:
ERROR: Start time must be in YYYYDDDHHMMSS or YYYY-MM-DDTHH:MM:SS format and YYYY is between 1978 and 2030.

The ancillary data files are correctly requested when using searching by Input L1 file option. However I do not know if it is possible to use this option, when processing sentinel data.

Regards
Josep

Re: getanc error after updating to V2022.0

Posted: Wed Jan 19, 2022 10:45 am America/New_York
by OB SeaDAS - xuanyang02
Thanks for reporting the bug. We fixed it and it will be in the next tag.

However,

Code: Select all

getanc -c -s 2022012040000 -e 2022012200000
won't work, for the duration is longer than 2 hours.

Code: Select all

getanc -c -s 2022012040000 -e 2022012050000
should work with the next tag.

getanc should work with L1 file as input, but it's not working with sentinel files yet. We will work to make it happen.

Re: getanc error after updating to V2022.0

Posted: Wed Jan 19, 2022 11:36 am America/New_York
by jcoca
Hello

Thanks for the info!!!!
Joseph