modis_atteph.py usage
Posted: Fri Jul 01, 2022 9:51 pm America/New_York
Hello,
I am trying to understand how modis_atteph.py works. I have an example below. When I enter a date/time close to the current time, it gives such an error. Is there a URL or a manual that explain the algorithm or at the very least the exit codes? Especially when the increase in latency causes problem with the processing.
spike.seadas[1042]% date -u ; date -u +%j
Sat Jul 2 01:44:13 UTC 2022
183
spike.seadas[1043]% /usr/local/seadas/7.5/scripts/modis_atteph.py -f -m terra -s 2022182160500 -e 2022182161000; echo $?
att1=/home/seadas/MODIS/ancillary/2022/182/AM1ATTN0.A2022182.1600.002
eph1=/home/seadas/MODIS/ancillary/2022/182/AM1EPHN0.A2022182.1600.002
0
spike.seadas[1044]% /usr/local/seadas/7.5/scripts/modis_atteph.py -f -m terra -s 2022183000000 -e 2022183050000; echo $?
Traceback (most recent call last):
File "/usr/local/seadas/7.5/scripts/modis_atteph.py", line 125, in <module>
m.findweb()
File "/usr/local/seadas/7.5/scripts/modules/anc_utils.py", line 439, in findweb
self.files[str(f[0]).lower()] = str(f[1])
IndexError: string index out of range
1
I am trying to understand how modis_atteph.py works. I have an example below. When I enter a date/time close to the current time, it gives such an error. Is there a URL or a manual that explain the algorithm or at the very least the exit codes? Especially when the increase in latency causes problem with the processing.
spike.seadas[1042]% date -u ; date -u +%j
Sat Jul 2 01:44:13 UTC 2022
183
spike.seadas[1043]% /usr/local/seadas/7.5/scripts/modis_atteph.py -f -m terra -s 2022182160500 -e 2022182161000; echo $?
att1=/home/seadas/MODIS/ancillary/2022/182/AM1ATTN0.A2022182.1600.002
eph1=/home/seadas/MODIS/ancillary/2022/182/AM1EPHN0.A2022182.1600.002
0
spike.seadas[1044]% /usr/local/seadas/7.5/scripts/modis_atteph.py -f -m terra -s 2022183000000 -e 2022183050000; echo $?
Traceback (most recent call last):
File "/usr/local/seadas/7.5/scripts/modis_atteph.py", line 125, in <module>
m.findweb()
File "/usr/local/seadas/7.5/scripts/modules/anc_utils.py", line 439, in findweb
self.files[str(f[0]).lower()] = str(f[1])
IndexError: string index out of range
1