-
Notifications
You must be signed in to change notification settings - Fork 203
Reduction in Ocean and Sea Ice Output #4200
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
base: develop
Are you sure you want to change the base?
Changes from 15 commits
90f0c6d
c9483c1
76f89d0
f8f6fe8
5ad905c
94237f7
d7abd79
d2ed372
90875e1
46b0bc2
b7b220f
6fcf46f
c9ad5e3
156580a
486f690
386a01d
b41f6b6
1943a47
3091fa1
93a10fe
fecb2ab
b3f10b3
b7e343a
0246dd6
29f7357
2b705db
98b205b
08f4a5a
e09e4d1
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| #! /usr/bin/env bash | ||
|
|
||
| ########## config.nsst ########## | ||
| # NSST specific | ||
|
|
||
| echo "BEGIN: config.nsst" | ||
|
|
||
| # NSST parameters contained within nstf_name | ||
|
|
||
| # nstf_name(1) : NST_MODEL (NSST Model) : 0 = OFF, 1 = ON but uncoupled, 2 = ON and coupled | ||
| export NST_MODEL=2 | ||
|
|
||
| # nstf_name(2) : NST_SPINUP : 0 = OFF, 1 = ON, | ||
| export NST_SPINUP="{{ NST_SPINUP }}" | ||
|
|
||
| # nstf_name(3) : NST_RESV (Reserved, NSST Analysis) : 0 = OFF, 1 = ON | ||
| export NST_RESV=0 | ||
|
|
||
| # nstf_name(4,5) : ZSEA1, ZSEA2 the two depths to apply vertical average (bias correction) | ||
| export ZSEA1=0 | ||
| export ZSEA2=0 | ||
|
|
||
| export NST_GSI=3 # default 0: No NST info at all; | ||
| # 1: Input NST info but not used in GSI; | ||
| # 2: Input NST info, used in CRTM simulation, no Tr analysis | ||
| # 3: Input NST info, used in both CRTM simulation and Tr analysis | ||
| export NSTINFO=0 # number of elements added in obs. data array (default = 0) | ||
| if (( NST_GSI > 0 )); then export NSTINFO=4; fi | ||
|
|
||
| echo "END: config.nsst" | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| ice_native: | ||
| name: "ICE_NATIVE" | ||
| target: "{{ ATARDIR }}/{{ cycle_YMDH }}/ice_native_subset.tar" | ||
| required: | ||
| {% for fhr in range(FHOUT_ICE_GFS, FHMAX_GFS + FHOUT_ICE_GFS, FHOUT_ICE_GFS) %} | ||
| - "{{ COMIN_ICE_NETCDF | relpath(ROTDIR) }}/native/{{ RUN }}.t{{ cycle_HH }}z.native.f{{ '%03d' % fhr }}.nc" | ||
| {% endfor %} |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| ocean_native: | ||
| name: "OCEAN_NATIVE" | ||
| target: "{{ ATARDIR }}/{{ cycle_YMDH }}/ocean_native_subset.tar" | ||
| required: | ||
| {% for fhr in range(FHOUT_ICE_GFS, FHMAX_GFS + FHOUT_ICE_GFS, FHOUT_ICE_GFS) %} | ||
|
||
| - "{{ COMIN_OCEAN_NETCDF | relpath(ROTDIR) }}/native/{{ RUN }}.t{{ cycle_HH }}z.native.f{{ '%03d' % fhr }}.nc" | ||
| {% endfor %} | ||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -1,16 +1,17 @@ | ||||||
| ocnicepost: | ||||||
| executable: "ocnicepost.x" | ||||||
| namelist: | ||||||
| write_grib2: True | ||||||
| write_netcdf: False | ||||||
| write_grib2: {{ write_grib2 }} | ||||||
| write_netcdf: {{ write_netcdf }} | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This should stay
Suggested change
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. these variables are now defined in https://github.com/NeilBarton-NOAA/global-workflow/blob/ocnice_products/dev/parm/config/gfs/config.oceanice_products |
||||||
| debug: False | ||||||
| fix_data: | ||||||
| mkdir: | ||||||
| - "{{ DATA }}" | ||||||
| copy: | ||||||
| - ["{{ EXECgfs }}/ocnicepost.x", "{{ DATA }}/"] | ||||||
| - ["{{ PARMgfs }}/post/ocnicepost.nml.jinja2", "{{ DATA }}/"] | ||||||
| {% if write_grib2 and write_netcdf %} | ||||||
|
||||||
| - ["{{ PARMgfs }}/post/{{ component }}_gfs.csv", "{{ DATA }}/{{ component }}.csv"] | ||||||
| - ["{{ EXECgfs }}/ocnicepost.x", "{{ DATA }}/"] | ||||||
| - ["{{ FIXgfs }}/mom6/post/{{ model_grid }}/tripole.{{ model_grid }}.Bu.to.Ct.bilinear.nc", "{{ DATA }}/"] | ||||||
| - ["{{ FIXgfs }}/mom6/post/{{ model_grid }}/tripole.{{ model_grid }}.Cu.to.Ct.bilinear.nc", "{{ DATA }}/"] | ||||||
| - ["{{ FIXgfs }}/mom6/post/{{ model_grid }}/tripole.{{ model_grid }}.Cv.to.Ct.bilinear.nc", "{{ DATA }}/"] | ||||||
|
|
@@ -19,6 +20,7 @@ ocnicepost: | |||||
| - ["{{ FIXgfs }}/mom6/post/{{ model_grid }}/tripole.{{ model_grid }}.Ct.to.rect.{{ grid }}.conserve.nc", "{{ DATA }}/"] | ||||||
| - ["{{ FIXgfs }}/mom6/post/template.global.{{ grid }}.gb2", "{{ DATA }}/"] | ||||||
| {% endfor %} | ||||||
| {% endif %} | ||||||
|
|
||||||
| ocean: | ||||||
| namelist: | ||||||
|
|
@@ -28,26 +30,34 @@ ocean: | |||||
| cosvar: "cos_rot" | ||||||
| angvar: "" | ||||||
| {% if model_grid == 'mx025' or model_grid == 'mx050' or model_grid == 'mx100' %} | ||||||
| ocean_levels: [5, 15, 25, 35, 45, 55, 65, 75, 85, 95, 105, 115, 125, 135, 145, 155, 165, 175, 185, 195, 205, 215, 226, 241, 267, 309, 374, 467, 594, 757, 960, 1204, 1490, 1817, 2184, 2587, 3024, 3489, 3977, 4481] | ||||||
| ocean_levels: [1, 3, 5, 10, 20, 30, 50, 100, 200, 500, 1000] | ||||||
| {% elif model_grid == 'mx500' %} | ||||||
| ocean_levels: [5, 15, 25, 35, 45, 55, 65, 75, 85, 95, 105, 115, 125, 135, 145, 155, 165, 175, 185, 195, 205, 215, 226, 241, 267] | ||||||
| {% endif %} | ||||||
| subset: ['SSH', 'SST', 'SSS', 'speed', 'MLD_003', 'latent', 'sensible', 'SW', 'LW', 'LwLatSens', 'Heat_PmE', 'SSU', 'SSV', 'taux', 'tauy', 'temp', 'so', 'uo', 'vo'] | ||||||
| subset: ['SSH', 'SST', 'SSS', 'speed', 'MLD_003', 'SSU', 'SSV', 'temp', 'tob', 'so', 'uo', 'vo'] | ||||||
| data_in: | ||||||
| copy: | ||||||
| - ["{{ COMIN_OCEAN_HISTORY }}/{{ RUN }}.t{{ current_cycle | strftime('%H') }}z.6hr_avg.f{{ '%03d' % forecast_hour }}.nc", "{{ DATA }}/ocean.nc"] | ||||||
| - ["{{ COMIN_OCEAN_HISTORY }}/{{ RUN }}.t{{ current_cycle | strftime('%H') }}z.{{ interval }}hr_avg.f{{ '%03d' % forecast_hour }}.nc", "{{ DATA }}/ocean.nc"] | ||||||
| data_out: | ||||||
| mkdir: | ||||||
| - "{{ COMOUT_OCEAN_NETCDF }}" | ||||||
| - "{{ COMOUT_OCEAN_NETCDF }}/native" | ||||||
| {% for grid in product_grids %} | ||||||
| {% if write_netcdf %} | ||||||
| - "{{ COMOUT_OCEAN_NETCDF }}/{{ grid }}" | ||||||
| {% endif %} | ||||||
NeilBarton-NOAA marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||
| {% if write_grib2 %} | ||||||
| - "{{ COMOUT_OCEAN_GRIB }}/{{ grid }}" | ||||||
| {% endif %} | ||||||
| {% endfor %} | ||||||
| copy: | ||||||
| - ["{{ DATA }}/ocean_subset.nc", "{{ COMOUT_OCEAN_NETCDF }}/{{ RUN }}.t{{ current_cycle | strftime('%H') }}z.tripolar.f{{ '%03d' % forecast_hour }}.nc"] | ||||||
| - ["{{ DATA }}/ocean_subset.nc", "{{ COMOUT_OCEAN_NETCDF }}/native/{{ RUN }}.t{{ current_cycle | strftime('%H') }}z.native.f{{ '%03d' % forecast_hour }}.nc"] | ||||||
| - ["{{ DATA }}/ocean_compressed.nc", "{{ COMIN_OCEAN_HISTORY }}/{{ RUN }}.t{{ current_cycle | strftime('%H') }}z.{{ interval }}hr_avg.f{{ '%03d' % forecast_hour }}.nc"] | ||||||
| {% if write_grib2 %} | ||||||
|
||||||
| {% for grid in product_grids %} | ||||||
| - ["{{ DATA }}/ocean.{{ grid }}.grib2", "{{ COMOUT_OCEAN_GRIB }}/{{ grid }}/{{ RUN }}.t{{ current_cycle | strftime('%H') }}z.{{ grid }}.f{{ '%03d' % forecast_hour }}.grib2"] | ||||||
| - ["{{ DATA }}/ocean.{{ grid }}.grib2.idx", "{{ COMOUT_OCEAN_GRIB }}/{{ grid }}/{{ RUN }}.t{{ current_cycle | strftime('%H') }}z.{{ grid }}.f{{ '%03d' % forecast_hour }}.grib2.idx"] | ||||||
| {% endfor %} | ||||||
| {% endif %} | ||||||
|
|
||||||
| ice: | ||||||
| namelist: | ||||||
|
|
@@ -56,19 +66,27 @@ ice: | |||||
| sinvar: "" | ||||||
| cosvar: "" | ||||||
| angvar: "ANGLET" | ||||||
| subset: ['hi_h', 'hs_h', 'aice_h', 'Tsfc_h', 'uvel_h', 'vvel_h', 'frzmlt_h', 'albsni_h', 'mlt_onset_h', 'frz_onset_h'] | ||||||
| subset: ['hi_h', 'hs_h', 'aice_h', 'Tsfc_h', 'uvel_h', 'vvel_h', 'albsni_h'] | ||||||
| data_in: | ||||||
| copy: | ||||||
| - ["{{ COMIN_ICE_HISTORY }}/{{ RUN }}.t{{ current_cycle | strftime('%H') }}z.6hr_avg.f{{ '%03d' % forecast_hour }}.nc", "{{ DATA }}/ice.nc"] | ||||||
| - ["{{ COMIN_ICE_HISTORY }}/{{ RUN }}.t{{ current_cycle | strftime('%H') }}z.{{ interval }}hr_avg.f{{ '%03d' % forecast_hour }}.nc", "{{ DATA }}/ice.nc"] | ||||||
| data_out: | ||||||
| mkdir: | ||||||
| - "{{ COMOUT_ICE_NETCDF }}" | ||||||
| - "{{ COMOUT_ICE_NETCDF }}/native" | ||||||
| {% for grid in product_grids %} | ||||||
| {% if write_netcdf %} | ||||||
| - "{{ COMOUT_ICE_NETCDF }}/{{ grid }}" | ||||||
| {% endif %} | ||||||
| {% if write_grib2 %} | ||||||
| - "{{ COMOUT_ICE_GRIB }}/{{ grid }}" | ||||||
| {% endif %} | ||||||
| {% endfor %} | ||||||
| copy: | ||||||
| - ["{{ DATA }}/ice_subset.nc", "{{ COMOUT_ICE_NETCDF }}/{{ RUN }}.t{{ current_cycle | strftime('%H') }}z.tripolar.f{{ '%03d' % forecast_hour }}.nc"] | ||||||
| - ["{{ DATA }}/ice_subset.nc", "{{ COMOUT_ICE_NETCDF }}/native/{{ RUN }}.t{{ current_cycle | strftime('%H') }}z.native.f{{ '%03d' % forecast_hour }}.nc"] | ||||||
| - ["{{ DATA }}/ice_compressed.nc", "{{ COMIN_ICE_HISTORY }}/{{ RUN }}.t{{ current_cycle | strftime('%H') }}z.{{ interval }}hr_avg.f{{ '%03d' % forecast_hour }}.nc"] | ||||||
| {% for grid in product_grids %} | ||||||
| {% if write_grib2 %} | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Shouldn't the interpolated output data from
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. same as above
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. same reminder as above. |
||||||
| - ["{{ DATA }}/ice.{{ grid }}.grib2", "{{ COMOUT_ICE_GRIB }}/{{ grid }}/{{ RUN }}.t{{ current_cycle | strftime('%H') }}z.{{ grid }}.f{{ '%03d' % forecast_hour }}.grib2"] | ||||||
| - ["{{ DATA }}/ice.{{ grid }}.grib2.idx", "{{ COMOUT_ICE_GRIB }}/{{ grid }}/{{ RUN }}.t{{ current_cycle | strftime('%H') }}z.{{ grid }}.f{{ '%03d' % forecast_hour }}.grib2.idx"] | ||||||
| {% endif %} | ||||||
| {% endfor %} | ||||||
Uh oh!
There was an error while loading. Please reload this page.