Skip to content

Commit 43a7dcf

Browse files
committed
same as previous PR, but keep track of previous changes
1 parent fe0ac9e commit 43a7dcf

11 files changed

Lines changed: 443 additions & 363 deletions

File tree

.pre-commit-config.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ repos:
4141
hooks:
4242
- id: mypy
4343
exclude: docs
44+
additional_dependencies: [xarray]
4445

4546
- repo: https://github.com/PyCQA/doc8
4647
rev: 0.9.0a1

docs/conf.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,9 @@
6161
# Darglint is already forcing us to have consistent types in the docstring.
6262
autodoc_typehints = "none"
6363

64+
# Do not warn about missing "Methods" in class docstring
65+
numpydoc_show_class_members = False
66+
6467
# -- Options for HTML output -------------------------------------------------
6568

6669
# The theme to use for HTML and HTML Help pages. See the documentation for

docs/developers/whats-new.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ Unreleased
88

99
- Added :py:func:`~pydomcfg.bathymetry.sea_mount`
1010
useful to generate classic sea mount test case. (:pr:`17`)
11+
- Added :py:class:`~pydomcfg.domzgr.zco.Zco`
12+
to generate geopotential z-coordinates. (:pr:`15`)
1113
- Added :py:func:`~pydomcfg.utils.generate_cartesian_grid`
1214
useful to generate test datasets. (:pr:`8`)
1315
- pyDOMCFG is on GitHub! (:pr:`1`)

docs/users/api.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,17 @@ API reference
55

66
This page provides an auto-generated summary of pyDOMCFG's API.
77

8+
Domzgr
9+
======
10+
11+
Zco
12+
----
13+
.. autoclass:: pydomcfg.domzgr.zco.Zco
14+
:members:
15+
16+
.. automethod:: __init__
17+
.. automethod:: __call__
18+
819
Utils
920
=====
1021
.. autosummary::

0 commit comments

Comments
 (0)