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
Merge branch 'develop' into feature/bump-params
  • Loading branch information
guillaumevernieres committed Jan 11, 2023
commit e76f160e034d4ab60536c406fc65b2c181884ab5
14 changes: 7 additions & 7 deletions scripts/exgdas_global_marine_analysis_prep.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,13 +236,13 @@ def gen_bkg_list(bkg_path, out_path, window_begin=' ', file_type='gdas.t*.ocnf00
# 2d bump yaml (all 2d vars at once)
bumpdir = 'bump'
ufsda.disk_utils.mkdir(os.path.join(anl_dir, bumpdir))
bumpC_yaml = os.path.join(anl_dir, 'soca_bump_C_2d.yaml')
bumpC_yaml_template = os.path.join(gdas_home,
'parm',
'soca',
'berror',
'soca_bump_C_2d.yaml')
config = YAMLFile(path=bumpC_yaml_template)
bump_yaml = os.path.join(anl_dir, 'soca_bump2d.yaml')
bump_yaml_template = os.path.join(gdas_home,
'parm',
'soca',
'berror',
'soca_bump2d.yaml')
config = YAMLFile(path=bump_yaml_template)
config = Template.substitute_structure(config, TemplateConstants.DOUBLE_CURLY_BRACES, envconfig.get)
config = Template.substitute_structure(config, TemplateConstants.DOLLAR_PARENTHESES, envconfig.get)
config.save(bump_yaml)
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.