Replies: 2 comments 33 replies
-
@tomchor and @ali-ramadhan may be able to answer this for For ut = FieldTimeSeries(filename, "u") # assumes you saved a field called "u"
grid = ut.grid
Δx = xspacings(grid, Face(), Center(), Center()) I think there is an issue somewhere about compatibility with xarray / xgcm if that is specifically what you are looking for. |
Beta Was this translation helpful? Give feedback.
-
Like @glwagner mentioned, we don't currently output all the grid metrics to NeTCDF, but @ali-ramadhan and I are planning on dedicating some time to implementing this soon-ish. We've been finding it hard to find the time though, se let me know if you're interested in helping out :) In the meantime, this is what I've been personally using whenever I need xgcm integration: https://pastebin.com/vSbxz7mU |
Beta Was this translation helpful? Give feedback.
-
Is there a way to write the grid metrics (distances, areas, volumes) to file?
Beta Was this translation helpful? Give feedback.
All reactions