Repository navigation
add call to remove land locked cells - #49
mark-petersen merged 5 commits into
Conversation
|
See MPAS-Dev/MPAS-Tools#220 for matching PR. |
274400d to
e168103
Compare
xylar
left a comment
There was a problem hiding this comment.
If I do a grep on init_step.py, I see 25 test cases that use this script. But If I grep for ocean/coastline_alteration/add_land_locked_cells_to_mask.py, it only gets linked into 18 test cases. As a result, I'm getting errors in any test cases without the links, including several in the nightly regression test suite.
| mesh_database = FULL_PATH_TO_LOCAL_MESH_DATABASE | ||
| initial_condition_database = FULL_PATH_TO_LOCAL_INITIAL_CONDITION_DATABASE | ||
| geometric_features = FULL_PATH_TO_LOCAL_CHECKOUT_OF_GEOMETRIC_FEATURES_DATABASE | ||
| mpas_tools = FULL_PATH_TO_MPAS_TOOLS_REPO |
There was a problem hiding this comment.
@mark-petersen, would it make sense to use this path for the various mesh conversion tools, too? Or do you think it makes sense to have separate links still like above? I'd lean toward making them use this new path.
There was a problem hiding this comment.
We could also postpone this for another time.
There was a problem hiding this comment.
I thought about that too. It depends on whether people use different executables for gnu/intel debug/optimized for testing.
Regardless, we are reorganizing the directories in MPAS-Tools, I'd like to save that for a PR after the reorg.
|
Thanks for the updated version. I'm retesting now. |
xylar
left a comment
There was a problem hiding this comment.
Okay, tests seem to be passing just fine now. I'd suggest running the full regression test suite before merging, but this looks good to me.
|
@mark-petersen, for the sake of documentation, could you describe your last 2 commits? Namely, are critical passages widened for the v3 meshes we're already using? Or would this be something you suggest we do going forward? |
|
Good point. So far on this PR I am able to confirm I can reproduce the correct "V3" number of grid cells for:
So RRS30to10 requires |
|
Great, I think this PR is really important for provenance. |
|
Also confirmed this matches uploaded grid:
|
For long init runs like RRS18to6, it's important to have input and output files, rather than overwriting, because the process will often get killed halfway through. Also, change max number sweeps to 20 for RRS18to6.
This is needed to create a V3 mesh with COMPASS. It has a matching PR in MPAS-Tools. NON-BFB MATCH for ocean nightly regression suite for global (QU240) cases when tested against previous commit. The QU240 will have a different number of cells. In order for new scripts to work, this version of MPAS-Model must be run with this commit of MPAS-Tools or later: f825edf Merge PR #220 'ocean/remove_landlocked_cells' into master
…n/develop This is needed to create a V3 mesh with COMPASS. It has a matching PR in MPAS-Tools. NON-BFB MATCH for ocean nightly regression suite for global (QU240) cases when tested against previous commit. The QU240 will have a different number of cells. In order for new scripts to work, this version of MPAS-Model must be run with this commit of MPAS-Tools or later: f825edf Merge PR MPAS-Dev#220 'ocean/remove_landlocked_cells' into master
Update legacy docs
* In core_atmosphere added config_gvf_update logical parameter. If true, then green vegetation fraction is updated from climatology, when false - the GVF value from *init.nc is used for the length of the forecast. * Set default value of config_gvf_update to true in Registry.xml. * Pass config_gvf_update into physics/mpas_atmphys_update_surface.F so that if config_gvf_update=false, the VEGFRA is not overwritten by the climatology. * Added security check in mpas_atmphys_initialize_real.F for the situation when nvegopt=2, but there is no green vegetation fraction in the RAP/RRFS grib output. * Nvegopt is not needed in mpas_init_atm_cases.F and removed. * Removed nvegopt from subroutines in physics/mpas_atmphys_initialize_real.F where it is not used. * In physics/mpas_atmphys_manager.F create a joint alarm for alvedo and GVF, although it is not needed for GVF. * modified: core_atmosphere/physics/mpas_atmphys_initialize_real.F modified: core_init_atmosphere/mpas_init_atm_cases.F Returned nveg_opt which I erroneously deleted. * In mpas_init_atm_cases.F, a fix for the idealized case (courtesy Anders Jensen): shdmin and shdmax are in the first guess entity now, not in mesh. * In mpas_atmphys_manager.F restored original spacing.
This is needed to create a V3 mesh with COMPASS. It has a matching PR in MPAS-Tools.