-
Notifications
You must be signed in to change notification settings - Fork 240
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
FATES output time mismatch with metadata #1939
Comments
You can see here what I mean. The current time var we use increases linearly rather than restarts each new simulation year.
But in the PEcAn output we are defining as:
|
And as reminded by @infotroph
So just some general PEcAn standard output tidying up for FATES. Since FATES is no leap we need to set PEcAn output to noleap. |
…rrent fix is to keep the same time time_since from the first year of the run (CLM default). However we could change this so it resets for each year if that is preferred
Updated FATES output time variable to fix issue #1939.
…rrent fix is to keep the same time time_since from the first year of the run (CLM default). However we could change this so it resets for each year if that is preferred
…ates Updated FATES output time variable to fix issue PecanProject#1939.
This issue is stale because it has been open 365 days with no activity. |
@serbinsh is this still reproducible with the current code? |
Describe the bug
Presently in the FATES pecan standard output we define the time variable as something like:
However the time variable data we use from FATES output actually counts up continuously from the start year, e.g. :
As such our PEcAn nc metadata does not match the FATES output. We either need to 1) replace the time since part and instead set it the same as FATES such that each successive year has "days since" of the start year OR 2) stop using
nc.time <- ncin$dim$time$vals # days since "start_date"
or modify such that each year correctly has days since that yearTo Reproduce
Steps to reproduce the behavior:
Run PEcAn-FATES
Expected behavior
We should have consistency between the time variable definition and the time data
Screenshots
NA
Machine (please complete the following information):
Server [e.g. BU, NCSA, VM, etc.]
modex but would apply to all
OS: [e.g.Linux]
Linux but applies to all
Browser(if applicable) [e.g. chrome, safari]
NA
Version [e.g. 22]
develop
The text was updated successfully, but these errors were encountered: