-
Notifications
You must be signed in to change notification settings - Fork 11
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
oocgcm does not trivially apply to mitgcm outputs #44
Comments
I would be thrilled if you could get this working! I would be happy to help as much as possible. My preferred approach is to have oocgcm rely only on the dataset metadata, without special logic for different models. So we may need to change certain aspects of xmitgcm metadata construction. As for the mask, we could easily add mask variables to xmitgcm based on the |
Is your implementation for mitgcm available somewhere? I'd be glad to try it. |
@bderembl, I have created a dedicated branch on the github repo: @rabernat, NEMO uses the following binary mask for the C grid:
What I have done for the MITGCM part, is to use
If you can generate binary masks in |
thanks. In your first post, you mention that your successfully computed gradients, etc; what kind of outputs were you using? Can you post your script? |
It seems feasible to add a |
@bderembl: are you aware of xmitgcm? It is complementary to oocgcm and provides a good way to load your data if you use MDS format. There are several of us working on and maintaining xmitgcm, and I think you will really like it. Regarding the variable names, we have explicitly tried to use the same naming conventions in our generated xarray datasets as MITgcm's netCDF output. But if you find further inconsistencies, please don't hesitate to open a new issue: https://github.com/xgcm/xmitgcm/issues |
I should also mention that we are working on xgcm: |
thanks. about the naming issue, I think your notation is consistent with the name of the binary files. the issue is probably in mitgcm itself (cf. mnc_cw_write_grid_info.F and write_grid.F) |
I have worked on adding the grid of the mitgcm, it requires a few hack to make it work with the current API:
I have successfully computed some gradients but the laplacian does not work. I think there is some work to do to test if oocgcm apply well to different models.
I have pushed a branch to keep working on it, @rabernat you might be interested in.
The text was updated successfully, but these errors were encountered: