seadas installation problem
Posted: Wed Jun 02, 2021 5:32 pm America/New_York
I am having issues installing OCSSW / seadas.
Any suggestions as to what I could be doing wrong?
This is how I am doing it(I also have a .netrc file setup like suggested). :
[processing@nrt-seadas-prod-0001 ocssw]$ wget https://oceandata.sci.gsfc.nasa.gov/man ... tall_ocssw
--2021-06-02 21:21:39-- https://oceandata.sci.gsfc.nasa.gov/man ... tall_ocssw
Resolving oceandata.sci.gsfc.nasa.gov (oceandata.sci.gsfc.nasa.gov)... 169.154.128.84, 2001:4d0:2418:128::84
Connecting to oceandata.sci.gsfc.nasa.gov (oceandata.sci.gsfc.nasa.gov)|169.154.128.84|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 22276 (22K) [application/octet-stream]
Saving to: ‘install_ocssw’
100%[====================================================================================================================================================================>] 22,276 --.-K/s in 0.1s
2021-06-02 21:21:39 (215 KB/s) - ‘install_ocssw’ saved [22276/22276]
[processing@nrt-seadas-prod-0001 ocssw]$ wget https://oceandata.sci.gsfc.nasa.gov/man ... anifest.py
--2021-06-02 21:21:47-- https://oceandata.sci.gsfc.nasa.gov/man ... anifest.py
Resolving oceandata.sci.gsfc.nasa.gov (oceandata.sci.gsfc.nasa.gov)... 169.154.128.84, 2001:4d0:2418:128::84
Connecting to oceandata.sci.gsfc.nasa.gov (oceandata.sci.gsfc.nasa.gov)|169.154.128.84|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 27787 (27K) [application/octet-stream]
Saving to: ‘manifest.py’
100%[====================================================================================================================================================================>] 27,787 --.-K/s in 0.1s
2021-06-02 21:21:47 (229 KB/s) - ‘manifest.py’ saved [27787/27787]
[processing@nrt-seadas-prod-0001 ocssw]$ chmod +x ./install_ocssw
[processing@nrt-seadas-prod-0001 ocssw]$ ./install_ocssw --install_dir /opt/modis/ocssw/ --tag V2020.2 --seadas --modisa --modist
Installing (1 of 9) - bin_linux_64
Installing (2 of 9) - lib_linux_64
Installing (3 of 9) - opt_linux_64
Installing (4 of 9) - root
Installing (5 of 9) - common
Installing (6 of 9) - modis
Installing (7 of 9) - modisa
Installing (8 of 9) - modist
Installing (9 of 9) - ocrvc
Installing lut - modisa
Traceback (most recent call last):
File "/opt/modis/ocssw//bin/update_luts", line 63, in <module>
luts.get_luts()
File "/opt/modis/ocssw/bin/seadasutils/LutUtils.py", line 132, in get_luts
check_times=True)
File "/opt/modis/ocssw/bin/seadasutils/JsonUtils.py", line 198, in download_allfiles
all_links = self.get_links(url, regex=regex)
File "/opt/modis/ocssw/bin/seadasutils/JsonUtils.py", line 165, in get_links
with session.get(url, stream=True, timeout=self.timeout) as response:
AttributeError: __enter__
Error: return = 1 : trying to run command = /opt/modis/ocssw//bin/ocssw_runner --ocsswroot /opt/modis/ocssw/ update_luts modisa
Any suggestions as to what I could be doing wrong?
This is how I am doing it(I also have a .netrc file setup like suggested). :
[processing@nrt-seadas-prod-0001 ocssw]$ wget https://oceandata.sci.gsfc.nasa.gov/man ... tall_ocssw
--2021-06-02 21:21:39-- https://oceandata.sci.gsfc.nasa.gov/man ... tall_ocssw
Resolving oceandata.sci.gsfc.nasa.gov (oceandata.sci.gsfc.nasa.gov)... 169.154.128.84, 2001:4d0:2418:128::84
Connecting to oceandata.sci.gsfc.nasa.gov (oceandata.sci.gsfc.nasa.gov)|169.154.128.84|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 22276 (22K) [application/octet-stream]
Saving to: ‘install_ocssw’
100%[====================================================================================================================================================================>] 22,276 --.-K/s in 0.1s
2021-06-02 21:21:39 (215 KB/s) - ‘install_ocssw’ saved [22276/22276]
[processing@nrt-seadas-prod-0001 ocssw]$ wget https://oceandata.sci.gsfc.nasa.gov/man ... anifest.py
--2021-06-02 21:21:47-- https://oceandata.sci.gsfc.nasa.gov/man ... anifest.py
Resolving oceandata.sci.gsfc.nasa.gov (oceandata.sci.gsfc.nasa.gov)... 169.154.128.84, 2001:4d0:2418:128::84
Connecting to oceandata.sci.gsfc.nasa.gov (oceandata.sci.gsfc.nasa.gov)|169.154.128.84|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 27787 (27K) [application/octet-stream]
Saving to: ‘manifest.py’
100%[====================================================================================================================================================================>] 27,787 --.-K/s in 0.1s
2021-06-02 21:21:47 (229 KB/s) - ‘manifest.py’ saved [27787/27787]
[processing@nrt-seadas-prod-0001 ocssw]$ chmod +x ./install_ocssw
[processing@nrt-seadas-prod-0001 ocssw]$ ./install_ocssw --install_dir /opt/modis/ocssw/ --tag V2020.2 --seadas --modisa --modist
Installing (1 of 9) - bin_linux_64
Installing (2 of 9) - lib_linux_64
Installing (3 of 9) - opt_linux_64
Installing (4 of 9) - root
Installing (5 of 9) - common
Installing (6 of 9) - modis
Installing (7 of 9) - modisa
Installing (8 of 9) - modist
Installing (9 of 9) - ocrvc
Installing lut - modisa
Traceback (most recent call last):
File "/opt/modis/ocssw//bin/update_luts", line 63, in <module>
luts.get_luts()
File "/opt/modis/ocssw/bin/seadasutils/LutUtils.py", line 132, in get_luts
check_times=True)
File "/opt/modis/ocssw/bin/seadasutils/JsonUtils.py", line 198, in download_allfiles
all_links = self.get_links(url, regex=regex)
File "/opt/modis/ocssw/bin/seadasutils/JsonUtils.py", line 165, in get_links
with session.get(url, stream=True, timeout=self.timeout) as response:
AttributeError: __enter__
Error: return = 1 : trying to run command = /opt/modis/ocssw//bin/ocssw_runner --ocsswroot /opt/modis/ocssw/ update_luts modisa