seadas update luts problem
seadas update luts problem
Starting this morning I am having issues with update_luts failing:
[processing@nrt-seadas-prod-0001 ~]$ update_luts --version
update_luts 2.0
[processing@nrt-seadas-prod-0001 ~]$ update_luts -vd aqua
Downloading files into /opt/modis/ocssw/var/common
DEBUG:Converted retries value: 5 -> Retry(total=5, connect=None, read=None, redirect=None, status=None)
OBPG session started
DEBUG:Starting new HTTPS connection (1): oceandata.sci.gsfc.nasa.gov:443
DEBUG:https://oceandata.sci.gsfc.nasa.gov:443 "GET /Ancillary/LUTs/common/?format=json HTTP/1.1" 200 359
DEBUG:https://oceandata.sci.gsfc.nasa.gov:443 "GET /Ancillary/LUTs/common/polar_wander.ascii HTTP/1.1" 304 0
Error downloading /opt/modis/ocssw/var/common/polar_wander.ascii
+ polar_wander.ascii
The url looks fine:
[processing@nrt-seadas-prod-0001 ~]$ curl -s https://oceandata.sci.gsfc.nasa.gov/Anc ... nder.ascii | head --lines=2
92 1 1 48622.00 I 0.182987 0.000672 0.168775 0.000345 I-0.1251659 0.0000207 1.8335 0.0201 I -0.086 0.202 0.130 0.165 .182400 .167900 -.1253000 0.129 -0.653
92 1 2 48623.00 I 0.180614 0.000672 0.166776 0.000345 I-0.1269551 0.0000203 1.7556 0.0144 I -0.027 0.202 0.128 0.165 .180300 .165900 -.1270800 0.155 -0.575
[processing@nrt-seadas-prod-0001 ~]$ update_luts --version
update_luts 2.0
[processing@nrt-seadas-prod-0001 ~]$ update_luts -vd aqua
Downloading files into /opt/modis/ocssw/var/common
DEBUG:Converted retries value: 5 -> Retry(total=5, connect=None, read=None, redirect=None, status=None)
OBPG session started
DEBUG:Starting new HTTPS connection (1): oceandata.sci.gsfc.nasa.gov:443
DEBUG:https://oceandata.sci.gsfc.nasa.gov:443 "GET /Ancillary/LUTs/common/?format=json HTTP/1.1" 200 359
DEBUG:https://oceandata.sci.gsfc.nasa.gov:443 "GET /Ancillary/LUTs/common/polar_wander.ascii HTTP/1.1" 304 0
Error downloading /opt/modis/ocssw/var/common/polar_wander.ascii
+ polar_wander.ascii
The url looks fine:
[processing@nrt-seadas-prod-0001 ~]$ curl -s https://oceandata.sci.gsfc.nasa.gov/Anc ... nder.ascii | head --lines=2
92 1 1 48622.00 I 0.182987 0.000672 0.168775 0.000345 I-0.1251659 0.0000207 1.8335 0.0201 I -0.086 0.202 0.130 0.165 .182400 .167900 -.1253000 0.129 -0.653
92 1 2 48623.00 I 0.180614 0.000672 0.166776 0.000345 I-0.1269551 0.0000203 1.7556 0.0144 I -0.027 0.202 0.128 0.165 .180300 .165900 -.1270800 0.155 -0.575
-
- Posts: 396
- Joined: Mon Jun 22, 2020 5:24 pm America/New_York
- Has thanked: 8 times
- Been thanked: 8 times
Re: seadas update luts problem
Should be fixed. Please try and let us know if you have continued issues.
Re: seadas update luts problem
I am getting the same behavior.
[processing@nrt-seadas-prod-0001 ~]$ update_luts -vd terra
Downloading files into /opt/modis/ocssw/var/common
DEBUG:Converted retries value: 5 -> Retry(total=5, connect=None, read=None, redirect=None, status=None)
OBPG session started
DEBUG:Starting new HTTPS connection (1): oceandata.sci.gsfc.nasa.gov:443
DEBUG:https://oceandata.sci.gsfc.nasa.gov:443 "GET /Ancillary/LUTs/common/?format=json HTTP/1.1" 200 359
DEBUG:https://oceandata.sci.gsfc.nasa.gov:443 "GET /Ancillary/LUTs/common/polar_wander.ascii HTTP/1.1" 304 0
Error downloading /opt/modis/ocssw/var/common/polar_wander.ascii
+ polar_wander.ascii
[processing@nrt-seadas-prod-0001 ~]$ update_luts -vd terra
Downloading files into /opt/modis/ocssw/var/common
DEBUG:Converted retries value: 5 -> Retry(total=5, connect=None, read=None, redirect=None, status=None)
OBPG session started
DEBUG:Starting new HTTPS connection (1): oceandata.sci.gsfc.nasa.gov:443
DEBUG:https://oceandata.sci.gsfc.nasa.gov:443 "GET /Ancillary/LUTs/common/?format=json HTTP/1.1" 200 359
DEBUG:https://oceandata.sci.gsfc.nasa.gov:443 "GET /Ancillary/LUTs/common/polar_wander.ascii HTTP/1.1" 304 0
Error downloading /opt/modis/ocssw/var/common/polar_wander.ascii
+ polar_wander.ascii
-
- Posts: 1519
- Joined: Wed Sep 18, 2019 6:15 pm America/New_York
- Been thanked: 9 times
Re: seadas update luts problem
Jay,
This is a fun one...if you run update_luts with -vv you should see that the error is a status 304, which isn't really an error (server is just telling the client that the resource hasn't changed). While not an error, it seems to be tripping up the error catching in the script.
If you delete $OCVARROOT/common/polar_wander.ascii and rerun update_luts it should work.
We'll fix the code (since the change to the server that resulted in this condition is likely to stick around for a while).
Sean
This is a fun one...if you run update_luts with -vv you should see that the error is a status 304, which isn't really an error (server is just telling the client that the resource hasn't changed). While not an error, it seems to be tripping up the error catching in the script.
If you delete $OCVARROOT/common/polar_wander.ascii and rerun update_luts it should work.
We'll fix the code (since the change to the server that resulted in this condition is likely to stick around for a while).
Sean