cfdb 0.1.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,57 @@
1
+ Metadata-Version: 2.4
2
+ Name: cfdb
3
+ Version: 0.1.0
4
+ Summary: CF conventions multi-dimensional array storage on top of Booklet
5
+ Project-URL: Documentation, https://mullenkamp.github.io/cfdb/
6
+ Project-URL: Source, https://github.com/mullenkamp/cfdb
7
+ Author-email: mullenkamp <mullenkamp1@gmail.com>
8
+ License-File: LICENSE
9
+ Classifier: Programming Language :: Python :: 3 :: Only
10
+ Requires-Python: >=3.10
11
+ Requires-Dist: booklet>=0.9.2
12
+ Requires-Dist: cftime
13
+ Requires-Dist: lz4
14
+ Requires-Dist: msgspec
15
+ Requires-Dist: numpy
16
+ Requires-Dist: rechunkit>=0.1.0
17
+ Requires-Dist: zstandard
18
+ Provides-Extra: ebooklet
19
+ Requires-Dist: ebooklet>=0.5.10; extra == 'ebooklet'
20
+ Provides-Extra: netcdf4
21
+ Requires-Dist: h5netcdf; extra == 'netcdf4'
22
+ Description-Content-Type: text/markdown
23
+
24
+ # cfdb
25
+
26
+ <p align="center">
27
+ <em>CF conventions multi-dimensional array storage on top of Booklet</em>
28
+ </p>
29
+
30
+ [![build](https://github.com/mullenkamp/cfdb/workflows/Build/badge.svg)](https://github.com/mullenkamp/cfdb/actions)
31
+ [![codecov](https://codecov.io/gh/mullenkamp/cfdb/branch/master/graph/badge.svg)](https://codecov.io/gh/mullenkamp/cfdb)
32
+ [![PyPI version](https://badge.fury.io/py/cfdb.svg)](https://badge.fury.io/py/cfdb)
33
+
34
+ ---
35
+
36
+ **Documentation**: <a href="https://mullenkamp.github.io/cfdb/" target="_blank">https://mullenkamp.github.io/cfdb/</a>
37
+
38
+ **Source Code**: <a href="https://github.com/mullenkamp/cfdb" target="_blank">https://github.com/mullenkamp/cfbdb</a>
39
+
40
+ ---
41
+
42
+ ## Development
43
+
44
+ ### Coordinate variables
45
+ Must be 1D.
46
+ They should have an "ordered" parameter (bool) that defined whether the coord should always be ordered. Int, float, and datetime should default to True. Only string and category dtypes should default to False.
47
+ There should be a "regular" parameter (bool) with an associated "step" parameter (int or float). It should work similarly to np.arange. Only ints, floats, and datetimes can use this.
48
+ ~~Should I add a "unique" parameter (bool)? Maybe I should just enforce this normally?~~ It should enforce uniqueness in the coords.
49
+ There can be a groupby method datasets that would use the rechunker. The rechunker would have the groupby dims set to 1 and the other dims set to the full length.
50
+
51
+ #### Multi-dimensional coords
52
+ It is possible to create a composite index from multiple 1D coords. But it seems best to implement this type of thing on top of sqlite (or something equivalent).
53
+ Keeping each coord 1D makes implementations quite a bit simpler.
54
+
55
+ ## License
56
+
57
+ This project is licensed under the terms of the Apache Software License 2.0.
@@ -0,0 +1,13 @@
1
+ cfdb/__init__.py,sha256=r2CzHI87AZOW0HsVhl0HpN0-Mjh34eB9WG2sCUK4kiA,233
2
+ cfdb/combine.py,sha256=B1CHZ0NOW4O5j_5NYxAHB76X1A5O3HcZwjNGNx_gfEA,19084
3
+ cfdb/core.py,sha256=IMFGhed5pa2zoYlm7reu1TeCQ6nt3sMmy5cE0LcAb2A,37337
4
+ cfdb/creation.py,sha256=hoR0MVEhbcxKT1JnZ2rK1fUAofxOQT0okKmLYh0PBAY,10686
5
+ cfdb/data_models.py,sha256=AtwtH2Uyo84GucW52aX0AzpG3Sbge41F5lrPuRxSLoY,2166
6
+ cfdb/indexers.py,sha256=Vl0PS44mV4_6IUvPGZIIsd0qQniM3iAtntwe8bhqDrk,10683
7
+ cfdb/main.py,sha256=L23zO_glrsOg8e5Vx2Guef3UOKNOw9KFW0Ray0uGqrQ,26372
8
+ cfdb/support_classes.py,sha256=qoSVC7eX8I_A8xHA8jLnjLD9211bc3Va9HXvo_uct0A,34806
9
+ cfdb/utils.py,sha256=ZEMmvUTa1h-FBCdfBx-oL5xVH7fDbXAObwqYjqeKQGk,73296
10
+ cfdb-0.1.0.dist-info/METADATA,sha256=n8_UtgGhkHZgC3MxxaNcFfr2-682Fxc3RP1FDQ43fik,2528
11
+ cfdb-0.1.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
12
+ cfdb-0.1.0.dist-info/licenses/LICENSE,sha256=hNqpp2O-F2qp4ozzNN86q1sxnAeFDLNoylHyJK_aiYI,586
13
+ cfdb-0.1.0.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: hatchling 1.27.0
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
@@ -0,0 +1,16 @@
1
+ Apache Software License 2.0
2
+
3
+ Copyright (c) 2025, Mike Kittridge
4
+
5
+ Licensed under the Apache License, Version 2.0 (the "License");
6
+ you may not use this file except in compliance with the License.
7
+ You may obtain a copy of the License at
8
+
9
+ http://www.apache.org/licenses/LICENSE-2.0
10
+
11
+ Unless required by applicable law or agreed to in writing, software
12
+ distributed under the License is distributed on an "AS IS" BASIS,
13
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ See the License for the specific language governing permissions and
15
+ limitations under the License.
16
+