command line OCSSW advice

Use this Forum to find information on, or ask a question about, NASA Earth Science data.
Posts: 713
Joined: Fri Jan 29, 2021 5:51 pm America/New_York
Answers: 2
Has thanked: 1 time

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

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.


Posts: 184
Joined: Mon Feb 03, 2020 10:27 am America/New_York
Answers: 0
Been thanked: 1 time

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.

Post Reply