Page 2 of 2

HICO L-2 Processing

Posted: Fri Sep 11, 2020 12:02 pm America/New_York
by gnwiii
I think the "current working directory" for users who run l2gen (and other processing programs) from the GUI is a bit of a mystery.  I don't know if there is a simple rule for all use cases, but one way to be sure is to edit the ocssw_runner script to write the $PWD value to a file in the user's home directory.   I'd try that myself, but most of my processing is done on the command line.

HICO L-2 Processing

Posted: Fri Sep 11, 2020 12:14 pm America/New_York
by OB SeaDAS - dshea
As I recall the working dir that the GUI uses is the directory that the ifile is in.  I believe that was an attempt to keep me sane when SeaDAS was launched by the Finder on a Mac or some linux desktop launcher. I would have to go back and check the Java code that I wrote many years ago to be sure.

running l2gen from the command line is your best bet.  Then you know what the working directory is.

The file bug has already been fixed, so this will not be a problem in the next release.