Runonff mapping fixes#166
Conversation
in line with latest runoff/mapping changes in visualCaseGen.
|
I've attempted to resolve the conflicts, which I think is due to the merge of #159, but I am unable to run the CrocoGallery examples to test my conflict resolution. @manishvenu Has the CrocoGallery been updated for the latest changes? I am interested in running three_boundary_from_t232.ipynb in particular. |
The CrocoGallery is not updated. However that specific notebook shouldn't have issues. What is your error? |
|
When I run: I get: |
|
For some reason this grid is failing the is_rectangular check, which is super weird, I'll try running this. |
|
Oh actually, the is_rectangular check is not required for this, we just need a check for an actual rectangle, and change the is_rectangular to is_rectilinear. Do you mind removing the lines in your mom6_bathy? I can open a PR tday to make these changes. |
Removing the line fixed that issue. But I encountered another error in the |
|
Ah shoot, this is a known issue. This pr should help: CROCODILE-CESM/regional-mom6#64 I think we now use this in our specific checkout in regional mom6 and the workshop branch. |
| # ESMF mesh file: | ||
| ocn_topo.write_esmf_mesh(self.esmf_mesh_path) | ||
|
|
||
| # CICE grid file (if needed) |
There was a problem hiding this comment.
I feel like there was a reason we write the cice grid in init, but I can't remember why, so this probably works!
| fold=self.fold | ||
| ) | ||
|
|
||
| xmlchange( |
There was a problem hiding this comment.
These xml changes should be in _update_forcing_variables I think (though it doesn't matter much because I'll be moving this to ForcingConfigRegistry in the new PR)
|
📄 Preview your docs here: |
This is the last of a series of PRs to implement a robust runoff grid selection and runoff to ocean mapping generation features. The other PRs were:
ESMCI/visualCaseGen#26
https://github.com/NCAR/mom6_bathy/pull/46
Changes include: