Commit bf6bd20b authored by RKGarcia's avatar RKGarcia
Browse files

Use flag "2" for RU-without-radiances

Also switch to using str2num in ru_main command line interface instead of ignoring parameter
parent 73326d90
Pipeline #36651 passed with stage
in 7 minutes and 24 seconds
......@@ -7,7 +7,7 @@ usagexit() {
abspath() {
python -c 'import sys,os; print("\n".join([os.path.abspath(x) for x in sys.argv[1:]]))' "$@"
python -c 'import sys,os; print("\n".join([os.path.abspath(x) for x in sys.argv[1:]]))' "$@"
test -d "$RU_HOME" || echo >&2 "${Oops:?RU_HOME is not set}"
......@@ -24,4 +24,4 @@ test -d "$OUTPUT_FILE" || echo >&2 "${Oops:?please specify an output directory}"
# always limit the blast radius of LD_LIBRARY_PATH to as small a space as possible
export LD_LIBRARY_PATH="$MCRROOT/runtime/glnxa64:$MCRROOT/bin/glnxa64:$MCRROOT/sys/os/glnxa64"
......@@ -2,5 +2,5 @@ function RU = ru_main(sat_name,l1b_fname,saveTotalRU_FLAG,pname_out);
% addpath and userpath will both BREAK compiled code. so this is forbidden:
% userpath(getenv('RU_HOME'));
% however, we need a way for RU instrument ref data files to load from $RU_HOME by default
RU = cris_gran_RU_ncparam(sat_name,l1b_fname,1,pname_out);
RU = cris_gran_RU_ncparam(sat_name,l1b_fname,str2num(saveTotalRU_FLAG),pname_out);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment