-
Notifications
You must be signed in to change notification settings - Fork 34
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
Add sea ice recentering #1479
Add sea ice recentering #1479
Conversation
ush/soca/marine_recenter.py
Outdated
fname_in = os.path.abspath(os.path.join(mem_dir_real, f00)) | ||
fname_out = os.path.realpath(os.path.join(self.task_config.ens_dir, | ||
"cice_model.res."+str(mem)+".nc")) | ||
ens_cice_list.append([fname_in, fname_out]) | ||
fname_out = os.path.realpath(os.path.join(self.task_config.ens_dir, | ||
"cice_model.res.output."+str(mem)+".nc")) |
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.
Note: this currently copies restarts twice (to keep input and output separate), we can change this before the merge to only copy the file once, and change it in place. (I coded input and output separately so I can easily see what the recentering does).
variable change name: Soca2Cice | ||
arctic: | ||
seaice edge: 0.4 | ||
shuffle: true | ||
rescale prior: | ||
rescale: true | ||
min hice: 0.5 | ||
min hsno: 0.1 | ||
antarctic: | ||
seaice edge: 0.4 | ||
shuffle: true | ||
rescale prior: | ||
rescale: true | ||
min hice: 0.5 | ||
min hsno: 0.1 |
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.
note: these parameters should be the same as in soca2cice used in the marineanlckpt; ideally we would reference the same yaml section in both places.
Description
Adds recentering for sea ice by adding the recentering increment to the sea ice background, and calling Soca2Cice variable change.
Requires copying background files and ice restarts, I wasn't familiar with how to code this, so please review.
Companion PRs
Needs a change to global-workflow as well: guillaumevernieres/global-workflow#10
Issues
Resolves #1454
Automated CI tests to run in Global Workflow