Skip to content
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

Write grid variables only once. #613

Open
dabail10 opened this issue Jun 22, 2021 · 1 comment
Open

Write grid variables only once. #613

dabail10 opened this issue Jun 22, 2021 · 1 comment

Comments

@dabail10
Copy link
Contributor

One thing that has annoyed me for years is the missing values in land (from land block elimination) in the grid variables. Several users have requested that we fill in the land blocks with valid values. Mostly for analysis after the fact. One way to do this is how they do it in CESM-POP. There is a single file with the string "once" in it, where the time constant variables are written only once. This would be written in ice_grid.F90 when the global arrays are read in. This is still CF-compliant in the sense that this file would always accompany the history files. It also would save some space not writing all the grid information to every history file.

@anton-seaice
Copy link
Contributor

I "think" we currently only have the missing values during the early initialization (i.e. during init_grid2) so the easiest thing would be to create and write the one-off / fixed frequency grid output file during that subroutine.

If we want to keep (in memory) the coordinates for eliminated land blocks to include in the history output, then the change gets a bit more complicated!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants