Page 1 of 1

Trouble running update_luts and getanc from IDL

Posted: Mon Jun 18, 2018 11:03 am America/New_York
by khyde
Hello,

I recently installed SeaDAS7.5, including the seadas_processing for aqua, and am able to run update_luts and getanc from the command line, but when I try to run the same commands from within IDL (using SPAWN), I get errors because it is looking for files in directories that no longer exist.

For example, when I run: SPAWN, '/usr/local/seadas/ocssw/scripts/update_luts.py -v aqua', log, err
The log returns: [Errno 2] No such file or directory: '/usr/local/seadas/ocssw/run/data/common/SensorInfo.txt'

Similarly, if I try: SPAWN, '/seadas/ocssw/scripts/getanc.py --refreshDB -v A2018136150000.L1A_LAC', log, err
The log returns: ERROR: The OCDATAROOT /usr/local/seadas/ocssw/run/data directory does not exist.  Please make sure you have downloaded and installed the SeaDAS processing data support file (seadas_processing.tar.gz).

I'm guessing that the "run" directory was part of version 7.4 and does not exist in 7.5, but what I don't understand is why the above commands are using some sort of legacy versions of update_luts and getanc from 7.4, even after 7.4 was deleted.  Are there any other files other than those in the original install directory that I also need to delete?

Thanks for your help,
Kim

Trouble running update_luts and getanc from IDL

Posted: Mon Jun 18, 2018 11:44 am America/New_York
by OB SeaDAS - dshea
It looks like IDL is somehow initializing OCDATAROOT to /usr/local/seadas/ocssw/run/data which is the old pre 7.5 data structure.  Check your IDL_STARTUP file.

don