getanc error after updating to V2022.0
getanc error after updating to V2022.0
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
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
Filters:
-
- Subject Matter Expert
- Posts: 711
- Joined: Tue Feb 09, 2021 5:42 pm America/New_York
- Been thanked: 9 times
Re: getanc error after updating to V2022.0
Thanks for reporting the bug. We fixed it and it will be in the next tag.
However, won't work, for the duration is longer than 2 hours.
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.
However,
Code: Select all
getanc -c -s 2022012040000 -e 2022012200000
Code: Select all
getanc -c -s 2022012040000 -e 2022012050000
getanc should work with L1 file as input, but it's not working with sentinel files yet. We will work to make it happen.