-
Notifications
You must be signed in to change notification settings - Fork 1
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
Cherry pick ice_in and year_align changes from MOM6-CICE6 repo #15
Cherry pick ice_in and year_align changes from MOM6-CICE6 repo #15
Conversation
* Copy OM2 CICE Config * updates for icefields which are on by default * address review comments * review comments * review comments (cherry picked from MOM6-CICE6 commit c45fb289997d82a719b4edc44ab9f2edd729d16e)
(cherry picked from MOM6-CICE6 commit ec47d8a216746efbf62bfdcb3604b3c39308204e)
xarray also interprets this with the 1900-01-04 date
|
For gridded outputs the dates in
Upon checking your configuration I also found that the |
And non-gridded output? (Can we delete those lines from ww3_shel.nml? )
Yeah I did that, which gave me the daily output above, but the dates in that output are set wrong. |
The point output feature is not fully implemented in the current RYF configuration since the point outputs are binary files and I am currently using it only for testing purposes. The stride is currently set to zero (refer here), preventing the generation of any point outputs. Nevertheless, it's essential to include these lines as we plan to incorporate this feature in the future. |
why is it
rather than
? |
It looks like the time:units get set based on current time before the model is run: but then the elapsed time used for the time value is based on the model start time: Ill investigate more! |
So does that mean the units will be different for each successive run of an experiment? I'm wondering whether xarray would handle concatenation in that case. |
That's what it looks like. e.g., if a run is 1 day long, the first run would be correct (day 1 + 1 day), the second would be day 2 + 2 days (i.e. day 4) , the third would be day 3 + 3 days (i.e. day 6) etc.
I think it handles different time-steps ok, as long as they don't overlap. i.e. I have concatenated monthly and daily data before. |
I raised ESCOMP/WW3#17 As its specific to the nuopc cap, we might need a patch. I guess we should also raise an issue in the access-om3 repo. I think I am happy enough this all works otherwise. and the history output problem is unrelated to this change. I suggest we turn on floe size distribution in a subsequent PR (rather than this one). |
@aekiss @ezhilsabareesh8 :- Can you review please? :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks good to me.
restart_pond_topo = .false. | ||
restart_snow = .false. | ||
tr_aero = .false. | ||
tr_fsd = .false. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tr_fsd
is required for floe size distribution, we can include it in the next PR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, thanks @anton-seaice
Happy for you to merge @anton-seaice |
I dont have write permission :) |
I cherry picked recent config changes from MOM6-CICE6 repo:
I noted two things when running this:
Note the
time:units
are seconds since 1900-01-02, but the the time is 172800 (= 2 days). This gives a date of 1900-01-04 00:00:00, however the expected result is the output represents the average from 1900-01-02 00:00:00 to 1900-01-02 24:00:00. Is this a known issue @ezhilsabareesh8 ?(n.b., I set nuopc.runconfig stop and restart to 1 day, and wav history_n to 1 day, and ran twice in Payu)