-
Notifications
You must be signed in to change notification settings - Fork 353
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
Ocean *_write_on_startup = .True.
option produces faulty xtime for first output
#2499
Comments
@pwolfram I don't think this is a bug in the E3SM driver. This is a requirement due to the coupler sequencing. In all E3SM simulations, the ocean is not run until after the first coupling interval and only the clock is advanced a coupling timestep (ocean). So I don't think this is a bug, but @jonbob should confirm. |
@pwolfram - can you provide details about the run you saw this in? @vanroekel is correct that this is known to have problems in coupled runs, which is why it is off by default in E3SM. But xtime should not be off by 15 days, more like a coupling timestep. Can you point me to your run and output? |
@jonbob -- An example run is here:
This is a 60to30 G-case with physics only. It was run for a full month without particles, and then particles were turned on starting at Feb 1. See the xtime output on This is common across multiple cases, but most apparent with the February startup. I haven't tried doing write_on_startup for any other output, but we assume this is a common issue across output and not just for particles. |
Thank you @vanroekel, @jonbob. I should note that for the case at The fundamental issue is that the initialization of the MPAS-O clock in E3SM does not appear to be correct. @bradyrx observed that the string of |
This issue came up again today-- just a reminder to everyone that we shouldn't forget this issue. |
I tried grepping for "0000-01-15" in both the MPAS and E3SM codes (since this seems unlikely to come out of come calculation -- we start with year 0001 and a time average over January should give us 01-15_12:00:00 as the mean time. E3SM didn't turn up anything. What I could find were: It's unclear to me why these dates are hard coded (perhaps inherited from MPAS-Seaice?) or why this date was chosen. It's even more unclear to me why this date would influence the time written out with |
@mark-petersen, this is the issue I was referring to today that I think might also be related to alarms not working as expected on startup (either from init or from restart). |
…rkflow-upgrades Automatically Merged using E3SM Pull Request AutoTester PR Title: b'Minor tweaks to gh-pages workflow' PR Author: bartgol
The first time step output using
*_write_on_startup = .True.
for the model and analysis members produces a faulty xtime entry of0000-01-15_00:00:00
. This is true formpaso.hist.0001*nc
as well as for AM output, e.g.,mpaso.hist.am.lagrPartTrack.*nc
.A comparison of source code for the E3SM MPAS-O driver vs MPAS-O forward mode suggests that the mpas clock may not be initialized properly.
In E3SM
mpas-ocean/driver/ocn_comp_mct.F
:In
MPAS-O src/core_ocean/mode_forward/mpas_ocn_forward_mode.F
:In particular, lines like
may be missing from the E3SM MPAS-O driver code.
cc @maltrud, @jonbob, @bradyrx
The text was updated successfully, but these errors were encountered: