SeaDAS - Error when running getanc.py
SeaDAS - Error when running getanc.py
This is probably something simple that I'm missing but I've been looking at it for a while and am not seeing it, so here goes...
When I run the following correct-looking commands
$ export OCSSWROOT=/marine-services/ocssw
$ source /marine-services/ocssw/OCSSW_bash.env
$ getanc.py --sst -s 2019213203000
I get the error:
Traceback (most recent call last):
File "/marine-services/ocssw/scripts/getanc.py", line 196, in <module>
sys.exit(main())
File "/marine-services/ocssw/scripts/getanc.py", line 189, in main
g.findweb()
File "/marine-services/ocssw/scripts/modules/anc_utils.py", line 439, in findweb
self.files[str(f[0]).lower()] = str(f[1])
IndexError: string index out of range
Any hints you folks have would be appreciated!
Thank you,
-Andrew L.
When I run the following correct-looking commands
$ export OCSSWROOT=/marine-services/ocssw
$ source /marine-services/ocssw/OCSSW_bash.env
$ getanc.py --sst -s 2019213203000
I get the error:
Traceback (most recent call last):
File "/marine-services/ocssw/scripts/getanc.py", line 196, in <module>
sys.exit(main())
File "/marine-services/ocssw/scripts/getanc.py", line 189, in main
g.findweb()
File "/marine-services/ocssw/scripts/modules/anc_utils.py", line 439, in findweb
self.files[str(f[0]).lower()] = str(f[1])
IndexError: string index out of range
Any hints you folks have would be appreciated!
Thank you,
-Andrew L.
Filters:
-
- Subject Matter Expert
- Posts: 711
- Joined: Tue Feb 09, 2021 5:42 pm America/New_York
- Been thanked: 9 times
Re: SeaDAS - Error when running getanc.py
getanc.py needs both start and stop time. Try this --
BTW, what tag of OCSSW are you using? The latest operational tag is V2022.0, you might want to try it with SeaDAS 8.2.0
Code: Select all
getanc.py --sst -s 2019213203000 -e 2019213203500
Re: SeaDAS - Error when running getanc.py
That worked, thank you!
How/where do I find out the operational tag? What we currently have was obtained at 2019-08-23 14:45:31 UTC by running
install_ocssw.py --install-dir=/tmp/ocssw-fetch/ocssw/ -b v7.5 --aqua --terra --viirsn --viirsj1
so there's a very good chance there have been improvements since then. On the other hand what we have works pretty reliably so I'm hesitant to mess with it.
Thanks again,
Andrew L.
How/where do I find out the operational tag? What we currently have was obtained at 2019-08-23 14:45:31 UTC by running
install_ocssw.py --install-dir=/tmp/ocssw-fetch/ocssw/ -b v7.5 --aqua --terra --viirsn --viirsj1
so there's a very good chance there have been improvements since then. On the other hand what we have works pretty reliably so I'm hesitant to mess with it.
Thanks again,
Andrew L.
-
- Subject Matter Expert
- Posts: 711
- Joined: Tue Feb 09, 2021 5:42 pm America/New_York
- Been thanked: 9 times
Re: SeaDAS - Error when running getanc.py
You are welcome!
should show us your OCSSW tag. It's probably V2019.3
should show you the available OCSSW tags, but the latest tag probably would not work with SeaDAS-7.5.
Check out SeaDAS_8.2.0 -- https://seadas.gsfc.nasa.gov/downloads/. You can install SeaDAS-8.2.0 in a different directory while keep SeaDAS-7.5 in it's current directory
Code: Select all
l2gen version
Code: Select all
install_ocssw.py --list_tags
Check out SeaDAS_8.2.0 -- https://seadas.gsfc.nasa.gov/downloads/. You can install SeaDAS-8.2.0 in a different directory while keep SeaDAS-7.5 in it's current directory