-
Notifications
You must be signed in to change notification settings - Fork 139
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
use_restart_time and runtype = 'continue' #527
Comments
I assume this is in the nuopc cap? I think it's working fine in the mct/cesm1 cap with RASM, although maybe I should review that again. It does restart exactly. Could the issue be in the cap? |
I agree that it is likely in the cap, but I can't find where these flags interact if at all. In io_pio2/ice_restart.F90, it checks only the use_restart_time flag and not the runtype string. I was thinking there would be a line like: if (trim(runtype) == 'continue') use_restart_time = .true. However, I cannot find this anywhere. |
It appears that the scripts change the ice_in namelist on a continue run. So, the scripts appear to change the restart and use_restart_time flags. I think we need this to happen in the code. |
When you say "we need this to happen in the code" do you mean in the NUOPC code or in the main sea ice code? |
I think this will probably be in the cap used by CESM. It sounds like the CESM scripts were modifying the CICE namelist to make this happen, and Dave is proposing this be inside the code in the future. Do I understand that correctly? With standalone testing, we modify the namelist and change runtype='iniitial' and use_restart_time=.false. to "continue" and .true.. We also set restart=.true. on restart as it might have been true or false at initialization depending how the model was initialized. I guess a question we should ask is when runtype is continue, should use_restart_time or any other namelist be changed internally. I think we try to avoid those sorts of things as a matter of policy because it can really confuse users. But I think it's fine to do this in a cap for a particular application if it's useful. |
I could certainly do this in the CAP, but I still think that runtype = 'continue' should override settings to use_restart_time and restart. My understanding of use_restart_time and restart is only meant to be there for runtype = 'initial'. For the tracers we have restart_* flags, which have this in the standalone CAP: if (trim(runtype) == 'continue') restart_FY = .true. This logic is also in the standalone driver:
|
This is not working as it should in the CESM driver for CICE6. I'm not sure where there is a conditional to make sure that the restart time from the file should be used on a continue run?
The text was updated successfully, but these errors were encountered: