Problems Compiling OCSSW osx

Please enter here to ask a question about any NASA Science related topics!
r.fernandes
Posts: 27
Joined: Wed Jun 06, 2012 6:55 pm America/New_York

Problems Compiling OCSSW osx

by r.fernandes » Fri Feb 02, 2018 3:30 pm America/New_York

Hi Sean,

I understood that i needed to do it in order to be able to batch process images from the terminal. How can i do it ?

Thank you!

Tags:

OB.DAAC - SeanBailey
User Services
User Services
Posts: 1257
Joined: Wed Sep 18, 2019 6:15 pm America/New_York
Answers: 1

Problems Compiling OCSSW osx

by OB.DAAC - SeanBailey » Fri Feb 02, 2018 5:41 pm America/New_York

No,  the only reason to need to rebuild from source is if the binaries we distribute do not run on your machine, or you wish to make modifications to the code.
When you installed the processors, they should have been placed in your SeaDAS install directory under an "ocssw" subdirectory.

If you add the following (with appropriately modified paths) in your .bashrc file, you can run the binaries from the command line (or in batch using a script).
    export OCSSWROOT=<seadas-install-dir>/ocssw
    source $OCSSWROOT/OCSSW_bash.env

Or you can create an alias and call it when you want to run in a terminal:
(in ~/.bash_aliases)
function init_ocssw() # alias to setup OCSSW environment
{
    export OCSSWROOT=<seadas-install-dir>/ocssw
    source $OCSSWROOT/OCSSW_bash.env
}


You may not need to roll your own batch processing script, as we distribute one with SeaDAS (multilevel_processor.py) . There's also a GUI interface to it.

Sean

r.fernandes
Posts: 27
Joined: Wed Jun 06, 2012 6:55 pm America/New_York

Problems Compiling OCSSW osx

by r.fernandes » Sat Feb 03, 2018 9:53 am America/New_York

Hello Sean,
Thank you so much for the help. So using the multilevel_processor.py would i be able to process several 8-day averages at the same time or do i need to run one 8-day at a time?

OB.DAAC - SeanBailey
User Services
User Services
Posts: 1257
Joined: Wed Sep 18, 2019 6:15 pm America/New_York
Answers: 1

Problems Compiling OCSSW osx

by OB.DAAC - SeanBailey » Mon Feb 05, 2018 7:54 am America/New_York

It'll process serially - so you'll want to set up separate runs for each period.

Post Reply