-
Notifications
You must be signed in to change notification settings - Fork 42
Reduce number of empty cells in extended high-resolution Greenland Ice Sheet mesh #937
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
Merged
Merged
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
3cab0b5
Add option to set resolution in ocean based on distance from coast
trhille 75f8256
Fix coast mask definition
trhille c942ce4
Do not enforce maximum resolution on bare land
trhille a02af8d
Create separate .cfg file for 1–10km Greenland mesh
trhille b017062
Fix colorbar position in landice mask plots
trhille ea55469
Fix unconditional reads from config file in set_cell_width
trhille 63adea4
Update documentation for new Greenland mesh capabilities
trhille de843b5
Remove mention of using scikit-fmm
trhille 15f86b6
Make coast mask definition consistent with description
trhille 886424e
Apply suggestions from code review
trhille 8c92f53
Make `bed` required input argument for set_cell_width()
trhille 2eefef6
Update docs to reflect which settings are now optional.
trhille File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
73 changes: 73 additions & 0 deletions
73
compass/landice/tests/greenland/mesh_gen/mesh_gen_1to10km.cfg
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,73 @@ | ||
| # config options for high_res_mesh test case | ||
| [mesh] | ||
|
|
||
| # number of levels in the mesh | ||
| levels = 10 | ||
|
|
||
| # Bounds of GIS mesh. If any bound is set | ||
| # to None, the mesh will use the full extent | ||
| # of the gridded dataset. | ||
| x_min = None | ||
| x_max = None | ||
| y_min = None | ||
| y_max = None | ||
|
|
||
| # distance from ice margin to cull (km). | ||
| # Set to a value <= 0 if you do not want | ||
| # to cull based on distance from margin. | ||
| cull_distance = -100.0 | ||
|
|
||
| # mesh density parameters | ||
| # minimum cell spacing (meters) | ||
| min_spac = 1.e3 | ||
| # maximum cell spacing (meters) | ||
| max_spac = 10.e3 | ||
| # log10 of max speed for cell spacing | ||
| high_log_speed = 2.5 | ||
| # log10 of min speed for cell spacing | ||
| low_log_speed = 0.75 | ||
| # distance at which cell spacing = max_spac | ||
| high_dist = 1.e5 | ||
| # distance within which cell spacing = min_spac | ||
| low_dist = 1.e4 | ||
| # distance at which cell spacing in ocean = max_spac | ||
| high_dist_coast = 10.e3 | ||
| # distance within which cell spacing in ocean = min_spac | ||
| low_dist_coast = 2.e3 | ||
| # distance at which bed topography has no effect | ||
| high_dist_bed = 1.e5 | ||
| # distance within which bed topography has maximum effect | ||
| low_dist_bed = 7.5e4 | ||
| # Bed elev beneath which cell spacing is minimized | ||
| low_bed = 50.0 | ||
| # Bed elev above which cell spacing is maximized | ||
| high_bed = 100.0 | ||
|
|
||
| # mesh density functions | ||
| use_speed = True | ||
| use_dist_to_grounding_line = False | ||
| use_dist_to_edge = True | ||
| use_dist_to_coast = True | ||
| use_bed = True | ||
|
|
||
| [greenland] | ||
| # Whether to interpolate data (controls run_optional_interpolation) | ||
| interpolate_data = True | ||
| # path to directory containing BedMachine and Measures datasets | ||
| # (default value is for Perlmutter) | ||
| data_path = /global/cfs/cdirs/fanssie/standard_datasets/GIS_datasets/ | ||
|
|
||
|
trhille marked this conversation as resolved.
|
||
| # filename of the BedMachine thickness and bedTopography dataset | ||
| # (default value is for Perlmutter) | ||
| bedmachine_filename = BedMachineGreenland-v6_edits_floodFill_extrap.nc | ||
|
|
||
| # filename of the MEaSUREs ice velocity dataset | ||
| # (default value is for Perlmutter) | ||
| measures_filename = greenland_vel_mosaic500_extrap.nc | ||
|
|
||
| # projection of the source datasets, according to the dictionary keys | ||
| # create_scrip_file_from_planar_rectangular_grid from MPAS_Tools | ||
| src_proj = gis-gimp | ||
|
|
||
| # number of processors to use for ESMF_RegridWeightGen | ||
| nProcs = 2048 | ||
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.