-
Notifications
You must be signed in to change notification settings - Fork 50
New ocean/ice B diag #1050
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
New ocean/ice B diag #1050
Changes from 26 commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
30f3634
wip
guillaumevernieres a651fa4
wip
guillaumevernieres 27a408b
using FH's lambda, but still wip
guillaumevernieres 4dc9d4f
wip
guillaumevernieres 89c00e2
produces credible results but needs tidy
guillaumevernieres 37288e7
ctests ok
guillaumevernieres f607b59
Merge branch 'develop' into feature/diagb
guillaumevernieres f8a77a3
norms
guillaumevernieres cfdcc20
wip
guillaumevernieres 6c67e1f
wip
guillaumevernieres 7fb6d22
wip
guillaumevernieres 54914eb
working halo update
guillaumevernieres d8007ee
more options
guillaumevernieres 92a1197
wip, unrealistic near-shore analysis
guillaumevernieres 284930a
wip
guillaumevernieres 80d9e48
std dev fctn
guillaumevernieres 4e3edc0
Merge branch 'develop' into feature/diagb
guillaumevernieres 6b42112
fixed pe with 0 variance
guillaumevernieres 8a18811
code tidy
guillaumevernieres 2f40286
Merge branch 'develop' into feature/diagb
guillaumevernieres 522d7d2
wip
guillaumevernieres 9f64fae
Merge branch 'develop' into feature/diagb
guillaumevernieres fd6a571
code tidy
guillaumevernieres 7004016
Merge branch 'develop' into feature/diagb
guillaumevernieres 5ee0fe0
Update exgdas_global_marine_analysis_bmat.sh
guillaumevernieres 423117a
Merge branch 'develop' into feature/diagb
guillaumevernieres f455a69
added back hybrid
guillaumevernieres 1927c9e
Merge branch 'develop' into feature/diagb
guillaumevernieres a123fa4
Merge branch 'develop' into feature/diagb
guillaumevernieres f8e45ba
Merge branch 'develop' into feature/diagb
CoryMartin-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
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 |
|---|---|---|
| @@ -1,101 +1,42 @@ | ||
| covariance model: hybrid | ||
| components: | ||
| - covariance: | ||
| # This will setup B = K D C_v C_h C_h^{T} C_v^{T} D K^{T} | ||
| covariance model: SABER | ||
| saber central block: | ||
| saber block name: EXPLICIT_DIFFUSION | ||
| active variables: [tocn, socn, ssh, cicen] | ||
| geometry: | ||
| mom6_input_nml: mom_input.nml | ||
| fields metadata: ./fields_metadata.yaml | ||
| group mapping: | ||
| - name: ocean | ||
| variables: [tocn, socn, ssh] | ||
| - name: ice | ||
| variables: [cicen] | ||
| read: | ||
| groups: | ||
| - name: ocean | ||
| horizontal: | ||
| filename: hz_ocean.nc | ||
| vertical: | ||
| filename: vt_ocean.nc | ||
| - name: ice | ||
| horizontal: | ||
| filename: hz_ice.nc | ||
| covariance model: SABER | ||
| saber central block: | ||
| saber block name: EXPLICIT_DIFFUSION | ||
| active variables: [tocn, socn, ssh, cicen] | ||
| geometry: | ||
| mom6_input_nml: mom_input.nml | ||
| fields metadata: ./fields_metadata.yaml | ||
| group mapping: | ||
| - name: ocean | ||
| variables: | ||
| - tocn | ||
| - socn | ||
| - ssh | ||
| - name: ice | ||
| variables: | ||
| - cicen | ||
| read: | ||
| groups: | ||
| - name: ocean | ||
| horizontal: | ||
| filename: hz_ocean.nc | ||
| vertical: | ||
| filename: vt_ocean.nc | ||
| - name: ice | ||
| horizontal: | ||
| filename: hz_ice.nc | ||
|
|
||
| linear variable change: | ||
| input variables: [cicen, hicen, hsnon, socn, tocn, uocn, vocn, ssh] | ||
| output variables: [cicen, hicen, hsnon, socn, tocn, uocn, vocn, ssh] | ||
| linear variable changes: | ||
| saber outer blocks: | ||
| - saber block name: StdDev | ||
| read: | ||
| model file: | ||
| date: '{{ATM_WINDOW_MIDDLE}}' | ||
| basename: ./ | ||
| ocn_filename: 'ocn.bkgerr_stddev.incr.{{ATM_WINDOW_MIDDLE}}.nc' | ||
| ice_filename: 'ice.bkgerr_stddev.incr.{{ATM_WINDOW_MIDDLE}}.nc' | ||
| read_from_file: 3 | ||
|
|
||
| - linear variable change name: BkgErrFILT | ||
| ocean_depth_min: 500 # [m] | ||
| rescale_bkgerr: 1.0 | ||
| efold_z: 1500.0 # [m] | ||
|
|
||
| - linear variable change name: BkgErrSOCA | ||
| read_from_file: 3 | ||
| basename: ./static_ens/ | ||
| ocn_filename: 'ocn.bkgerr_stddev.incr.{{ATM_WINDOW_BEGIN}}.nc' | ||
| ice_filename: 'ice.bkgerr_stddev.incr.{{ATM_WINDOW_BEGIN}}.nc' | ||
| date: '{{ATM_WINDOW_MIDDLE}}' | ||
| t_min: 0.1 | ||
| t_max: 5.0 | ||
| s_min: 0.1 | ||
| s_max: 1.0 | ||
| ssh_min: 0.0 # std ssh=0 => ssh balance applied as | ||
| ssh_max: 1.0 # strong constraint | ||
| cicen_min: 0.1 | ||
| cicen_max: 0.5 | ||
| hicen_min: 0.0 | ||
| hicen_max: 0.0 | ||
| standard deviation: true | ||
|
|
||
| - linear variable change name: BalanceSOCA | ||
| ksshts: | ||
| nlayers: 10 | ||
|
|
||
| weight: | ||
| value: 0.25 | ||
| #- covariance: | ||
| # covariance model: ensemble | ||
| # members from template: | ||
| # template: | ||
| # read_from_file: 1 | ||
| # date: '{{ATM_WINDOW_MIDDLE}}' | ||
| # basename: ./static_ens/ | ||
| # ocn_filename: 'ocn.pert.steric.%mem%.nc' | ||
| # ice_filename: 'ice.%mem%.nc' | ||
| # state variables: [tocn, socn, ssh, uocn, vocn, cicen, hicen, hsnon] | ||
| # pattern: '%mem%' | ||
| # nmembers: ${ENS_SIZE} | ||
| # localization: | ||
| # localization method: SABER | ||
| # saber central block: | ||
| # saber block name: EXPLICIT_DIFFUSION | ||
| # active variables: [tocn, socn, ssh] | ||
| # geometry: | ||
| # mom6_input_nml: mom_input.nml | ||
| # fields metadata: ./fields_metadata.yaml | ||
| # group mapping: | ||
| # - name: ocean | ||
| # variables: [tocn, socn, ssh, uocn, vocn] | ||
| # - name: ice | ||
| # variables: [cicen, hicen, hsnon] | ||
| # read: | ||
| # groups: | ||
| # - name: ocean | ||
| # horizontal: | ||
| # filename: hz_ocean.nc | ||
| # - name: ice | ||
| # horizontal: | ||
| # filename: hz_ice.nc | ||
| # | ||
| # weight: | ||
| # read_from_file: 3 | ||
| # basename: ./ | ||
| # ocn_filename: 'ocn.ens_weights.incr.{{ATM_WINDOW_MIDDLE}}.nc' | ||
| # ice_filename: 'ice.ens_weights.incr.{{ATM_WINDOW_MIDDLE}}.nc' | ||
| # date: '{{ATM_WINDOW_MIDDLE}}' | ||
| linear variable change: | ||
| input variables: [cicen, hicen, hsnon, socn, tocn, uocn, vocn, ssh] | ||
| output variables: [cicen, hicen, hsnon, socn, tocn, uocn, vocn, ssh] | ||
| linear variable changes: | ||
| - linear variable change name: BalanceSOCA | ||
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,59 @@ | ||
| geometry: | ||
| mom6_input_nml: mom_input.nml | ||
| fields metadata: ./fields_metadata.yaml | ||
|
|
||
| date: '{{ ATM_WINDOW_MIDDLE }}' | ||
|
|
||
| background: | ||
| date: '{{ ATM_WINDOW_MIDDLE }}' | ||
| basename: ./bkg/ | ||
| ocn_filename: '{{ RUN }}.ocean.t{{ gcyc }}z.inst.f009.nc' | ||
| ice_filename: '{{ RUN }}.agg_ice.t{{ gcyc }}z.inst.f009.nc' | ||
| read_from_file: 1 | ||
|
|
||
| background error: | ||
| datadir: ./ | ||
| date: '{{ ATM_WINDOW_MIDDLE }}' | ||
| exp: bkgerr_stddev | ||
| type: incr | ||
|
|
||
| variables: | ||
| name: [tocn, socn, uocn, vocn, hocn, ssh, cicen, hicen, hsnon, mom6_mld] | ||
|
|
||
| rescale: 2.0 # rescales the filtered std. dev. by "rescale" | ||
| min sst: 0.0 # Added to sst bkg. err. | ||
| max ssh: 0.0 # Limits the amplitude of the unbalanced bkg err | ||
| number of halo points: 4 | ||
| number of neighbors: 16 | ||
| simple smoothing: | ||
| horizontal iterations: 2 | ||
| vertical iterations: 1 | ||
|
|
||
| # TODO(G): Start using when the normalization is optional | ||
| #diffusion: | ||
| # saber block name: EXPLICIT_DIFFUSION | ||
| # active variables: [tocn, socn, ssh, cicen, hicen, hsnon] | ||
| # geometry: | ||
| # mom6_input_nml: mom_input.nml | ||
| # fields metadata: ./fields_metadata.yaml | ||
| # group mapping: | ||
| # - name: ocean | ||
| # variables: | ||
| # - tocn | ||
| # - socn | ||
| # - ssh | ||
| # - name: ice | ||
| # variables: | ||
| # - cicen | ||
| # - hicen | ||
| # - hsnon | ||
| # read: | ||
| # groups: | ||
| # - name: ocean | ||
| # horizontal: | ||
| # filename: hz_ocean.nc | ||
| # vertical: | ||
| # filename: vt_ocean.nc | ||
| # - name: ice | ||
| # horizontal: | ||
| # filename: hz_ice.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
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,13 @@ | ||
| gridspec_filename: soca_gridspec.nc | ||
| restart_filename: ./INPUT/MOM.res.nc | ||
| mld_filename: 'ocn.bkgerr_stddev.incr.{{ ATM_WINDOW_MIDDLE }}.nc' | ||
| output_filename: ./vt_scales.nc | ||
| output_variable_vt: vt | ||
| output_variable_hz: hz | ||
|
|
||
| VT_MIN: 5 | ||
| VT_MAX: 15 | ||
|
|
||
| HZ_ROSSBY_MULT: 1.0 | ||
| HZ_MAX: 200e3 | ||
| HZ_MIN_GRID_MULT: 2.0 |
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.