-
Notifications
You must be signed in to change notification settings - Fork 23
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
grids in /g/data/ik11 don't have the same format #233
Comments
I can do hocus-pocus to go around it but we should fix it. It makes it cumbersome to compare things across the three resolutions. (Unfortunately I don't have any idea how to produce these files so when I say "we should fix it" in principle I just hope somebody else will do :() |
Agreed, and I also don't know how to do it. I'm guessing @aidanheerdegen does? FYI I'm abstracting away these cumbersome differences by accessing the data via |
hm... can you elaborate on this (eg point to a notebook)? Are these methods in cosima-recipes? |
see |
Stop me if I'm wrong, but all of our runs include an E.g. for the 1/10th-degree: |
Because those files they have nans for land e.g. in geolon, geolat and this creates trouble in plotting or interpolation. |
Seems very complicated... :( |
Don't bother though. I managed to do what I needed. Just wanted to point out the asymmetry in the grid files. |
Seems @AndyHoggANU made them: $ ls -l
total 514020
-rw-r--r-- 1 amh157 ik11 44099122 Apr 12 2020 Antarctic_slope_contour_1000m.npz
-rw-r----- 1 amh157 ik11 466576179 Mar 23 2020 ocean_grid_01.nc
-rw-r----- 1 amh157 ik11 14521988 Mar 20 2020 ocean_grid_025.nc
-rw-r----- 1 amh157 ik11 1146336 Apr 6 2020 ocean_grid_10.nc |
deep inside we all know @AndyHoggANU's fault.. @AndyHoggANU, can you comment on this asymmetry or recreate the 0.10 deg file to have the same structure as the other ones? |
I just copied them there as a hack. @russfiedler created the 01deg one: // global attributes: |
Old school the way to get a grid without missing values was to run the model for a time step unmasked. The ice grid has all the lat and lon unmasked, so that is an option too. |
That looks like a file created with a tool that I created to generate info for our assimilation suite which wants info in the form of older style grid_spec.nc. files https://github.com/russfiedler/grid_spec_tools Should work for any mosaic style set up. |
I've been running into more troubles with this asymmetry... I can fix it if nobody is willing to put their hand up! But I have no idea how? Could you enlighten me? (I don't know Fortran nor I can run Fortran though...) |
we are working on fixing this here: COSIMA/cosima-recipes#212 |
BUT
The text was updated successfully, but these errors were encountered: