Skip to content

Add documentation - #6

Merged
xylar merged 4 commits into
MPAS-Dev:masterfrom
xylar:add_docs
Nov 9, 2020
Merged

xylar merged 4 commits into
MPAS-Dev:masterfrom
xylar:add_docs

Conversation

@xylar

@xylar xylar commented Nov 6, 2020 •

Copy link
Copy Markdown
Collaborator

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 docs folder to docs/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.

@xylar xylar added the documentation Improvements or additions to documentation label Nov 6, 2020
@xylar xylar self-assigned this Nov 6, 2020
@xylar

xylar commented Nov 6, 2020

Copy link
Copy Markdown
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 docs/old_docs

@mark-petersen mark-petersen left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 matthewhoffman left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@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.

@xylar

xylar commented Nov 9, 2020

Copy link
Copy Markdown
Collaborator Author

Thanks to both of you!

@xylar
xylar merged commit 3894a36 into MPAS-Dev:master Nov 9, 2020
@xylar
xylar deleted the add_docs branch November 9, 2020 20:16
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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants