I am running some scripts I've written to batch-process data with SeaDAS. These scripts work on my laptop (where I downloaded OCSSW via the SeaDAS GUI), and I am now attempting to run them on a server. I installed OCSSW on the server with the installer and manifest scripts with the following command (I would like to process MERIS and OLCI3a,b data):
./install_ocssw --install_dir=/pardees/f004/msbrown3/bin/seadas8/ocssw --tag V2021.2 --seadas --meris --olcis3a --olcis3b
When I run my processing code on the server (which calls l2bin), I get the following error:
-E- /home/seadas/focs/oel_util/libtimeutils/leapsecond.c:32 - leap second file (/pardees/f004/msbrown3/bin/seadas8/ocssw/var/common/tai-utc.dat) not found.
Inspection of the server OCSSW folder indicates that I do not have the OCSSW/var folder. Please just let me know how I should fix this. Thank you!
you found an inconsistency in the order of operations. The var tree is created by update_luts, but update_luts ins't called unless one of the sensors that has need of it is selected. You can cheat. Run "update_luts seawifs". The SeaWiFS LUTs under var are small and it should go quickly.
We'll be rectifying this oversight with a future release.
I ran the "update_luts seawifs" command but received the following error (additionally, there is now a OCSSW/var/common folder, but it is empty):
Traceback (most recent call last):
File "/pardees/f004/msbrown3/bin/seadas8/ocssw/bin/update_luts", line 63, in <module>
File "/pardees/f004/msbrown3/bin/seadas8/ocssw/bin/seadasutils/LutUtils.py", line 132, in get_luts
File "/pardees/f004/msbrown3/bin/seadas8/ocssw/bin/seadasutils/JsonUtils.py", line 198, in download_allfiles
all_links = self.get_links(url, regex=regex)
File "/pardees/f004/msbrown3/bin/seadas8/ocssw/bin/seadasutils/JsonUtils.py", line 165, in get_links
with session.get(url, stream=True, timeout=self.timeout) as response:
Please just let me know how to proceed. I'm happy to remove and reinstall if necessary.