-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* configure the api documentation * document grid info objects * expose the dggs info classes * generate entries for the grid info objects * add `xarray`, `numpy` and `pandas` intersphinx entries * install the project * expose the plotting mechanism * get the documentation to pass without warnings * minimal docstring for `HealpixInfo.nside` * minimal docstring for `HealpixInfo.nest` * remove `Dataset.dggs.explore`, which errors currently * docstrings for `cell_centers` and `cell_boundaries` * document `*.dggs.grid_info` * docstring for `from_dict` * remove the trailing slash from the toctree dir * document `tutorial.open_dataset` * clarify the role of the grid names * set some generic aliases * improve the docstrings of `index` and `coord` * make `cell_ids` an alias of `coord` * restructure the api docs * document the healpix grid info object * document the h3 grid info class * don't document the `valid_parameters` class attribute * don't count `unique` as a valid indexing scheme * document `xdggs.decode` * link to the documentation in the package metadata
- Loading branch information
Showing
14 changed files
with
428 additions
and
18 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -70,6 +70,7 @@ instance/ | |
|
||
# Sphinx documentation | ||
docs/_build/ | ||
docs/generated/ | ||
|
||
# PyBuilder | ||
.pybuilder/ | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,3 +27,4 @@ dependencies: | |
- pip | ||
- pip: | ||
- h3ronpy | ||
- -e .. |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
:orphan: | ||
|
||
.. currentmodule:: xdggs | ||
|
||
.. autosummary:: | ||
:toctree: generated | ||
|
||
DGGSInfo.resolution | ||
|
||
DGGSInfo.from_dict | ||
DGGSInfo.to_dict | ||
DGGSInfo.cell_boundaries | ||
DGGSInfo.cell_ids2geographic | ||
DGGSInfo.geographic2cell_ids | ||
|
||
HealpixInfo.resolution | ||
HealpixInfo.indexing_scheme | ||
HealpixInfo.valid_parameters | ||
HealpixInfo.nside | ||
HealpixInfo.nest | ||
|
||
HealpixInfo.from_dict | ||
HealpixInfo.to_dict | ||
HealpixInfo.cell_boundaries | ||
HealpixInfo.cell_ids2geographic | ||
HealpixInfo.geographic2cell_ids | ||
|
||
H3Info.resolution | ||
H3Info.valid_parameters | ||
|
||
H3Info.from_dict | ||
H3Info.to_dict | ||
H3Info.cell_boundaries | ||
H3Info.cell_ids2geographic | ||
H3Info.geographic2cell_ids |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
.. _api: | ||
|
||
############# | ||
API reference | ||
############# | ||
|
||
Top-level functions | ||
=================== | ||
|
||
.. currentmodule:: xdggs | ||
|
||
.. autosummary:: | ||
:toctree: generated | ||
|
||
decode | ||
|
||
Grid parameter objects | ||
====================== | ||
|
||
.. autosummary:: | ||
:toctree: generated | ||
|
||
DGGSInfo | ||
|
||
HealpixInfo | ||
H3Info | ||
|
||
.. currentmodule:: xarray | ||
|
||
Dataset | ||
======= | ||
|
||
Parameters | ||
---------- | ||
.. autosummary:: | ||
:toctree: generated | ||
:template: autosummary/accessor_attribute.rst | ||
|
||
Dataset.dggs.grid_info | ||
Dataset.dggs.params | ||
|
||
|
||
Data inference | ||
-------------- | ||
|
||
.. autosummary:: | ||
:toctree: generated | ||
:template: autosummary/accessor_method.rst | ||
|
||
Dataset.dggs.cell_centers | ||
Dataset.dggs.cell_boundaries | ||
|
||
DataArray | ||
========= | ||
|
||
Parameters | ||
---------- | ||
.. autosummary:: | ||
:toctree: generated | ||
:template: autosummary/accessor_attribute.rst | ||
|
||
DataArray.dggs.grid_info | ||
DataArray.dggs.params | ||
|
||
|
||
Data inference | ||
-------------- | ||
|
||
.. autosummary:: | ||
:toctree: generated | ||
:template: autosummary/accessor_method.rst | ||
|
||
DataArray.dggs.cell_centers | ||
DataArray.dggs.cell_boundaries | ||
|
||
Plotting | ||
-------- | ||
.. autosummary:: | ||
:toctree: generated | ||
:template: autosummary/accessor_method.rst | ||
|
||
DataArray.dggs.explore | ||
|
||
Tutorial | ||
======== | ||
|
||
.. currentmodule:: xdggs | ||
|
||
.. autosummary:: | ||
:toctree: generated | ||
|
||
tutorial.open_dataset |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,5 @@ | ||
# welcome to the documentation of `xdggs` | ||
|
||
```{toctree} | ||
api.rst | ||
``` |
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.