Skip to content

Commit efa3068

Browse files
authored
Merge pull request #52 from andrewdnolan/contouring
Implement cell contouring on the native mesh
2 parents ff77ae2 + 9c8e129 commit efa3068

15 files changed

Lines changed: 3456 additions & 82 deletions

File tree

dev-environment.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ xarray
1515
# Development
1616
click
1717
jupyterlab
18+
hyperfine
19+
line_profiler
1820
mpas_tools
1921

2022
# Building
@@ -27,7 +29,9 @@ pytest-timeout
2729
isort
2830
flake8
2931
mypy
32+
networkx
3033
pre-commit
34+
hypothesis
3135

3236
# Documentation
3337
ipywidgets

docs/conf.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ def setup(app):
5151
"sphinx.ext.intersphinx",
5252
"sphinx.ext.napoleon",
5353
"sphinx_remove_toctrees",
54+
"matplotlib.sphinxext.roles",
5455
]
5556

5657
source_suffix = {
@@ -106,6 +107,7 @@ def setup(app):
106107
napoleon_google_docstring = False
107108
napoleon_numpy_docstring = True
108109
napoleon_preprocess_types = True
110+
napoleon_use_param = False
109111
napoleon_type_aliases = {
110112
"cartopy.crs.Projection": ":class:`cartopy.crs.CRS`",
111113
# objects without namespace: xarray

docs/developers_guide/api.md

Lines changed: 8 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -10,34 +10,23 @@ API Reference
1010
1111
This page provides an auto-generated summary of mosaic's API.
1212
13-
Top Level Utilities
14-
-------------------
13+
Plotting
14+
--------
1515
.. autosummary::
1616
:toctree: generated/
1717
1818
polypcolor
19-
Descriptor
20-
datasets.open_dataset
19+
contour
20+
contourf
2121
22-
Descriptor
23-
----------
22+
Data Structures
23+
---------------
2424
25-
Constructor
26-
~~~~~~~~~~~
2725
.. autosummary::
2826
:toctree: generated/
2927
3028
Descriptor
31-
32-
Properties
33-
~~~~~~~~~~
34-
.. autosummary::
35-
:toctree: generated/
36-
37-
Descriptor.cell_patches
38-
Descriptor.edge_patches
39-
Descriptor.vertex_patches
40-
Descriptor.transform
29+
mosaic.contour.MPASContourSet
4130
4231
Helper Functions
4332
----------------
@@ -47,4 +36,5 @@ Helper Functions
4736
utils.cull_mesh
4837
utils.get_invalid_patches
4938
utils.compute_cell_centroid
39+
datasets.open_dataset
5040
```
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Design Documents
2+
3+
The pages contained within are intended to serve as somewhere between true "design documents"
4+
and a collection of notes taken *during* development. The hybrid nature of these notes is
5+
intended to document the decisions made during development and the test problems used to inform
6+
those decisions.
7+
8+
```{toctree}
9+
:maxdepth: 1
10+
:caption: Design Documents:
11+
12+
design_docs/contouring
13+
```

0 commit comments

Comments
 (0)