Page 3 of 3

command line OCSSW advice

Posted: Mon Apr 06, 2020 7:20 pm America/New_York
by gnwiii
Most users do not need to set OCDATAROOT explicitly.  If you were using the bash shell, you could just edit ~/.bashrc to append the lines:

export OCSSWROOT=$HOME/ocssw
. $OCSSWROOT/OCSSW_bash.env


at the end of the file and restart your terminal (or just run ".  ~/.bashrc").    Since you are using tcsh, you have to resort to drastic measures.  You can use bash when you work with the OCSSW tools (you may find it helpful to create a separate user for your OCSSW processing with bash as the default shell), translate OCSSW_bash.env  to an OCSSW_tcsh.env, or translate to OCSSW_bash.env to an "environment module".  

The line:
-E- /home/seadas/ocssw/src/l2gen/msl12_input.c: Error reading program options. refers to the compile  time location of the source file, presumably on some system at NASA.

command line OCSSW advice

Posted: Mon Apr 06, 2020 8:43 pm America/New_York
by avmehta
Thanks so much for your reply. I tried running l2gen in bash and it seems to be working! At  least I did not get the error - and the program is going through
execution steps!
Thanks again.
Amita