-
Notifications
You must be signed in to change notification settings - Fork 71
Add data model support to HAFS workflow #91
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
86 commits
Select commit
Hold shift + click to select a range
ec074b7
Add CMEPS (mediator) to hafs_forecast submodule component and build.
danrosen25 e8aa540
Script changes in order to support run a CMEPS build for hafs-hycom c…
BinLiu-NOAA 1c08214
Enable atmospheric surface pressure forcing in hafs-hycom coupling (D…
BinLiu-NOAA be43135
Update CMEPS submodule. Includes ocean fraction computation fix.
danrosen25 6a54a4b
Merge branch 'feature/hafs_couplehycom' into hafs_couplehycom_cmeps
BinLiu-NOAA 768dfde
Add support for running a CDEPS data atmosphere (datm) to the HAFS
153ebdf
update model to support data components with CDEPS
d42500d
Merge branch 'feature/hafs_couplehycom' into 'feature/hafs_couplehyco…
danrosen25 939f7e2
Do not use INPdir as the CDEPS input data directory, since this
evankalina 64ea33e
update model to enable data components with cmake build
2e16773
Update the hafs_forecast.fd submodule after bringing in FV3 regional
danrosen25 57aa33b
Merge branch 'feature/hafs_couplehycom' with 'feature/hafs_couplehyco…
danrosen25 6c45e69
Point to feature/hafs_couplehycom_cdeps of ufs-weather-model
evankalina 9c96b36
Finish pointing to feature/hafs_couplehycom_cdeps of ufs-weather-model
evankalina 357075f
Merge remote-tracking branch 'origin/develop' into feature/hafs_coupl…
evankalina 10482f5
Advance hafs_gsi, hafs_post, and hafs_utils to the latest versions
evankalina 83b8799
A few small updates for CDEPS DATM
evankalina 31a29ca
Update to the most recent version of the feature/hafs_couplehycom_cde…
evankalina a6e21e4
Merge remote-tracking branch 'origin/develop' into feature/hafs_coupl…
evankalina 29b111e
CDEPS no longer needs the pio_in and X_modelio.nml files.
evankalina a5972bf
Bug fix to set the year at the beginning and end of the forecast prop…
evankalina e0bff55
From Sam Trahan (CIRES at NOAA/GSL, DTC): Add a download script for
evankalina 99144c2
Generate DATM mesh in workflow if make_mesh_atm=yes
SamuelTrahanNOAA 37fdf22
Update to the latest version of the feature/hafs_couplehycom_cdeps br…
evankalina f95c961
Add DATM input (ERA5) download job. Rename ush/hafs_era5_downloader.p…
SamuelTrahanNOAA 37516b3
Sync with the latest ufs-weather-model feature/hafs_couplehycom_cdeps…
evankalina 3e21e03
Add the capability to run CDEPS DOCN to the workflow.
evankalina 04a93ce
Add comment to nems.configure for CDEPS so that the user isn't confus…
evankalina 49ecbcb
.gitignore Rocoto db files and Emacs backup files
SamuelTrahanNOAA 0105eec
Download DOCN files and generate their mesh. Fix a bug in hafs launch…
SamuelTrahanNOAA af0ed54
.gitignore system.conf, fix directory, and generated rocoto xml files
SamuelTrahanNOAA 6ebf79e
Add QUEUE_FORECAST for forecast job. Orion defaults to "urgent"
SamuelTrahanNOAA 77b6505
Bug fixes to get DOCN+FV3 to run.
SamuelTrahanNOAA 935089d
Changes to get DATM+HYCOM working.
SamuelTrahanNOAA dd50964
Two files missing from prior commit: split hafs_cdeps.conf into hafs_…
SamuelTrahanNOAA f0f58e9
Download an extra day of data before and after storm. Without this, D…
SamuelTrahanNOAA ff983f5
Download an extra day of data before and after storm. Without this, D…
SamuelTrahanNOAA 90c7ffe
Download one extra day of DATM data
SamuelTrahanNOAA e511402
Give DATM data 1 day before and after simulation to avoid future prob…
SamuelTrahanNOAA 8d72be1
Small refinements to the implementation of CDEPS in the HAFS workflow.
evankalina b0b539f
Merge remote-tracking branch 'origin/develop' into feature/hafs_coupl…
evankalina cab1b0e
Make sure that the atmospheric initialization system is disabled if
evankalina ef1dac0
Bug fix: When run_datm=yes, make sure the forecast job does not
evankalina 81f9126
Bug fix: Make sure INPUT/ directory is created before attempting to
evankalina 6eed2ad
Corrections to hafs_esmf_mesh.py: print reason for import failure and…
SamuelTrahanNOAA a5629dd
add cheyenne support to build
uturuncoglu 20d0a1e
Update submodule pointers to the latest hashes of feature/hafs_couple…
evankalina e626b4a
Merge branch 'feature/hafsv0.2_phase3_final' into feature/hafs_couple…
evankalina ecb2f91
Update the HAFS-CDEPS workflow to use dxxx.streams files in text format,
evankalina 431a2d6
Fix incomplete merge in wcoss_cray.ent.
evankalina aa1f512
split DOCN scripts into three, for GHRSST, OISST, and RTOFS
SamuelTrahanNOAA d8a2c4a
Allow the choice between several DOCN model sources. Presently only O…
SamuelTrahanNOAA d0cb020
Merge branch 'feature/hafs_couplehycom_cdeps' of https://github.com/h…
SamuelTrahanNOAA 292c573
Make DATM configurable via datm_source. Fix scripts so one can run wi…
SamuelTrahanNOAA 8050d0c
Merge branch 'feature/hafs_couplehycom_cdeps' of https://github.com/h…
SamuelTrahanNOAA 4630d3b
Use a python installation that already has the needed modules installed
SamuelTrahanNOAA 9fc2426
Merge branch 'develop' into feature/hafs_couplehycom_cdeps and advance
evankalina 1650a74
DOCN GHRSST works on Orion
SamuelTrahanNOAA df14e2a
Missed a "-p" in mkdir for DOCNdir and DATMdir
SamuelTrahanNOAA 01005cb
link the new fix_cdeps directory
SamuelTrahanNOAA 8e088ba
Use fix-file meshes by default for DOCN. (DATM not yet tested this way)
SamuelTrahanNOAA b1fab5e
Point to pregenerated mesh name in datm mode
SamuelTrahanNOAA 90152a1
Correct DOCN/DATM mask usage logic and add forecast.print_esmf option
SamuelTrahanNOAA 4855bfd
Remove all unneeded vars from ghrsst before spatial subsetting
SamuelTrahanNOAA 6401247
Point to alternative python on Jet
SamuelTrahanNOAA 5f79bbc
Reduce runtime for data model prep jobs now that GHRSST prep is much …
SamuelTrahanNOAA f97c0a8
Update paths for jet in cronjob_hafs_docn.sh
SamuelTrahanNOAA 218ed26
Put DATM input in intercom/cdeps just like DOCN
SamuelTrahanNOAA 15e1e1e
Put Hera DOCN resources in rocoto/sites/hera.ent
SamuelTrahanNOAA ea72780
Update modulefiles for hera
SamuelTrahanNOAA e64fee2
Correct the docn/datm prep resources for kjet and hera
SamuelTrahanNOAA a520b81
Correct python paths in data model cron scripts
SamuelTrahanNOAA dc465f7
Merge branch 'develop' into feature/hafs_couplehycom_cdeps
evankalina a63039f
Remove the redundant mesh_ocn_in entry in the docn configuration files.
evankalina 463810a
Point to the support/HAFS branch of ufs-weather-model
evankalina 7ebd9a8
Changes requested in review:
SamuelTrahanNOAA 75eb321
Use batch for forecast job on Orion, to avoid overuse of "urgent"
SamuelTrahanNOAA 8039a00
Merge branch 'develop' into feature/hafs_couplehycom_cdeps
evankalina 83a08a2
Change mapalgo01 from bilinear to redist since the same grid is used
evankalina 44701f6
Revert changes to build_forecast.sh.
evankalina 9849578
Small adjustments to job resources on Hera.
evankalina f19d1f2
Small adjustment to resources on xjet.
evankalina 2539762
Changes requested from code review
evankalina d76f450
Correct whitespace in CDEPS cron script.
evankalina 9daecef
Fix logic error in hafs_workflow.xml.in
evankalina a98516a
Adds 2 ENTITY FORECAST_RESOURCES lines for running HAFS-CDEPS on wcos…
JohnSteffen-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 |
|---|---|---|
|
|
@@ -7,3 +7,9 @@ | |
| *.exe | ||
| *.x | ||
| *.log | ||
| *~ | ||
| *.db | ||
| *.db.bak | ||
| system.conf | ||
| fix/ | ||
| rocoto/*.xml | ||
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
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
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
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,15 @@ | ||
| stream_info: ERA5_HOURLY01 | ||
| taxmode01: limit | ||
| mapalgo01: redist | ||
| tInterpAlgo01: linear | ||
| readMode01: single | ||
| dtlimit01: 1.5 | ||
| stream_offset01: 0 | ||
| yearFirst01: _yearFirst_ | ||
| yearLast01: _yearLast_ | ||
| yearAlign01: _yearFirst_ | ||
| stream_vectors01: "u:v" | ||
| stream_mesh_file01: _mesh_atm_ | ||
| stream_lev_dimname01: null | ||
| stream_data_files01: | ||
| stream_data_variables01: "u10 Sa_u10m" "v10 Sa_v10m" "t2m Sa_t2m" "skt Sa_tskn" "d2m Sa_tdew" "msl Sa_pslv" "tp Faxa_rain" "cp Faxa_rainc" "lsp Faxa_rainl" "csf Faxa_snowc" "lsf Faxa_snowl" "ssrd Faxa_swdn" "ssr Faxa_swnet" "strd Faxa_lwdn" "str Faxa_lwnet" "aluvp Faxa_swvdr" "aluvd Faxa_swvdf" "alnip Faxa_swndr" "alnid Faxa_swndf" "sshf Faxa_sen" "slhf Faxa_lat" "ewss Faxa_taux" "nsss Faxa_tauy" |
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,14 @@ | ||
| &datm_nml | ||
| datamode = "ERA5" | ||
| factorfn_data = "null" | ||
| factorfn_mesh = "null" | ||
| flds_co2 = .false. | ||
| flds_presaero = .false. | ||
| flds_wiso = .false. | ||
| iradsw = 1 | ||
| model_maskfile = "_mesh_atm_" | ||
| model_meshfile = "_mesh_atm_" | ||
| nx_global = 1440 | ||
| ny_global = 721 | ||
| restfilm = "null" | ||
| / |
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,15 @@ | ||
| stream_info: PRESCRIBED01 | ||
| taxmode01: limit | ||
| mapalgo01: redist | ||
| tInterpAlgo01: linear | ||
| readMode01: single | ||
| dtlimit01: 1.5 | ||
| stream_offset01: 0 | ||
| yearFirst01: _yearFirst_ | ||
| yearLast01: _yearLast_ | ||
| yearAlign01: _yearFirst_ | ||
| stream_vectors01: "null" | ||
| stream_mesh_file01: "INPUT/DOCN_ESMF_mesh.nc" | ||
| stream_lev_dimname01: null | ||
| stream_data_files01: | ||
| stream_data_variables01: "analysed_sst So_t" |
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,9 @@ | ||
| &docn_nml | ||
| datamode = "sstdata" | ||
| model_maskfile = "_mesh_ocn_" | ||
| model_meshfile = "_mesh_ocn_" | ||
| nx_global = _nx_global_ | ||
| ny_global = _ny_global_ | ||
| restfilm = "null" | ||
| sst_constant_value = -1.0 | ||
| / |
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,15 @@ | ||
| stream_info: PRESCRIBED01 | ||
| taxmode01: limit | ||
| mapalgo01: redist | ||
| tInterpAlgo01: linear | ||
| readMode01: single | ||
| dtlimit01: 1.5 | ||
| stream_offset01: 0 | ||
| yearFirst01: _yearFirst_ | ||
| yearLast01: _yearLast_ | ||
| yearAlign01: _yearFirst_ | ||
| stream_vectors01: "null" | ||
| stream_mesh_file01: _mesh_ocn_ | ||
| stream_lev_dimname01: null | ||
| stream_data_files01: | ||
| stream_data_variables01: "sst So_t" |
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,4 +1,4 @@ | ||
| print_esmf: .false. | ||
| print_esmf: _print_esmf_ | ||
| start_year: YR | ||
| start_month: MN | ||
| start_day: DY | ||
|
|
||
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,4 +1,4 @@ | ||
| print_esmf: .false. | ||
| print_esmf: _print_esmf_ | ||
| start_year: YR | ||
| start_month: MN | ||
| start_day: DY | ||
|
|
||
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,4 +1,4 @@ | ||
| print_esmf: .false. | ||
| print_esmf: _print_esmf_ | ||
| start_year: YR | ||
| start_month: MN | ||
| start_day: DY | ||
|
|
||
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,150 @@ | ||
| ############################################## | ||
| ##### NEMS Run-Time Configuration File ##### | ||
| ############################################## | ||
|
|
||
| # EARTH # | ||
| EARTH_component_list: MED ATM OCN | ||
| EARTH_attributes:: | ||
| Verbosity = 0 | ||
| :: | ||
|
|
||
| # MED # | ||
| MED_model: cmeps | ||
| _MED_petlist_bounds_ | ||
| MED_attributes:: | ||
| Verbosity = 1 | ||
| Diagnostic = 0 | ||
| ATM_model = _atm_model_ | ||
| OCN_model = _ocn_model_ | ||
| MED_model = cmeps | ||
| history_n = 1 | ||
| history_option = ndays | ||
| history_ymd = -999 | ||
| coupling_mode = hafs | ||
| normalization = none | ||
| merge_type = copy | ||
| :: | ||
|
|
||
| # ATM # | ||
| ATM_model: _atm_model_ | ||
| _ATM_petlist_bounds_ | ||
| ATM_attributes:: | ||
| Verbosity = 1 | ||
| Diagnostic = 0 | ||
| mesh_atm = _mesh_atm_ | ||
| :: | ||
|
|
||
| # OCN # | ||
| OCN_model: _ocn_model_ | ||
| _OCN_petlist_bounds_ | ||
| OCN_attributes:: | ||
| Verbosity = 1 | ||
| Diagnostic = 0 | ||
| mesh_ocn = _mesh_ocn_ | ||
| # The following are only used by the hycom ocean model. # | ||
| cdf_impexp_freq = 3 | ||
| cpl_hour = 0 | ||
| cpl_min = 0 | ||
| cpl_sec = _cpl_dt_ | ||
| base_dtg = _base_dtg_ | ||
| merge_import = _merge_import_ | ||
| skip_first_import = .true. | ||
| hycom_arche_output = .false. | ||
| hyc_esmf_exp_output = .true. | ||
| hyc_esmf_imp_output = .true. | ||
| import_diagnostics = .false. | ||
| import_setting = flexible | ||
| hyc_impexp_file = nems.configure | ||
| espc_show_impexp_minmax = .true. | ||
| ocean_start_dtg = _ocean_start_dtg_ | ||
| start_hour = 0 | ||
| start_min = 0 | ||
| start_sec = 0 | ||
| end_hour = _end_hour_ | ||
| end_min = 0 | ||
| end_sec = 0 | ||
| :: | ||
|
|
||
| # Run Sequence # | ||
| runSeq:: | ||
| @_cpl_dt_ | ||
| ATM -> MED :remapMethod=redist | ||
| MED med_phases_post_atm | ||
| OCN -> MED :remapMethod=redist | ||
| MED med_phases_post_ocn | ||
| MED med_phases_prep_atm | ||
| MED med_phases_prep_ocn_accum | ||
| MED med_phases_prep_ocn_avg | ||
| MED -> ATM :remapMethod=redist | ||
| MED -> OCN :remapMethod=redist | ||
| ATM | ||
| OCN | ||
| MED med_phases_restart_write | ||
| MED med_phases_history_write | ||
| @ | ||
| :: | ||
|
|
||
| # Other Attributes # | ||
| DRIVER_attributes:: | ||
| start_type = startup | ||
| :: | ||
|
|
||
| ALLCOMP_attributes:: | ||
| ATM_model = _atm_model_ | ||
| OCN_model = _ocn_model_ | ||
| MED_model = cmeps | ||
| ScalarFieldCount = 3 | ||
| ScalarFieldIdxGridNX = 1 | ||
| ScalarFieldIdxGridNY = 2 | ||
| ScalarFieldIdxNextSwCday = 3 | ||
| ScalarFieldName = cpl_scalars | ||
| start_type = startup | ||
| case_name = ufs.hafs | ||
| restart_n = 1 | ||
| restart_option = ndays | ||
| restart_ymd = -999 | ||
| dbug_flag = 20 | ||
| use_coldstart = true | ||
| orb_eccen = 1.e36 | ||
| orb_iyear = 2000 | ||
| orb_iyear_align = 2000 | ||
| orb_mode = fixed_year | ||
| orb_mvelp = 1.e36 | ||
| orb_obliq = 1.e36 | ||
| mediator_read_restart = false | ||
| mediator_present = true | ||
| :: | ||
|
|
||
| ATM_modelio:: | ||
| diro = . | ||
| logfile = atm.log | ||
| :: | ||
|
|
||
| OCN_modelio:: | ||
| diro = . | ||
| logfile = ocn.log | ||
| :: | ||
|
|
||
| MED_modelio:: | ||
| diro = . | ||
| logfile = med.log | ||
| :: | ||
|
|
||
| # The following are only used by the hycom ocean model. # | ||
| ocn_export_fields:: | ||
| 'sst' 'sea_surface_temperature' 'K' | ||
| 'mask' 'ocean_mask' '1' | ||
| 'cpl_scalars' 'cpl_scalars' '1' | ||
| :: | ||
|
|
||
| # The following are only used by the hycom ocean model. # | ||
| ocn_import_fields:: | ||
| 'taux10' 'mean_zonal_moment_flx_atm' 'N_m-2' | ||
| 'tauy10' 'mean_merid_moment_flx_atm' 'N_m-2' | ||
| 'prcp' 'mean_prec_rate' 'kg_m-2_s-1' | ||
| 'swflxd' 'mean_net_sw_flx' 'W_m-2' | ||
| 'lwflxd' 'mean_net_lw_flx' 'W_m-2' | ||
| 'mslprs' 'inst_pres_height_surface' 'Pa' | ||
| 'sensflx' 'mean_sensi_heat_flx' 'W_m-2' | ||
| 'latflx' 'mean_laten_heat_flx' 'W_m-2' | ||
| :: | ||
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,4 +1,4 @@ | ||
| print_esmf: .false. | ||
| print_esmf: _print_esmf_ | ||
| start_year: YR | ||
| start_month: MN | ||
| start_day: DY | ||
|
|
||
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.