Skip to content
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

CDEPS time logic is flawed for GEFS forcing files #38

Closed
pjpegion opened this issue Oct 26, 2021 · 8 comments
Closed

CDEPS time logic is flawed for GEFS forcing files #38

pjpegion opened this issue Oct 26, 2021 · 8 comments

Comments

@pjpegion
Copy link

I see that the time coming out of the model is not consistent with the time-stamp in the netcdf files for the GEFS forcing files.

If you look at the log files from the regression tests, the cfsr forcing test works correctly:

(shr_strdata_readstrm) reading file lb: DATM_INPUT/cfsr.201110.nc 1
(shr_strdata_readstrm) reading file ub: DATM_INPUT/cfsr.201110.nc 2

but the GEFS forcing shows:

(shr_strdata_readstrm) reading file lb: DATM_INPUT/gefs.201110.nc 21
(shr_strdata_readstrm) reading file ub: DATM_INPUT/gefs.201110.nc 1

I believe this is because of a possible calendar bug, the GEFS files have a time unit of:
time:units = "hours since 1-1-1 00:00:00" ;
time:calendar = "gregorian" ;

I put in a bunch of print statements, and the figuring out out of times is not returning the correct dates.
please see on hera: /scratch2/BMC/gsienkf/Philip.Pegion/stmp2/Philip.Pegion/FV3_RT/rt_86678/datm_cdeps_control_gefs/out.5

@binli2337
Copy link
Collaborator

@pjpegion The time units need to be revised for both cfsr and gefs data. The issues were reported in #6.

@binli2337
Copy link
Collaborator

@hyunchul386 I think the time units should be changed to "seconds since 1970-01-01 00:00:00.0". Also, the time values need to be recalculated for the GEFS dataset.

@hyunchul386
Copy link

hyunchul386 commented Oct 29, 2021 via email

@binli2337
Copy link
Collaborator

@hyunchul386 Thanks!

@binli2337
Copy link
Collaborator

@hyunchul386 I have regenerated the GEFS input data used in the current ufs-weather-model regression tests (from 2011100100 to 2011100600).

@hyunchul386
Copy link

hyunchul386 commented Mar 4, 2022 via email

@binli
Copy link

binli commented Mar 5, 2022

binli2337

binli2337 is the right person.

@binli2337
Copy link
Collaborator

The issue is fixed.

binli2337 pushed a commit that referenced this issue Jan 30, 2023
remove shr_mpi_mod
Description of changes

Remove shr_mpi_mod and replace with ESMF_VM operations.
Specific notes

Contributors other than yourself, if any:

CDEPS Issues Fixed: #38

Are there dependencies on other component PRs (if so list):

Are changes expected to change answers: bfb
Any User Interface Changes (namelist or namelist defaults changes): no

Testing performed (e.g. aux_cdeps, CESM prealpha, etc): aux_cdeps on cheyenne intel, all pass.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants