-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #130 from zmoon/docs
Update docs config
- Loading branch information
Showing
61 changed files
with
356 additions
and
4,060 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
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,22 +1,16 @@ | ||
version: 2 | ||
|
||
build: | ||
image: latest | ||
os: "ubuntu-20.04" | ||
tools: | ||
python: "mambaforge-4.10" | ||
|
||
# Build documentation in the docs/ directory with Sphinx | ||
sphinx: | ||
configuration: docs/conf.py | ||
|
||
conda: | ||
environment: docs/environment-docs.yml | ||
|
||
formats: | ||
- epub | ||
#conda: | ||
# environment: docs/environment.yml | ||
|
||
# Optionally set the version of Python and requirements required to build your docs | ||
python: | ||
version: 3.6 | ||
# setup_py_install: false | ||
|
||
install: | ||
- requirements: docs/requirements.txt |
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,24 +1,123 @@ | ||
|
||
Get in touch | ||
Get in Touch | ||
------------ | ||
|
||
Ask questions, suggest features or view source code `on GitHub`_. | ||
|
||
If an issue arrises please post on the `GitHub` issues. | ||
If an issue arrises please post on the | ||
`GitHub issues <https://github.com/noaa-oar-arl/monet/issues>`__. | ||
|
||
|
||
API | ||
--- | ||
|
||
* :ref:`genindex` | ||
* :ref:`modindex` | ||
* :ref:`search` | ||
.. module:: monet | ||
|
||
.. toctree:: | ||
:maxdepth: 4 | ||
|
||
source/monet | ||
source/modules | ||
Top-level functions | ||
~~~~~~~~~~~~~~~~~~~ | ||
|
||
.. autosummary:: | ||
:toctree: api/ | ||
:recursive: | ||
|
||
.. _on GitHub: https://github.com/noaa-oar-arl/MONET | ||
monet.dataset_to_monet | ||
monet.rename_to_monet_latlon | ||
monet.rename_latlon | ||
|
||
|
||
Modules | ||
~~~~~~~ | ||
|
||
.. autosummary:: | ||
:toctree: api/ | ||
:recursive: | ||
|
||
monet.met_funcs | ||
monet.plots | ||
monet.util | ||
|
||
|
||
.. _xarray-accessors: | ||
|
||
DataArray Accessor | ||
~~~~~~~~~~~~~~~~~~ | ||
|
||
.. currentmodule:: xarray | ||
|
||
.. autosummary:: | ||
:toctree: api/ | ||
:template: autosummary/accessor_method.rst | ||
|
||
DataArray.monet.wrap_longitudes | ||
DataArray.monet.tidy | ||
DataArray.monet.is_land | ||
DataArray.monet.is_ocean | ||
DataArray.monet.cftime_to_datetime64 | ||
DataArray.monet.structure_for_monet | ||
DataArray.monet.stratify | ||
DataArray.monet.window | ||
DataArray.monet.interp_constant_lat | ||
DataArray.monet.interp_constant_lon | ||
DataArray.monet.nearest_ij | ||
DataArray.monet.nearest_latlon | ||
DataArray.monet.quick_imshow | ||
DataArray.monet.quick_map | ||
DataArray.monet.quick_contourf | ||
DataArray.monet.remap_nearest | ||
DataArray.monet.remap_xesmf | ||
DataArray.monet.combine_point | ||
|
||
|
||
Dataset Accessor | ||
~~~~~~~~~~~~~~~~ | ||
|
||
.. currentmodule:: xarray | ||
|
||
.. autosummary:: | ||
:toctree: api/ | ||
:template: autosummary/accessor_method.rst | ||
|
||
Dataset.monet.wrap_longitudes | ||
Dataset.monet.tidy | ||
Dataset.monet.is_land | ||
Dataset.monet.is_ocean | ||
Dataset.monet.cftime_to_datetime64 | ||
Dataset.monet.stratify | ||
Dataset.monet.window | ||
Dataset.monet.interp_constant_lat | ||
Dataset.monet.interp_constant_lon | ||
Dataset.monet.nearest_ij | ||
Dataset.monet.nearest_latlon | ||
Dataset.monet.remap_nearest | ||
Dataset.monet.remap_nearest_unstructured | ||
Dataset.monet.remap_xesmf | ||
Dataset.monet.combine_point | ||
|
||
|
||
.. _pandas-accessors: | ||
|
||
DataFrame Accessor | ||
~~~~~~~~~~~~~~~~~~ | ||
|
||
.. currentmodule:: pandas | ||
|
||
.. autosummary:: | ||
:toctree: api/ | ||
:template: autosummary/accessor_method.rst | ||
|
||
DataFrame.monet.to_ascii2nc_df | ||
DataFrame.monet.to_ascii2nc_list | ||
DataFrame.monet.rename_for_monet | ||
DataFrame.monet.get_sparse_SwathDefinition | ||
DataFrame.monet.remap_nearest | ||
DataFrame.monet.cftime_to_datetime64 | ||
|
||
.. autosummary:: | ||
:toctree: api/ | ||
:template: autosummary/accessor_attribute.rst | ||
|
||
DataFrame.monet.center | ||
|
||
|
||
.. _on GitHub: https://github.com/noaa-oar-arl/monet |
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 |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: monet-docs | ||
channels: | ||
- conda-forge | ||
- nodefaults | ||
dependencies: | ||
- python=3.9 | ||
- ipykernel | ||
- ipython | ||
# | ||
# core | ||
- cartopy | ||
- dask | ||
- matplotlib | ||
- netcdf4 | ||
- numpy | ||
- pandas>=1.0 | ||
- pydecorate | ||
- seaborn | ||
- xarray | ||
# | ||
# optional | ||
- pyresample | ||
# | ||
# docs | ||
- nbsphinx | ||
- sphinx=4.* | ||
- sphinx-autobuild | ||
- sphinx-autosummary-accessors | ||
- sphinx_rtd_theme>=0.4 | ||
# | ||
- pip>=21.1 | ||
- pip: | ||
- "-e ../" |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.