-
Notifications
You must be signed in to change notification settings - Fork 5
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 #37 from yoctoyotta1024/newobs
Major re-writing of Observers and Zarr Libraries :)
- Loading branch information
Showing
134 changed files
with
3,849 additions
and
3,667 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 |
---|---|---|
|
@@ -14,3 +14,4 @@ build | |
bin | ||
docs/source/_autosummary | ||
examples/examplesolutions/ | ||
roughpaper/share |
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
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 @@ | ||
Observers | ||
========= | ||
|
||
Header file: ``<libs/observers2/observers.hpp>`` | ||
`[source] <https://github.com/yoctoyotta1024/CLEO/blob/main/libs/observers2/observers.hpp>`_ | ||
|
||
.. doxygenconcept:: Observer | ||
:project: observers2 | ||
|
||
.. doxygenstruct:: CombinedObserver | ||
:project: observers2 | ||
:private-members: | ||
:protected-members: | ||
:members: | ||
:undoc-members: | ||
|
||
.. doxygenfunction:: operator>>(const Observer auto obs1, const Observer auto obs2) | ||
:project: observers2 | ||
|
||
.. doxygenstruct:: NullObserver | ||
:project: observers2 | ||
:private-members: | ||
:protected-members: | ||
:members: | ||
:undoc-members: | ||
|
||
.. doxygenconcept:: ObsFuncs | ||
:project: observers2 | ||
|
||
.. doxygenstruct:: ConstTstepObserver | ||
:project: observers2 | ||
:private-members: | ||
:protected-members: | ||
:members: | ||
:undoc-members: |
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,16 @@ | ||
.. CLEO C++ documentation master file, created by | ||
sphinx-quickstart on Mon Nov 20 12:27:54 2023. | ||
You can adapt this file completely to your liking, but it should at least | ||
contain the root `toctree` directive. | ||
Observers Module | ||
================ | ||
|
||
This module of CLEO contains the all the implementation of observers for outputing data from CLEO, | ||
e.g. to a dataset or to a computer screen. | ||
|
||
.. toctree:: | ||
:maxdepth: 1 | ||
:caption: Contents: | ||
|
||
observers |
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,12 @@ | ||
Buffer | ||
====== | ||
|
||
Header file: ``<libs/zarr2/buffer.hpp>`` | ||
`[source] <https://github.com/yoctoyotta1024/CLEO/blob/main/libs/zarr2/buffer.hpp>`_ | ||
|
||
.. doxygenstruct:: Buffer | ||
:project: zarr2 | ||
:private-members: | ||
:protected-members: | ||
:members: | ||
:undoc-members: |
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,18 @@ | ||
Chunks | ||
====== | ||
|
||
Header file: ``<libs/zarr2/chunks.hpp>`` | ||
`[source] <https://github.com/yoctoyotta1024/CLEO/blob/main/libs/zarr2/chunks.hpp>`_ | ||
|
||
.. doxygenfunction:: vec_product(const std::vector<size_t>& vec) | ||
:project: zarr2 | ||
|
||
.. doxygenfunction:: vec_product(const std::vector<size_t>& vec, const size_t aa) | ||
:project: zarr2 | ||
|
||
.. doxygenclass:: Chunks | ||
:project: zarr2 | ||
:private-members: | ||
:protected-members: | ||
:members: | ||
:undoc-members: |
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,12 @@ | ||
Dataset | ||
======= | ||
|
||
Header file: ``<libs/zarr2/dataset.hpp>`` | ||
`[source] <https://github.com/yoctoyotta1024/CLEO/blob/main/libs/zarr2/dataset.hpp>`_ | ||
|
||
.. doxygenclass:: Dataset | ||
:project: zarr2 | ||
:private-members: | ||
:protected-members: | ||
:members: | ||
:undoc-members: |
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,12 @@ | ||
FSStore | ||
======= | ||
|
||
Header file: ``<libs/zarr2/fsstore.hpp>`` | ||
`[source] <https://github.com/yoctoyotta1024/CLEO/blob/main/libs/zarr2/fsstore.hpp>`_ | ||
|
||
.. doxygenclass:: FSStore | ||
:project: zarr2 | ||
:private-members: | ||
:protected-members: | ||
:members: | ||
:undoc-members: |
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,12 @@ | ||
StoreAccessor | ||
============= | ||
|
||
Header file: ``<libs/zarr2/store_accessor.hpp>`` | ||
`[source] <https://github.com/yoctoyotta1024/CLEO/blob/main/libs/zarr2/store_accessor.hpp>`_ | ||
|
||
.. doxygenstruct:: StoreAccessor | ||
:project: zarr2 | ||
:private-members: | ||
:protected-members: | ||
:members: | ||
:undoc-members: |
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,24 @@ | ||
XarrayZarrArray | ||
=============== | ||
|
||
Header file: ``<libs/zarr2/xarray_zarr_array.hpp>`` | ||
`[source] <https://github.com/yoctoyotta1024/CLEO/blob/main/libs/zarr2/xarray_zarr_array.hpp>`_ | ||
|
||
.. doxygenfunction:: write_zattrs_json | ||
:project: zarr2 | ||
|
||
.. doxygenfunction:: reduced_arrayshape_from_dims | ||
:project: zarr2 | ||
|
||
.. doxygenfunction:: vecstr_to_string | ||
:project: zarr2 | ||
|
||
.. doxygenfunction:: make_xarray_metadata | ||
:project: zarr2 | ||
|
||
.. doxygenclass:: XarrayZarrArray | ||
:project: zarr2 | ||
:private-members: | ||
:protected-members: | ||
:members: | ||
:undoc-members: |
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,23 @@ | ||
.. CLEO C++ documentation master file, created by | ||
sphinx-quickstart on Mon Nov 20 12:27:54 2023. | ||
You can adapt this file completely to your liking, but it should at least | ||
contain the root `toctree` directive. | ||
Zarr Module | ||
=========== | ||
|
||
This module of CLEO contains the all the implementation of writing Zarr arrays to a dataset in | ||
a store which can be Xarray and NetCDF compatible. | ||
|
||
.. toctree:: | ||
:maxdepth: 1 | ||
:caption: Contents: | ||
|
||
buffer | ||
chunks | ||
dataset | ||
fsstore | ||
store_accessor | ||
xarray_zarr_array | ||
zarr_array | ||
zarr_group |
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,24 @@ | ||
ZarrArray | ||
========= | ||
|
||
Header file: ``<libs/zarr2/zarr_array.hpp>`` | ||
`[source] <https://github.com/yoctoyotta1024/CLEO/blob/main/libs/zarr2/zarr_array.hpp>`_ | ||
|
||
.. doxygenfunction:: good2Dchunkshape | ||
:project: zarr2 | ||
|
||
.. doxygenfunction:: write_zarray_json | ||
:project: zarr2 | ||
|
||
.. doxygenfunction:: vec_to_string | ||
:project: zarr2 | ||
|
||
.. doxygenfunction:: make_part_zarrmetadata | ||
:project: zarr2 | ||
|
||
.. doxygenclass:: ZarrArray | ||
:project: zarr2 | ||
:private-members: | ||
:protected-members: | ||
:members: | ||
:undoc-members: |
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,12 @@ | ||
ZarrGroup | ||
========= | ||
|
||
Header file: ``<libs/zarr2/zarr_group.hpp>`` | ||
`[source] <https://github.com/yoctoyotta1024/CLEO/blob/main/libs/zarr2/zarr_group.hpp>`_ | ||
|
||
.. doxygenstruct:: ZarrGroup | ||
:project: zarr2 | ||
:private-members: | ||
:protected-members: | ||
:members: | ||
:undoc-members: |
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,4 +1,4 @@ | ||
name: enviropy3 | ||
name: cleoenv | ||
dependencies: | ||
- python>=3.9 | ||
- pytest | ||
|
Oops, something went wrong.