-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New config and ready for coupled mode (#127)
* start new config * Update suites-hofx.yaml * Update suites.yaml * Add new class framework for yamls * restructure default * end of day * add more config options * add fixed options * reorganize the config directories * add more options and improve checking * reorg the static config files * towards yaml comments * towards writing commented dict * comment written to dictionary * finalize location of the prep_config files * coding norms * when files are used still add to config * Optionally pass model to task * jinja stuff * pure string write * generate a coupled flow.cylc with different times * templating of flow.cylc * rename config files * rename sat channel files * refactor the config class * make model names consistent * stage working * getbackground working * remove jedi_config task and put into the runjediexe task * all tasks working manually * remove old suites directory * allow swell_create to call the prep config in one step * suite file bugs * hofx flow working * routine clean up * clean up and codestyle * add a welcome message * move minor version up * YAML norms * YAML norms * YAML norms * YAML norms * use env variables for CiCd id and root * coding norms * clean up some files Co-authored-by: danholdaway <[email protected]>
- Loading branch information
1 parent
716a6a2
commit 7a8e2b0
Showing
150 changed files
with
2,053 additions
and
2,254 deletions.
There are no files selected for viewing
This file contains 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,2 @@ | ||
[metadata] | ||
version = attr: swell.__version__ |
This file contains 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 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 |
---|---|---|
|
@@ -7,3 +7,6 @@ | |
import os | ||
|
||
repo_directory = os.path.dirname(__file__) | ||
|
||
# Set the version for swell | ||
__version__ = '1.1.0' |
10 changes: 10 additions & 0 deletions
10
src/swell/configuration/jedi/fv3-jedi/geos_atmosphere/model/background.yaml
This file contains 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,10 @@ | ||
datetime: '{{local_background_time_iso}}' | ||
filetype: cube sphere history | ||
provider: geos | ||
datapath: '' | ||
filenames: ['{{cycle_dir}}/bkg.%yyyy%mm%ddT%hh%MM%ssZ.nc4', | ||
'{{experiment_dir}}/stage/Data/bkg/geos.crtmsrf.{{horizontal_resolution}}.nc4'] | ||
state variables: [u,v,ua,va,t,delp,q,qi,ql,qr,qs,o3ppmv,phis, | ||
qls,qcn,cfcn,frocean,frland,varflt,ustar,bstar, | ||
zpbl,cm,ct,cq,kcbl,tsm,khl,khu,frlake,frseaice,vtype, | ||
stype,vfrac,sheleg,ts,soilt,soilm,u10m,v10m] |
9 changes: 9 additions & 0 deletions
9
src/swell/configuration/jedi/fv3-jedi/geos_atmosphere/model/geometry.yaml
This file contains 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,9 @@ | ||
fms initialization: | ||
namelist filename: '{{experiment_dir}}/stage/Data/fv3files/fmsmpp.nml' | ||
field table filename: '{{experiment_dir}}/stage/Data/fv3files/field_table_gmao' | ||
akbk: '{{experiment_dir}}/stage/Data/fv3files/akbk{{vertical_resolution}}.nc4' | ||
layout: [{{npx_proc}},{{npy_proc}}] | ||
npx: {{horizontal_resolution}} | ||
npy: {{horizontal_resolution}} | ||
npz: {{vertical_resolution}} | ||
field metadata override: '{{experiment_dir}}/stage/Data/fieldmetadata/geos.yaml' |
2 changes: 2 additions & 0 deletions
2
src/swell/configuration/jedi/fv3-jedi/geos_atmosphere/model/getvalues.yaml
This file contains 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,2 @@ | ||
variable change: | ||
variable change name: Model2GeoVaLs |
10 changes: 10 additions & 0 deletions
10
src/swell/configuration/jedi/fv3-jedi/geos_atmosphere/model/pseudo-model.yaml
This file contains 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,10 @@ | ||
name: PSEUDO | ||
tstep: {{background_frequency}} | ||
filetype: cube sphere history | ||
provider: geos | ||
datapath: '' | ||
filenames: ['{{cycle_dir}}/bkg.%yyyy%mm%ddT%hh%MM%ssZ.nc4', | ||
'{{experiment_dir}}/stage/Data/bkg/geos.crtmsrf.{{horizontal_resolution}}.nc4'] | ||
model variables: [u,v,ua,va,t,delp,q,qi,ql,qr,qs,o3ppmv,phis,qls,qcn,cfcn,frocean,frland,varflt,ustar, | ||
bstar,zpbl,cm,ct,cq,kcbl,tsm,khl,khu,frlake,frseaice,vtype,stype,vfrac,sheleg, | ||
ts,soilt,soilm,u10m,v10m] |
10 changes: 10 additions & 0 deletions
10
src/swell/configuration/jedi/fv3-jedi/geos_atmosphere/model/r2d2.yaml
This file contains 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,10 @@ | ||
fetch: | ||
an: | ||
- file_type: [bkg] | ||
filename: '{{cycle_dir}}/bkg.%Y%m%dT%H%M%SZ.nc4' | ||
fc: | ||
- file_type: [bkg] | ||
filename: '{{cycle_dir}}/bkg.%Y%m%dT%H%M%SZ.nc4' | ||
store: | ||
fc: | ||
- file_type: [bkg] |
7 changes: 7 additions & 0 deletions
7
src/swell/configuration/jedi/fv3-jedi/geos_atmosphere/model/stage.yaml
This file contains 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,7 @@ | ||
- copy_files: | ||
directories: | ||
- ['/discover/nobackup/drholdaw/JediSwell/bundle/latest/fv3-jedi/test/Data/fieldmetadata/*', '{{experiment_dir}}/stage/Data/fieldmetadata/'] | ||
- ['/discover/nobackup/drholdaw/JediSwell/bundle/latest/fv3-jedi/test/Data/fv3files/*', '{{experiment_dir}}/stage/Data/fv3files/'] | ||
link_files: | ||
directories: | ||
- ['/discover/nobackup/drholdaw/JediData/GEOS_CRTM_Surface/geos.crtmsrf.{{horizontal_resolution}}.nc4', '{{experiment_dir}}/stage/Data/bkg/'] |
This file contains 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 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 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 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 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 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 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 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.