Skip to content

Commit 0106195

Browse files
authored
Merge pull request #48 from ocean-uhh/docs-update-1
DOC update overview
2 parents 2685acf + 888e565 commit 0106195

5 files changed

Lines changed: 672 additions & 14 deletions

File tree

docs/source/about.rst

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
About CTD Tools
2+
===============
3+
4+
CTD Tools is a Python library for reading, converting, and plotting oceanographic sensor data from various instruments and formats. The package is designed to work seamlessly with data from moored instruments and CTD profiles, supporting multiple file formats commonly used in oceanographic research.
5+
6+
**Key Features:**
7+
8+
* **Multiple Format Support**: Read data from Seabird CNV files, RBR RSK files, NetCDF, CSV, Nortek ASCII, and more
9+
* **Flexible Data Processing**: Convert between formats, resample data, extract subsets, and calculate statistics
10+
* **Rich Visualization**: Create T-S diagrams, vertical profiles, and time series plots
11+
* **Command-Line Interface**: Easy-to-use CLI for common data processing tasks
12+
* **Extensible Architecture**: Modular design allows easy addition of new readers, writers, and plotters
13+
* **Parameter Mapping**: Handle different column naming conventions across file formats
14+
15+
**Supported Instruments:**
16+
17+
* Seabird CTD instruments (CNV format)
18+
* RBR CTD and moored instruments (RSK format)
19+
* Nortek ADCP instruments (ASCII format)
20+
* Sea & Sun Technology instruments (TOB format)
21+
* General CSV and NetCDF files
22+
23+
**Project Goals:**
24+
25+
CTD Tools aims to simplify the process of working with oceanographic sensor data by providing:
26+
27+
1. **Standardized Data Access**: Convert proprietary formats to standard xarray Datasets
28+
2. **Consistent API**: Uniform interface across different instrument types
29+
3. **CF Convention Support**: Ensure output data follows Climate and Forecast metadata conventions
30+
4. **Research Reproducibility**: Enable easy sharing and reprocessing of oceanographic datasets
31+
5. **Educational Use**: Provide tools suitable for teaching oceanographic data analysis
32+
33+
**Who Should Use CTD Tools:**
34+
35+
* Oceanographic researchers working with CTD and mooring data
36+
* Students learning oceanographic data analysis
37+
* Data managers converting legacy datasets
38+
* Anyone needing to visualize or process oceanographic sensor data
39+
40+
**Community and Support:**
41+
42+
CTD Tools is developed and maintained by the oceanographic community. We welcome contributions, bug reports, and feature requests through our GitHub repository.

docs/source/ctdtools.rst

Lines changed: 145 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,162 @@
1-
:mod:`CTD Tools API`
2-
-----------------------
1+
API Reference
2+
=============
3+
4+
This section provides detailed API documentation for all CTD Tools modules.
5+
6+
Readers
7+
-------
38

49
.. automodule:: ctd_tools.readers
10+
:no-members:
11+
:show-inheritance:
12+
13+
Base Reader Classes
14+
^^^^^^^^^^^^^^^^^^^
15+
16+
.. autoclass:: ctd_tools.readers.base.AbstractReader
17+
:members:
18+
:undoc-members:
19+
:show-inheritance:
20+
21+
Specific Reader Classes
22+
^^^^^^^^^^^^^^^^^^^^^^^
23+
24+
.. autoclass:: ctd_tools.readers.SbeCnvReader
25+
:members:
26+
:undoc-members:
27+
:show-inheritance:
28+
29+
.. autoclass:: ctd_tools.readers.NetCdfReader
30+
:members:
31+
:undoc-members:
32+
:show-inheritance:
33+
34+
.. autoclass:: ctd_tools.readers.CsvReader
35+
:members:
36+
:undoc-members:
37+
:show-inheritance:
38+
39+
.. autoclass:: ctd_tools.readers.RbrRskReader
540
:members:
641
:undoc-members:
42+
:show-inheritance:
43+
44+
.. autoclass:: ctd_tools.readers.RbrRskAutoReader
45+
:members:
46+
:undoc-members:
47+
:show-inheritance:
48+
49+
.. autoclass:: ctd_tools.readers.RbrAsciiReader
50+
:members:
51+
:undoc-members:
52+
:show-inheritance:
53+
54+
.. autoclass:: ctd_tools.readers.NortekAsciiReader
55+
:members:
56+
:undoc-members:
57+
:show-inheritance:
58+
59+
Writers
60+
-------
761

