Please enter here to ask a question about any NASA Science related topics!
- Posts: 573
- Joined: Fri Jan 29, 2021 5:51 pm America/New_York
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.
OB SeaDAS - dshea
- Subject Matter Expert
- Posts: 203
- Joined: Thu Mar 05, 2009 10:25 am America/New_York
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 abscf_gas.nc file bug has already been fixed, so this will not be a problem in the next release.