Trouble running update_luts and getanc from IDL

Use this Forum to find information on, or ask a question about, NASA Earth Science data.
Post Reply
khyde
Posts: 39
Joined: Mon Dec 04, 2006 11:01 am America/New_York
Answers: 0

Trouble running update_luts and getanc from IDL

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

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

Filters:

OB SeaDAS - dshea
Subject Matter Expert
Subject Matter Expert
Posts: 271
Joined: Thu Mar 05, 2009 10:25 am America/New_York
Answers: 0
Been thanked: 2 times

Trouble running update_luts and getanc from IDL

by OB SeaDAS - dshea » Mon Jun 18, 2018 11:44 am America/New_York

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

Post Reply