Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More user defined experiment parameters for the marine DA #270

Merged
merged 12 commits into from
Jan 17, 2023
Prev Previous commit
Next Next commit
wip
  • Loading branch information
guillaumevernieres committed Jan 16, 2023
commit 51bd77f9e3cd916a5f7455b3c31cff160b419674
3 changes: 3 additions & 0 deletions test/soca/gw/jjob_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ srcdir=$2
# export env. var.
source "${srcdir}/test/soca/gw/runtime_vars.sh" "${bindir}" "${srcdir}"

# detemine machine from config.base
machine=$(echo `grep 'machine=' $EXPDIR/config.base | cut -d"=" -f2` | tr -d '"')

# run DA jjob
if [[ ${machine} == 'CONTAINER' ]]; then
"${HOMEgfs}/jobs/JGDAS_GLOBAL_OCEAN_ANALYSIS_RUN"
Expand Down
2 changes: 1 addition & 1 deletion test/soca/gw/setup_workflow_exp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ cp -r "${configdir}" config
cp "${srcdir}/test/soca/gw/config.yaml" .
soca_input_fix_dir="${bindir}/soca_static"
comin_obs="${bindir}/test/soca/obs/r2d2-shared"
soca_obs_list="${bindir}/parm/soca/obs/obs_list.yaml"
soca_obs_list="${srcdir}/parm/soca/obs/obs_list.yaml"
sed -i -e "s~@SOCA_INPUT_FIX_DIR@~${soca_input_fix_dir}~g" config.yaml
sed -i -e "s~@COMIN_OBS@~${comin_obs}~g" config.yaml
sed -i -e "s~@SOCA_OBS_LIST@~${soca_obs_list}~g" config.yaml
Expand Down