Skip to content

Commit

Permalink
Merge pull request #38 from MaceKuailv/cleanup
Browse files Browse the repository at this point in the history
Naming and rewrite the very old ones
  • Loading branch information
MaceKuailv authored Jun 1, 2023
2 parents e3a41e5 + 40db29b commit d4ee300
Show file tree
Hide file tree
Showing 25 changed files with 1,258 additions and 1,358 deletions.
1 change: 1 addition & 0 deletions docs/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ latex:
sphinx:
extra_extensions:
- 'sphinx.ext.autodoc'
- 'sphinx.ext.napoleon'
config:
html_theme: sphinx_book_theme
autodoc_member_order: groupwise
Expand Down
2 changes: 1 addition & 1 deletion docs/_toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ parts:
- file: api_reference/apiref_smartread.rst
- file: api_reference/apiref_getmasks.rst
- file: api_reference/apiref_utils.rst
- file: all_in_one
- file: api_reference/apiref_RelCoord.rst
- caption: Examples
chapters:
- file: Global_ECCO
Expand Down
83 changes: 0 additions & 83 deletions docs/all_in_one.rst

This file was deleted.

2 changes: 1 addition & 1 deletion docs/api_reference/apiref_OceData.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
seaduck.OceData
------------------------

.. automodule:: seaduck.OceData
.. autoclass:: seaduck.ocedata.OceData
:members:
:undoc-members:
:show-inheritance:
2 changes: 1 addition & 1 deletion docs/api_reference/apiref_OceInterp.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
seaduck.OceInterp
--------------------------

.. automodule:: seaduck.OceInterp
.. automodule:: seaduck.oceinterp
:members:
:undoc-members:
:show-inheritance:
24 changes: 24 additions & 0 deletions docs/api_reference/apiref_RelCoord.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
seaduck.ocedata.RelCoord and subclasses
---------------------------------------

.. autoclass:: seaduck.ocedata.RelCoord
:members:
:undoc-members:
:show-inheritance:

Subclasses
----------

.. autoclass:: seaduck.ocedata.HRel

.. autoclass:: seaduck.ocedata.VRel

.. autoclass:: seaduck.ocedata.VLinRel

.. autoclass:: seaduck.ocedata.VlRel

.. autoclass:: seaduck.ocedata.VlLinRel

.. autoclass:: seaduck.ocedata.TRel

.. autoclass:: seaduck.ocedata.TLinRel
2 changes: 0 additions & 2 deletions docs/reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,3 @@
[smart_read](api_reference/apiref_smartread.rst)
[get_masks](api_reference/apiref_getmasks.rst)
[utils](api_reference/apiref_utils.rst)

### [All in one page](all_in_one)
12 changes: 6 additions & 6 deletions seaduck/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,21 +20,21 @@
# Local copy or not installed with setuptools
__version__ = "999"

from seaduck.eulerian import position
from seaduck.eulerian import Position
from seaduck.kernel_weight import KnW
from seaduck.lagrangian import particle
from seaduck.lagrangian import Particle
from seaduck.ocedata import OceData
from seaduck.oceinterp import OceInterp
from seaduck.runtime_conf import rcParam
from seaduck.topology import topology
from seaduck.topology import Topology

__all__ = [
"__version__",
"position",
"Position",
"KnW",
"particle",
"Particle",
"OceData",
"OceInterp",
"rcParam",
"topology",
"Topology",
]
Loading

0 comments on commit d4ee300

Please sign in to comment.