-
Notifications
You must be signed in to change notification settings - Fork 37
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
Refactor land-ice mesh generation test cases #590
Refactor land-ice mesh generation test cases #590
Commits on Apr 11, 2023
-
Move build_cell_width() to compass.landice.mesh
Move build_cell_width() to compass.landice.mesh to greatly reduce code redundancy between all mesh-generating test cases.
Configuration menu - View commit details
-
Copy full SHA for 2adc99b - Browse repository at this point
Copy the full SHA 2adc99bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 83f27c9 - Browse repository at this point
Copy the full SHA 83f27c9View commit details -
Move most jigsaw and mpas-tools operations to compass.landice.mesh
Move most jigsaw and mpas-tools operations to compass.landice.mesh.build_MALI_mesh() to greatly reduce redundant code between mesh generation test cases.
Configuration menu - View commit details
-
Copy full SHA for 73e37e7 - Browse repository at this point
Copy the full SHA 73e37e7View commit details -
Standardize mesh generation test case and config section names
Standardize mesh generation test case and config section names, using mesh_gen for the test case and 'mesh' for the config section. All .cfg files pertaining only to mesh generation have been moved into the mesh_gen modules.
Configuration menu - View commit details
-
Copy full SHA for cd612c4 - Browse repository at this point
Copy the full SHA cd612c4View commit details -
Update landice api in developers guide
Update landice api in developers guide to include renamed methods and classes, and new functions in landice.mesh.
Configuration menu - View commit details
-
Copy full SHA for b69554d - Browse repository at this point
Copy the full SHA b69554dView commit details -
Fix output file name in humboldt mesh_gen test case
Fix inconsistent usage of Humboldt.nc and Humboldt_1to10km.nc that caused an error at the end of the test case.
Configuration menu - View commit details
-
Copy full SHA for 4532644 - Browse repository at this point
Copy the full SHA 4532644View commit details -
Add make_region_masks() function to landice.mesh.
Add make_region_masks() function to landice.mesh, and add this capability for Greenland as well as Antarctica.
Configuration menu - View commit details
-
Copy full SHA for dbf1b87 - Browse repository at this point
Copy the full SHA dbf1b87View commit details -
Fix netcdf format and engine definitions
Fix netcdf format and engine definitions, which for some reason need to be called as mpas_tools.io.default_engine rather than using: from mpas_tools.io import default_engine. The latter approach returned a None type variable, which threw an error when passed to compute_mpas_region_masks.
Configuration menu - View commit details
-
Copy full SHA for 14afb41 - Browse repository at this point
Copy the full SHA 14afb41View commit details -
Fix culling of Antarctic islands
Fix path to gridded dataset to use for building MALI mesh, in order to properly remove disconnected islands from the mesh.
Configuration menu - View commit details
-
Copy full SHA for 2141f32 - Browse repository at this point
Copy the full SHA 2141f32View commit details -
Update documentation for compass.landice.mesh
Add compass.landice.mesh to framework documentation, and update some doc-strings.
Configuration menu - View commit details
-
Copy full SHA for 1817dbb - Browse repository at this point
Copy the full SHA 1817dbbView commit details -
Fix a few typos after building docs
Fix a few typos that only became apparent after building docs.
Configuration menu - View commit details
-
Copy full SHA for 4898a44 - Browse repository at this point
Copy the full SHA 4898a44View commit details -
Update file-change-action to 1.2.4
This should reportedly fix: ``` Error: There was an issue sorting changed files from Github. Exception: { "error": "500/TypeError", "from": "sortChangedFiles", "message": "There was an issue sorting files changed.", "payload": "{}" } ``` See: trilom/file-changes-action#104
Configuration menu - View commit details
-
Copy full SHA for c62cb8d - Browse repository at this point
Copy the full SHA c62cb8dView commit details -
Change function names to all lowercase
Change function names to all lowercase in compass.landice.mesh.
Configuration menu - View commit details
-
Copy full SHA for 5543fa9 - Browse repository at this point
Copy the full SHA 5543fa9View commit details -
Update Users and Developers guides after code review
Remove extraneous information from Users Guide. Add explanation of defining x/y bounds in example config file.
Configuration menu - View commit details
-
Copy full SHA for d2ba3d7 - Browse repository at this point
Copy the full SHA d2ba3d7View commit details -
Clean up doc-strings and add required config options
Clean up doc-strings and add a list of required config options for each function in compass/landice/mesh.py that requires section_name as a parameter. Refer to the Users and Developers guides for more information on the meaning of the config options.
Configuration menu - View commit details
-
Copy full SHA for ae88c40 - Browse repository at this point
Copy the full SHA ae88c40View commit details -
Add a few more required config parameters to doc-strings.
Add a few more required config parameters to doc-strings.
Configuration menu - View commit details
-
Copy full SHA for 95af2ff - Browse repository at this point
Copy the full SHA 95af2ffView commit details -
Allow a mix of user-defined and dataset-defined bounds
Allow the user to define the bounds around a regional domain with any combination of floats and 'None'. For example, a config file that contained ``x_min = 'None'; x_max = 1.0e6; y_min = -1.0e6; y_max = 'None'`` would use you left and top boundaries of the gridded dataset, but also the user-defined values for the right and bottom boundaries.
Configuration menu - View commit details
-
Copy full SHA for 60c8d6a - Browse repository at this point
Copy the full SHA 60c8d6aView commit details -
Small clean-up from code review
Remove redundant use of ``flood_mask == 0`` Co-authored-by: Xylar Asay-Davis <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8b327bd - Browse repository at this point
Copy the full SHA 8b327bdView commit details -
Remove unnecessary calls to logger.info()
Remove unnecessary calls to logger.info(), as check_call already takes care of writing the commands to the log file.
Configuration menu - View commit details
-
Copy full SHA for 342856f - Browse repository at this point
Copy the full SHA 342856fView commit details