I am trying to install SeaDAS 8.1.0 on Ubuntu 16.04 system. I am using python 3.6.2. I am getting the below error while installing the sensors through terminal:
./install_ocssw --install_dir ~/seadas_8.1/ocssw --tag V2021.1 --seadas --modisa --seawifs --modist
Installing (1 of 10) - bin_linux_64
Installing (2 of 10) - lib_linux_64
Installing (3 of 10) - opt_linux_64
Installing (4 of 10) - root
Installing (5 of 10) - common
Installing (6 of 10) - modis
Installing (7 of 10) - modisa
Installing (8 of 10) - modist
Installing (9 of 10) - ocrvc
Installing (10 of 10) - seawifs
Installing lut - modisa
Traceback (most recent call last):
File "/home/vamsi/seadas_8.1/ocssw/bin/update_luts", line 63, in <module>
File "/home/vamsi/seadas_8.1/ocssw/bin/seadasutils/LutUtils.py", line 132, in get_luts
File "/home/vamsi/seadas_8.1/ocssw/bin/seadasutils/JsonUtils.py", line 198, in download_allfiles
all_links = self.get_links(url, regex=regex)
File "/home/vamsi/seadas_8.1/ocssw/bin/seadasutils/JsonUtils.py", line 165, in get_links
with session.get(url, stream=True, timeout=self.timeout) as response:
Error: return = 1 : trying to run command = /home/vamsi/seadas_8.1/ocssw/bin/ocssw_runner --ocsswroot /home/vamsi/seadas_8.1/ocssw update_luts modisa
I have also tried to install the sensors via GUI but similar errors are showing.
Manual option for updating luts using "update_luts" command present in GUI also getting failed.
Kindly suggest any solution.
- Subject Matter Expert
- Posts: 131
- Joined: Tue Feb 09, 2021 5:42 pm America/New_York
This happens if you are using an old version of requests.
What version of requests do you have? You need Python requests package v2.18.0 or later.
Here is a similar post for your reference: viewtopic.php?f=7&t=2351&p=8332&hilit=A ... 9b83#p8332
As per your suggestion, I have installed latest version of 'requests' and the problem is solved.
After that I have ran BuildIt.py to build 3rd party libraries and it was successful.
Then I have created a Build folder in $OCSSWROOT/ocssw_src and ran cmake and it was also successful. But I am getting the below error while running 'make' command inside ocssw_src/build/src:
home/sandhani/seadas8.1/ocssw/ocssw_src/oel_hdf4/libl1/l1_viirs_nc.c:11:39: fatal error: Calibrate_Viirs_Connector.h: No such file or directory
oel_hdf4/libl1/CMakeFiles/l1.dir/build.make:753: recipe for target 'oel_hdf4/libl1/CMakeFiles/l1.dir/l1_viirs_nc.c.o' failed
make: *** [oel_hdf4/libl1/CMakeFiles/l1.dir/l1_viirs_nc.c.o] Error 1
CMakeFiles/Makefile2:2328: recipe for target 'oel_hdf4/libl1/CMakeFiles/l1.dir/all' failed
make: *** [oel_hdf4/libl1/CMakeFiles/l1.dir/all] Error 2
Makefile:145: recipe for target 'all' failed
make: *** [all] Error 2
I hope this error is due to link failure of viirs lib. Earlier in Seadas 7.5 version, we used to solve this issue by using viirs.ubuntu16.04.gcc5.v7.5.2.tar.gz package.
I have tried to use this same package for SeaDAS 8.1 to rectify this issue but its not working.
So, is there any similar viirs package is available for the SeaDAS latest version?
- Subject Matter Expert
- Posts: 214
- Joined: Thu Mar 05, 2009 10:25 am America/New_York
viewtopic.php?f=7&t=2524&p=8964&sid=113 ... 100b#p8964