command line OCSSW advice

Please enter here to ask a question about any NASA Science related topics!
gnwiii
Posts: 605
Joined: Fri Jan 29, 2021 5:51 pm America/New_York
Answers: 1

command line OCSSW advice

by gnwiii » Mon Apr 06, 2020 7:20 pm America/New_York

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.

Tags:

avmehta
Posts: 148
Joined: Mon Feb 03, 2020 10:27 am America/New_York

command line OCSSW advice

by avmehta » Mon Apr 06, 2020 8:43 pm America/New_York

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

Post Reply