Add Fortran modules for CFSR and GEFS data sources and add a new subroutine to get data stream parameters from ESMF configuration files#73
Conversation
Update CDEPS to the 20201124 version of the master branch at ESCOMP/CDEPS.
Fortran subroutines used for CFSR data source are added. The updated code can be compiled successfully on Hera.
…onal flux calculation (NOAA-EMC#10)
This update includes component-level PIO initialization feature from the ESCOMP/CDEPS master branch.
* remove FoX depdencies * remove fox submodule * update streamfilename Co-authored-by: Jun Wang <junwang-noaa@users.noreply.github.com>
| @@ -0,0 +1,258 @@ | |||
| module datm_datamode_cfsr_mod | |||
|
|
|||
| use ESMF | |||
There was a problem hiding this comment.
Please add an only clause here. CDEPS uses only clause for all module use statements.
| integer :: lsize ! size of attr vect | ||
| real(r8) :: rtmp | ||
| real(r8) :: tbot, pbot | ||
| ! real(r8) :: vp |
There was a problem hiding this comment.
remove commented declaration
|
|
||
| do n = 1, lsize | ||
| !--- bottom layer height --- | ||
| ! Sa_z(n) = 10.0_r8 |
| @@ -0,0 +1,258 @@ | |||
| module datm_datamode_gefs_mod | |||
|
|
|||
| use ESMF | |||
There was a problem hiding this comment.
CDEPS uses only clause throughout, please add here.
|
I don't see how this could work. You have replaced shr_strdata_init_from_xml with shr_strdata_init_from_config - but your new subroutine is named shr_strdata_init_from_esmfconfig Sorry - I understand now. I withdraw this comment. |
uturuncoglu
left a comment
There was a problem hiding this comment.
Before merging this PR, I need to run full CESM test suit to be sure it is not breathing anything in CESM side. I'll update you about it.
| @@ -0,0 +1,252 @@ | |||
| module datm_datamode_cfsr_mod | |||
There was a problem hiding this comment.
I think it is better to put some information to this PR about how data need to be downloaded for CFSR (which data repository, Information if data requires pre-processing etc.) and how ESMF Mesh file is created. This will help to other users that plan to use CFSR streams.
| @@ -0,0 +1,252 @@ | |||
| module datm_datamode_gefs_mod | |||
There was a problem hiding this comment.
Same. Please add some information to the PR about usage of this data stream (download etc.).
|
All CDEPS aux tests are passed. I am also running CESM prealpha tests but they are still running. |
uturuncoglu
left a comment
There was a problem hiding this comment.
I saw some information in the PR about the preparing datasets. So, I am approving this PR but please wait for CESM tests before merge.
|
@jedwards4b @mvertens I checked the CDEPS aux tests and it seems that |
|
@jedwards4b thanks. do we need to test it again? |
|
@uturuncoglu See #84 - I merged this PR with that one for testing. I don't think we need further testing here. |
|
@jedwards4b Okay. That is great. Then we could merge this PR. @binli2337 once the PR is merged, could you also update the NOAA-EMC fork. BTW, when do you plan to update UFS Whether Model with new version of CDEPS. Eventually, that needs to go HAFS and I could start working on that level. |
|
@jedwards4b BTW, you could see other failed prealpha tests in here. Some of them was also failing in the previous PR. |
Description of changes
This PR includes the following updates:
Specific notes
The CFSR and GEFS input forcing files and mesh files are located in the baseline directories of the regression tests. For example, the files are located at /work/noaa/nems/emc.nemspara/RT/NEMSfv3gfs/input-data-20210428/DATM_CDEPS on Orion.
The scripts used to create the mesh files will be added to the following location:
https://github.com/NOAA-EMC/DATM-MOM6-CICE5/tree/develop/utilities.
Contributors other than yourself, if any: Jun.Wang@noaa.gov
CMEPS Issues Fixed (include github issue #):
Are there dependencies on other component PRs
Are changes expected to change answers?
Any User Interface Changes (namelist or namelist defaults changes)?
Testing performed:
Hashes used for testing: