Repository navigation
Add documentation - #6
Merged
Merged
Conversation
Index is from compass, not main MPAS-Model docs.
Collaborator
Author
|
@mark-petersen and @matthewhoffman, I think all I need as a review is you to make sure you're okay with this as a starting point for better documentation in the future, and that you're okay with me moving the old, outdated documentation to |
mark-petersen
approved these changes
Nov 9, 2020
mark-petersen
left a comment
Collaborator
There was a problem hiding this comment.
Approved by visual inspection. I am excited to have read-the-docs match our test cases here and build out the documentation. Ditto for the MPAS-Model repo.
matthewhoffman
approved these changes
Nov 9, 2020
matthewhoffman
left a comment
Member
There was a problem hiding this comment.
@xylar , this looks fine to me. I agree that having a more robust documentation system would be a real asset. I don't have the experience to evaluate this approach, but I know you've vetted this approach for other parts of the project.
Collaborator
Author
|
Thanks to both of you! |
trhille
added a commit
to trhille/compass
that referenced
this pull request
Sep 26, 2026
Addressed review comments MPAS-Dev#1, MPAS-Dev#2, MPAS-Dev#3, MPAS-Dev#4, MPAS-Dev#5, MPAS-Dev#6, MPAS-Dev#7, MPAS-Dev#8 from the Copilot review. Deferred MPAS-Dev#9 (Dask dependency) and MPAS-Dev#10 (test suite) as low priority. CODE FIXES: region) to the nearest region by great-circle distance (cKDTree), instead of silently assigning them to basin 1 via argmax. Overlapping cells (multiple regions) still pick the first matching region. Added lat/lon parameters to build_basin_ids and updated the call site in load_mesh_and_basins. greenland_3d.py so only the public API (Config and run) remains non- underscored. This satisfies the repository convention that non-underscore module-scope symbols should be documented in api.rst. ice) with a finite JSON target would crash calibrate_gamma0 instead of being excluded. Now NaN out empty regions in the target array before calibration, so active_regions correctly excludes both NaN targets and empty regions. DOC FIXES: (it uses forcing_interval_annual). GrIS 3D stays in Monthly (correct). {mesh}_2dThermalForcing_*.nc (GrIS) and {mesh}_3dThermalForcing_*.nc (AIS; optional GrIS), and fixed lowercase smb→SMB. locations (user/dev ismip7_forcing.rst) since the checked-in JSON requests 20 levels and it's configurable. NETCDF3_64BIT" to "netCDF4 engine → nccopy -k nc6 for CDF-2" (actual implementation uses netCDF4 + nccopy conversion). block (required by ismip7_run as melt_params_path but was undocumented). Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This merge brings in documentation from https://github.com/MPAS-Dev/MPAS-Model/tree/ocean/develop/docs/compass
It moves the outdated documentation in the
docsfolder todocs/old_docs, with the idea that it could be deleted once everyone is good with the new documentation format using sphinx.The merge also adds the YAML file that will be needed for future integration of Azure Pipelines for automatically building and uploading the documentation. This is analogous to what has been done for MPAS-Model, MPAS-Tools, MPAS-Analysis, pyremap and geometric_features.