Pickup a simulation at a certain timestep and run it in a different horizontal resolution #2444
Replies: 3 comments 9 replies
-
We don't have horizontal regridding right now but it's a highly desirable feature to have. Is generic regridding built into The best we can do now using existing Oceananigans tools is vertical regridding, which is provided by https://github.com/CliMA/Oceananigans.jl/blob/main/src/Fields/regridding_fields.jl this feature is experimental and so undocumented. Simple horizontal regridding could be achieved by extending that utility to work in Eventually we will likely need more general regridding between grids that are only partially overlapping and possibly not coincident (eg CubedSphere to lat-lon, etc). I'd be curious to know what tools are out there, especially in Julia. This utility: https://github.com/ClimateGlobalChange/tempestremap is used for climate applications and we probably will need either to use it or write something with similar functionality, and I think https://github.com/CliMA/ClimaCoupler.jl either uses that now or will in the future. |
Beta Was this translation helpful? Give feedback.
-
Might be worth mentioning two other codes I recently learned about for coarse-graining and filtering geophysical data: These tools seem oriented towards post-processing / analysis, but I don't see why they couldn't be useful, at least in principle, for forward simulations. Maybe @NoraLoose has more to add? |
Beta Was this translation helpful? Give feedback.
-
@iuryt you could also look at what @gaelforget has ( https://github.com/gaelforget ). Gael has some interpolation code here https://juliaclimate.github.io/MeshArrays.jl/dev/tutorials/#Geography . He is interested in collaborations to help grow collections of tools/libraries . |
Beta Was this translation helpful? Give feedback.
-
Hi all I am running a submesoscale simulation of 1km resolution and I would like to pickup at a certain timestep (e.g. 30 days of simulation), average for each 10 km and run it in a coarsen resolution.
My confort-zone answer:
xarray
and save to another nc fileI am looking to ways to do that using Julia (if it is easier). My idea is to have a
.jl
file for each simulation.In the file for coarsen resolution simulation I would read the output from 1km simulation, average the fields and run in the new grid.
Any idea on which methods or previous examples I could explore?
Beta Was this translation helpful? Give feedback.
All reactions