862
.. automodule:: ctd_tools.writers
63+
:no-members:
64+
:show-inheritance:
65+
66+
Base Writer Classes
67+
^^^^^^^^^^^^^^^^^^^
68+
69+
.. autoclass:: ctd_tools.writers.base.AbstractWriter
70+
:members:
71+
:undoc-members:
72+
:show-inheritance:
73+
74+
Specific Writer Classes
75+
^^^^^^^^^^^^^^^^^^^^^^^
76+
77+
.. autoclass:: ctd_tools.writers.NetCdfWriter
78+
:members:
79+
:undoc-members:
80+
:show-inheritance:
81+
82+
.. autoclass:: ctd_tools.writers.CsvWriter
83+
:members:
84+
:undoc-members:
85+
:show-inheritance:
86+
87+
.. autoclass:: ctd_tools.writers.ExcelWriter
988
:members:
1089
:undoc-members:
90+
:show-inheritance:
91+
92+
Plotters
93+
--------
1194

1295
.. automodule:: ctd_tools.plotters
96+
:no-members:
97+
:show-inheritance:
98+
99+
Base Plotter Classes
100+
^^^^^^^^^^^^^^^^^^^^
101+
102+
.. autoclass:: ctd_tools.plotters.base.AbstractPlotter
103+
:members:
104+
:undoc-members:
105+
:show-inheritance:
106+
107+
Specific Plotter Classes
108+
^^^^^^^^^^^^^^^^^^^^^^^^
109+
110+
.. autoclass:: ctd_tools.plotters.TsDiagramPlotter
111+
:members:
112+
:undoc-members:
113+
:show-inheritance:
114+
115+
.. autoclass:: ctd_tools.plotters.ProfilePlotter
116+
:members:
117+
:undoc-members:
118+
:show-inheritance:
119+
120+
.. autoclass:: ctd_tools.plotters.TimeSeriesPlotter
13121
:members:
14122
:undoc-members:
123+
:show-inheritance:
124+
125+
.. autoclass:: ctd_tools.plotters.TimeSeriesPlotterMulti
126+
:members:
127+
:undoc-members:
128+
:show-inheritance:
129+
130+
Processors
131+
----------
15132

16133
.. automodule:: ctd_tools.processors
134+
:no-members:
135+
:show-inheritance:
136+
137+
Base Processor Classes
138+
^^^^^^^^^^^^^^^^^^^^^^
139+
140+
.. autoclass:: ctd_tools.processors.base.AbstractProcessor
141+
:members:
142+
:undoc-members:
143+
:show-inheritance:
144+
145+
Specific Processor Classes
146+
^^^^^^^^^^^^^^^^^^^^^^^^^^
147+
148+
.. autoclass:: ctd_tools.processors.SubsetProcessor
149+
:members:
150+
:undoc-members:
151+
:show-inheritance:
152+
153+
.. autoclass:: ctd_tools.processors.ResampleProcessor
154+
:members:
155+
:undoc-members:
156+
:show-inheritance:
157+
158+
.. autoclass:: ctd_tools.processors.StatisticsProcessor
17159
:members:
18160
:undoc-members:
161+
:show-inheritance:
19162

docs/source/index.rst

Lines changed: 19 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,9 @@
22
You can adapt this file completely to your liking, but it should at least
33
contain the root `toctree` directive.
44
5-
:parser: myst_parser.sphinx_ # this is the markdown parser
65
7-
=============================================================
8-
CTD Tools: Methods for working with oceanographic sensor data
9-
=============================================================
6+
Welcome to CTD Tools documentation!
7+
====================================
108

119
`ctd-tools` is a library to process data from oceanographic sensor formats.
1210

@@ -15,9 +13,18 @@ For recommendations or bug reports, please visit https://github.com/ocean-uhh/ct
1513

1614
.. toctree::
1715
:maxdepth: 2
18-
:caption: Overview
16+
:caption: Getting started
17+
18+
about
19+
installation
20+
21+
22+
.. toctree::
23+
:maxdepth: 2
24+
:caption: User guide
25+
26+
user_guide
1927

20-
overview
2128

2229
.. toctree::
2330
:maxdepth: 2
@@ -26,10 +33,10 @@ For recommendations or bug reports, please visit https://github.com/ocean-uhh/ct
2633
GitHub Repo <http://github.com/ocean-uhh/ctd-tools>
2734
ctdtools
2835

29-
.. toctree::
30-
:maxdepth: 2
31-
:caption: Indices and tables
3236

33-
genindex
34-
modindex
35-
search
37+
Indices and tables
38+
==================
39+
40+
* :ref:`genindex`
41+
* :ref:`modindex`
42+
* :ref:`search`

0 commit comments

Comments
 (0)