Welcome to the Earthdata Forum! Here, the scientific user community and subject matter experts from NASA Distributed Active Archive Centers (DAACs), and other contributors, discuss research needs, data, and data applications.
by gnwiii » Fri Sep 11, 2020 12:02 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.
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.