Problems Compiling OCSSW osx
-
- Posts: 27
- Joined: Wed Jun 06, 2012 6:55 pm America/New_York
Problems Compiling OCSSW osx
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!
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!
Filters:
-
- Posts: 1519
- Joined: Wed Sep 18, 2019 6:15 pm America/New_York
- Been thanked: 9 times
Problems Compiling OCSSW osx
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).
Or you can create an alias and call it when you want to run in a terminal:
(in ~/.bash_aliases)
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
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
-
- Posts: 27
- Joined: Wed Jun 06, 2012 6:55 pm America/New_York
Problems Compiling OCSSW osx
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?
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?
-
- Posts: 1519
- Joined: Wed Sep 18, 2019 6:15 pm America/New_York
- Been thanked: 9 times
Problems Compiling OCSSW osx
It'll process serially - so you'll want to set up separate runs for each period.