-
Notifications
You must be signed in to change notification settings - Fork 50
Companion for GW refactoring of marine ensemble recentering #1803
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
Merged
Merged
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
fe943c3
Initial commit
DavidNew-NOAA 2c66b5a
Initial-ish commit
DavidNew-NOAA 531f066
Merge branch 'develop' into feature/marine-refactor
DavidNew-NOAA 5200c1e
Update jcb-gdas hash
DavidNew-NOAA 2ef5c6e
Merge branch 'develop' into feature/marine-refactor
DavidNew-NOAA 1df4fec
Update gdas hash
DavidNew-NOAA 1665f16
Merge branch 'develop' into feature/marine-refactor
DavidNew-NOAA 13b20fc
Debugging
DavidNew-NOAA d13072e
Merge branch 'develop' into feature/marine-refactor
DavidNew-NOAA a24efa1
Update finalize FileHandler tempates
DavidNew-NOAA c2358ed
Merge branch 'develop' into feature/marine-refactor
DavidNew-NOAA c987254
Send files to COM ICE, not COM OCEAN
DavidNew-NOAA cc21c43
Update
DavidNew-NOAA 62e3b84
Merge branch 'develop' into feature/marine-refactor
DavidNew-NOAA d479206
Debugging
DavidNew-NOAA eebe043
Update jcb-gdas hash
DavidNew-NOAA 35c7170
Merge branch 'develop' into feature/marine-refactor
DavidNew-NOAA 24e4e31
Update soca_ecen_jedi_config.yaml.j2
DavidNew-NOAA 55365d3
Merge branch 'develop' into feature/marine-refactor
DavidNew-NOAA bf3075c
Update task name in gw-ci
DavidNew-NOAA 1092971
Wrong app run command
DavidNew-NOAA 1cc8b43
Update jcb-gdas hash
DavidNew-NOAA a4584af
Merge branch 'develop' into feature/marine-refactor
DavidNew-NOAA 8a0fae5
Merge branch 'develop' into feature/marine-refactor
DavidNew-NOAA File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Submodule jcb-gdas
updated
17 files
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,37 @@ | ||
| copy: | ||
| # soca grid | ||
| - ['{{ DATA }}/soca_gridspec.nc', '{{ COMOUT_OCEAN_BMATRIX }}'] | ||
| # Copy the diffusion coefficient files to the ROTDIR | ||
| {% for diff_type in ['hz', 'vt'] %} | ||
| - ['{{ DATAstaticb }}/{{ diff_type }}_ocean.nc', '{{ COMOUT_OCEAN_BMATRIX }}/{{ APREFIX }}{{ diff_type }}_ocean.nc'] | ||
| {% endfor %} | ||
| # diag B | ||
| - ['{{ DATAstaticb }}/ocn.bkgerr_stddev.nc', '{{ COMOUT_OCEAN_BMATRIX }}/{{ APREFIX }}ocean.bkgerr_ens_stddev.nc'] | ||
| - ['{{ DATAstaticb }}/ice.bkgerr_stddev.nc', '{{ COMOUT_ICE_BMATRIX }}/{{ APREFIX }}ice.bkgerr_ens_stddev.nc'] | ||
| {% if DOHYBVAR_OCN == "YES" or NMEM_ENS >= 2 %} | ||
| - ['{{ DATAstaticb }}/ocn.ssh_recentering_error.incr.{{ MARINE_WINDOW_BEGIN_ISO }}.nc', '{{ COMOUT_OCEAN_BMATRIX }}/{{ APREFIX }}ocean.recentering_error.nc'] | ||
| - ['{{ DATAstaticb }}/ice.ssh_recentering_error.incr.{{ MARINE_WINDOW_BEGIN_ISO }}.nc', '{{ COMOUT_ICE_BMATRIX }}/{{ APREFIX }}ice.recentering_error.nc'] | ||
| {% endif %} | ||
| # ensemble perturbation diagnostics | ||
| {% if DOHYBVAR_OCN == "YES" or NMEM_ENS >= 2 %} | ||
| - ['{{ DATA }}/ocn.ens_weights.incr.{{ MARINE_WINDOW_MIDDLE_ISO }}.nc', '{{ COMOUT_OCEAN_BMATRIX }}/{{ APREFIX }}ocean.ens_weights.nc'] | ||
| - ['{{ DATA }}/ice.ens_weights.incr.{{ MARINE_WINDOW_MIDDLE_ISO }}.nc', '{{ COMOUT_ICE_BMATRIX }}/{{ APREFIX }}ice.ens_weights.nc'] | ||
| # ssh diagnostics | ||
| {% for string in ['ssh_steric_stddev', 'ssh_unbal_stddev', 'ssh_total_stddev', 'steric_explained_variance'] %} | ||
| - ['{{ DATA }}/staticb/ocn.{{ string }}.incr.{{ MARINE_WINDOW_BEGIN_ISO }}.nc', '{{ COMOUT_OCEAN_BMATRIX }}/{{ APREFIX }}ocean.{{ string }}.nc'] | ||
| {% endfor %} | ||
| {% endif %} | ||
| # yaml files | ||
| - ['{{ DATA }}/fields_metadata.yaml', '{{ COMOUT_CONF }}/{{ APREFIX }}bmat_fields_metadata.yaml'] | ||
| - ['{{ DATA }}/gridgen.yaml', '{{ COMOUT_CONF }}/{{ APREFIX }}gridgen.yaml'] | ||
| - ['{{ DATA }}/obsop_name_map.yaml', '{{ COMOUT_CONF }}/{{ APREFIX }}obsop_name_map.yaml'] | ||
| - ['{{ DATA }}/soca_chgres.yaml', '{{ COMOUT_CONF }}/{{ APREFIX }}soca_chgres.yaml'] | ||
| - ['{{ DATA }}/soca_diagb.yaml', '{{ COMOUT_CONF }}/{{ APREFIX }}soca_diagb.yaml'] | ||
| - ['{{ DATA }}/soca_parameters_diffusion_hz.yaml', '{{ COMOUT_CONF }}/{{ APREFIX }}soca_parameters_diffusion_hz.yaml'] | ||
| - ['{{ DATA }}/soca_parameters_diffusion_vt.yaml', '{{ COMOUT_CONF }}/{{ APREFIX }}soca_parameters_diffusion_vt.yaml'] | ||
| - ['{{ DATA }}/soca_setcorscales.yaml', '{{ COMOUT_CONF }}/{{ APREFIX }}soca_setcorscales.yaml'] | ||
| - ['{{ DATA }}/soca_vtscales.yaml', '{{ COMOUT_CONF }}/{{ APREFIX }}soca_vtscales.yaml'] | ||
| {% if DOHYBVAR_OCN == "YES" or NMEM_ENS >= 2 %} | ||
| - ['{{ DATA }}/soca_ensb.yaml', '{{ COMOUT_CONF }}/{{ APREFIX }}soca_ensb.yaml'] | ||
| - ['{{ DATA }}/soca_ensweights.yaml', '{{ COMOUT_CONF }}/{{ APREFIX }}soca_ensweights.yaml'] | ||
| {% endif %} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,36 @@ | ||
| mkdir: | ||
| {% set tmpl_dict = ({ '${ROTDIR}': ROTDIR, | ||
| '${RUN}': RUN, | ||
| '${YMD}': current_cycle | to_YMD, | ||
| '${HH}': current_cycle | strftime('%H'), | ||
| '${MEMDIR}': 'ensstat' }) %} | ||
| - '{{ COM_OCEAN_ANALYSIS_TMPL | replace_tmpl(tmpl_dict) }}' | ||
| - '{{ COM_ICE_ANALYSIS_TMPL | replace_tmpl(tmpl_dict) }}' | ||
| {% for imem in range(1,NMEM_ENS+1) %} | ||
| {% set memchar = 'mem%03d' | format(imem) %} | ||
| {% set tmpl_dict = ({ '${ROTDIR}': ROTDIR, | ||
| '${RUN}': RUN, | ||
| '${YMD}': current_cycle | to_YMD, | ||
| '${HH}': current_cycle | strftime('%H'), | ||
| '${MEMDIR}': memchar }) %} | ||
| - '{{ COM_OCEAN_ANALYSIS_TMPL | replace_tmpl(tmpl_dict) }}' | ||
| - '{{ COM_ICE_ANALYSIS_TMPL | replace_tmpl(tmpl_dict) }}' | ||
| {% endfor %} | ||
| copy: | ||
| {% for imem in range(1,NMEM_ENS+1) %} | ||
| {% set memchar = 'mem%03d' | format(imem) %} | ||
| {% set tmpl_dict = ({ '${ROTDIR}': ROTDIR, | ||
| '${RUN}': RUN, | ||
| '${YMD}': current_cycle | to_YMD, | ||
| '${HH}': current_cycle | strftime('%H'), | ||
| '${MEMDIR}': memchar }) %} | ||
| - ['{{ DATA }}/ocn.recenter.incr.{{ imem | string }}.nc', '{{ COM_OCEAN_ANALYSIS_TMPL | replace_tmpl(tmpl_dict) }}/{{ RUN }}.t{{ "%02d" | format(cyc) }}z.ocninc.nc'] | ||
| - ['{{ DATA }}/ens/cice_model.res.output.{{ imem | string }}.nc', '{{ COM_ICE_ANALYSIS_TMPL | replace_tmpl(tmpl_dict) }}/{{ cice_rst_date }}.cice_model_anl.res.nc'] | ||
| {% endfor %} | ||
| {% set tmpl_dict = ({ '${ROTDIR}': ROTDIR, | ||
| '${RUN}': RUN, | ||
| '${YMD}': current_cycle | to_YMD, | ||
| '${HH}': current_cycle | strftime('%H'), | ||
| '${MEMDIR}': 'ensstat' }) %} | ||
| - ['{{ DATA }}/ocn.ensvar.incr.{{ MARINE_WINDOW_END_ISO }}.nc', '{{ COM_OCEAN_ANALYSIS_TMPL | replace_tmpl(tmpl_dict) }}/{{ RUN }}.ocean.t{{ "%02d" | format(cyc) }}z.bg_ensvar.nc'] | ||
| - ['{{ DATA }}/ice.ensvar.incr.{{ MARINE_WINDOW_END_ISO }}.nc', '{{ COM_ICE_ANALYSIS_TMPL | replace_tmpl(tmpl_dict) }}/{{ RUN }}.ice.t{{ "%02d" | format(cyc) }}z.bg_ensvar.nc'] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| gridgen: | ||
| rundir: '{{ DATA }}' | ||
| exe_src: '{{ EXECgfs }}/gdas_soca_gridgen.x' | ||
| mpi_cmd: '{{ APRUN_MARINEANLECEN }}' | ||
| jcb_base_yaml: '{{ PARMgfs }}/gdas/soca/jcb-base.yaml.j2' | ||
| jcb_algo: soca_gridgen | ||
| ens_handler: | ||
| rundir: '{{ DATA }}' | ||
| exe_src: '{{ EXECgfs }}/gdas_soca_ens_handler.x' | ||
| mpi_cmd: '{{ APRUN_MARINEANLECEN }}' | ||
| jcb_base_yaml: '{{ PARMgfs }}/gdas/soca/jcb-base.yaml.j2' | ||
| jcb_algo: soca_ens_handler |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| mkdir: | ||
| - '{{ DATA }}/ens' | ||
| link: | ||
| {% for imem in range(1,NMEM_ENS+1) %} | ||
| {% for domain in ['ocean', 'ice'] %} | ||
| - [ "{{ DATA }}/../ensdata/ens/{{ domain }}.{{ imem | string }}.nc", '{{ DATA }}/ens/' ] | ||
| {% endfor %} | ||
| {% endfor %} | ||
| copy: | ||
| {% for imem in range(1,NMEM_ENS+1) %} | ||
| {% set memchar = 'mem%03d' | format(imem) %} | ||
| {% set tmpl_dict = ({ '${ROTDIR}': ROTDIR, | ||
| '${RUN}': RUN, | ||
| '${YMD}': previous_cycle | to_YMD, | ||
| '${HH}': previous_cycle | strftime('%H'), | ||
| '${MEMDIR}': memchar }) %} | ||
| - ['{{ COM_ICE_RESTART_TMPL | replace_tmpl(tmpl_dict) }}/{{ cice_rst_date }}.cice_model.res.nc', '{{ DATA }}/ens/cice_model.res.{{ imem | string }}.nc'] | ||
| - ['{{ COM_ICE_RESTART_TMPL | replace_tmpl(tmpl_dict) }}/{{ cice_rst_date }}.cice_model.res.nc', '{{ DATA }}/ens/cice_model.res.output.{{ imem | string }}.nc'] | ||
| {% endfor %} | ||
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.