-
Notifications
You must be signed in to change notification settings - Fork 0
Ocean/moc streamfunction am #952
Ocean/moc streamfunction am #952
Conversation
|
@milenaveneziani I created the plot you requested. |
Gist for Jupyter notebookAs requested by @mark-petersen, I created a gist for the python script. |
|
Thanks @DieMuhkuh. That'd be great. |
| call mpas_dmpar_min_real_array(dminfo, 1, minBin, minBinDomain) | ||
| call mpas_dmpar_max_real_array(dminfo, 1, maxBin, maxBinDomain) | ||
|
|
||
| call mpas_dmpar_min_real_array(dminfo, maxRegionsInGroup, minLatRegionLocal(:), minLatRegionLocal(:)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For whoever deals with this PR in the future, you can't use the same buffer as the send and receive buffer in these calls. The compilers on mira fail to build / run with this, so another buffer needs to be created to store the global reductions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for looking at this. I'll be sure to use a different variable here.
|
@DieMuhkuh please put the MOC regions geojson files on a gist and add a link here. Also, if you have examples of the netcdf files created with those geojson files (probably QU 120?) please copy those to the turquoise and provide a link. |
|
I just regained access to the turquoise network and retrieved the geojson file. The geojson file for the North Atlantic region is located here: |
|
@DieMuhkuh: to further test this PR you should use the newer ocean basin regions (or you could start with the global domain). We should coordinate a bit on this. |
|
Doug wrote a 'linter' that checks for line length and white space, which can cause errors on other machines. Please run any *.F and *.xml files you have edited or added in the PR through the linter as follows: You can use my |
|
@DieMuhkuh (Nils) please look at this PR to the geometric features repo: Nils, could you test it with the RRS30to10 mesh and verify that the transect matches the boundary of the region? |
|
FYI to @xylar, @milenaveneziani and @pwolfram: Nils saw that MpasMaskCreator does not create transect groups, and has fixed it on a local branch of MPAS-Tools. We will make a PR soon. He needed that to test the transect group name in the MOC AM. |
|
@DieMuhkuh and @mark-petersen, as I wrote in MPAS-Dev/geometric_features#69 (comment), I don't think the mask creator currently will behave as you want it to. That is, I don't think there's any guarantee that the southern boundary of a region as defined in In general, I think the way that the mask creator finds the path (cell centers, edges or vertices) that correspond to a transect in |
changed transect transport am so that it uses a single transect group changed the dimension for the outputs of the MOC streamfunction to be 3 made it so that the AM wont crash when a region group with more than 3 regions in it is configured for this AM the AM will still crash horribly when the number of transects in the selected transect group is not the same as the number of regions in the selected regiongroup. changed the maximum number of MOC regions down to R3 (three) from max_regions_in_group, becuase there will be no more than 3 MOC regions plus the global MOC, which is separate anyways. ran the linter over the code and fixed every error it showed
|
@DieMuhkuh I merged this onto my |
|
@mark-petersen I ran a testrun with the branch you named and it worked out just fine. The testfolder and the AM results are in |
|
Merged into #1098: Ocean merge branch for ACME alpha 9, bit-for-bit |



Second try on merging this branch.
Please see the (rather short) discussion on the previous try:
#951