anta-database 0.2.1__tar.gz → 0.3.1__tar.gz

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.
Files changed (55) hide show
  1. {anta_database-0.2.1 → anta_database-0.3.1}/PKG-INFO +37 -17
  2. {anta_database-0.2.1 → anta_database-0.3.1}/README.md +31 -16
  3. anta_database-0.3.1/ROADMAP.md +12 -0
  4. anta_database-0.3.1/anta_database/compiling/__init__.py +2 -0
  5. anta_database-0.3.1/anta_database/compiling/compile.py +946 -0
  6. anta_database-0.3.1/anta_database/compiling/reconnect.py +81 -0
  7. anta_database-0.3.1/anta_database/data/ANT_Basins_IMBIE2_v1.6.cpg +1 -0
  8. anta_database-0.3.1/anta_database/data/ANT_Basins_IMBIE2_v1.6.dbf +0 -0
  9. anta_database-0.3.1/anta_database/data/ANT_Basins_IMBIE2_v1.6.prj +1 -0
  10. anta_database-0.3.1/anta_database/data/ANT_Basins_IMBIE2_v1.6.shp +0 -0
  11. anta_database-0.3.1/anta_database/data/ANT_Basins_IMBIE2_v1.6.shx +0 -0
  12. anta_database-0.3.1/anta_database/data/centeroid_coords_basins.cpg +1 -0
  13. anta_database-0.3.1/anta_database/data/centeroid_coords_basins.dbf +0 -0
  14. anta_database-0.3.1/anta_database/data/centeroid_coords_basins.prj +1 -0
  15. anta_database-0.3.1/anta_database/data/centeroid_coords_basins.shp +0 -0
  16. anta_database-0.3.1/anta_database/data/centeroid_coords_basins.shx +0 -0
  17. anta_database-0.3.1/anta_database/database/database.py +943 -0
  18. anta_database-0.3.1/anta_database/indexing/index_database.py +306 -0
  19. anta_database-0.3.1/anta_database/plotting/plotting.py +643 -0
  20. {anta_database-0.2.1 → anta_database-0.3.1}/anta_database.egg-info/PKG-INFO +37 -17
  21. {anta_database-0.2.1 → anta_database-0.3.1}/anta_database.egg-info/SOURCES.txt +14 -2
  22. {anta_database-0.2.1 → anta_database-0.3.1}/anta_database.egg-info/requires.txt +5 -0
  23. {anta_database-0.2.1 → anta_database-0.3.1}/book/advanced.md +3 -3
  24. anta_database-0.3.1/book/figures/Overview_all.png +0 -0
  25. {anta_database-0.2.1 → anta_database-0.3.1}/book/intro.md +3 -8
  26. {anta_database-0.2.1 → anta_database-0.3.1}/book/quick_start.ipynb +72 -75
  27. {anta_database-0.2.1 → anta_database-0.3.1}/pyproject.toml +6 -1
  28. anta_database-0.2.1/anta_database/compiling/__init__.py +0 -1
  29. anta_database-0.2.1/anta_database/compiling/compile.py +0 -262
  30. anta_database-0.2.1/anta_database/database/database.py +0 -251
  31. anta_database-0.2.1/anta_database/indexing/index_database.py +0 -94
  32. anta_database-0.2.1/anta_database/plotting/plotting.py +0 -367
  33. anta_database-0.2.1/book/figures/Overview_all.png +0 -0
  34. {anta_database-0.2.1 → anta_database-0.3.1}/.github/workflows/deploy.yml +0 -0
  35. {anta_database-0.2.1 → anta_database-0.3.1}/.github/workflows/release.yml +0 -0
  36. {anta_database-0.2.1 → anta_database-0.3.1}/.gitignore +0 -0
  37. {anta_database-0.2.1 → anta_database-0.3.1}/LICENSE +0 -0
  38. {anta_database-0.2.1 → anta_database-0.3.1}/anta_database/__init__.py +0 -0
  39. {anta_database-0.2.1 → anta_database-0.3.1}/anta_database/anta_database.py +0 -0
  40. {anta_database-0.2.1/anta_database/plotting → anta_database-0.3.1/anta_database/data}/GL.pkl +0 -0
  41. {anta_database-0.2.1/anta_database/plotting → anta_database-0.3.1/anta_database/data}/site-coords.pkl +0 -0
  42. {anta_database-0.2.1 → anta_database-0.3.1}/anta_database/database/__init__.py +0 -0
  43. {anta_database-0.2.1 → anta_database-0.3.1}/anta_database/figures/AntA_38ka.png +0 -0
  44. {anta_database-0.2.1 → anta_database-0.3.1}/anta_database/indexing/__init__.py +0 -0
  45. {anta_database-0.2.1 → anta_database-0.3.1}/anta_database/plotting/__init__.py +0 -0
  46. {anta_database-0.2.1 → anta_database-0.3.1}/anta_database.egg-info/dependency_links.txt +0 -0
  47. {anta_database-0.2.1 → anta_database-0.3.1}/anta_database.egg-info/top_level.txt +0 -0
  48. {anta_database-0.2.1 → anta_database-0.3.1}/book/_config.yml +0 -0
  49. {anta_database-0.2.1 → anta_database-0.3.1}/book/_toc.yml +0 -0
  50. {anta_database-0.2.1 → anta_database-0.3.1}/book/contact.md +0 -0
  51. {anta_database-0.2.1 → anta_database-0.3.1}/book/contribute.md +0 -0
  52. {anta_database-0.2.1 → anta_database-0.3.1}/book/logo.png +0 -0
  53. {anta_database-0.2.1 → anta_database-0.3.1}/book/references.bib +0 -0
  54. {anta_database-0.2.1 → anta_database-0.3.1}/book/requirements.txt +0 -0
  55. {anta_database-0.2.1 → anta_database-0.3.1}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: anta_database
3
- Version: 0.2.1
3
+ Version: 0.3.1
4
4
  Summary: SQLite database for the AntArchitecture Community Data
5
5
  Author: Antoine Hermant
6
6
  Author-email: antoine.hermant@etik.com
@@ -18,7 +18,12 @@ Requires-Python: >=3.11
18
18
  Description-Content-Type: text/markdown
19
19
  License-File: LICENSE
20
20
  Requires-Dist: pandas
21
+ Requires-Dist: geopandas
22
+ Requires-Dist: xarray
23
+ Requires-Dist: h5netcdf
24
+ Requires-Dist: h5py
21
25
  Requires-Dist: pyproj
26
+ Requires-Dist: scipy
22
27
  Requires-Dist: matplotlib
23
28
  Requires-Dist: colormaps
24
29
  Requires-Dist: tqdm
@@ -29,29 +34,42 @@ Dynamic: license-file
29
34
  </h1><br>
30
35
 
31
36
  [![PyPi](https://img.shields.io/pypi/v/anta_database)](https://pypi.org/project/anta_database/)
32
- [![Conda](https://img.shields.io/conda/vn/conda-forge/anta_database)](https://anaconda.org/conda-forge/anta_database)
33
37
  [![Downloads](https://img.shields.io/pypi/dm/anta_database)](https://pypi.org/project/anta_database)
34
-
35
38
  [![GitHub issues](https://img.shields.io/badge/issue_tracking-github-blue.svg)](https://github.com/antoinehermant/anta_database/issues)
36
39
  <!-- [![Contributing](https://img.shields.io/badge/PR-Welcome-%23FF8300.svg?)](https://matplotlib.org/stable/devel/index.html) -->
40
+ <!-- [![Conda](https://img.shields.io/conda/vn/conda-forge/anta_database)](https://anaconda.org/conda-forge/anta_database) -->
37
41
 
38
- AntADatabase is an efficient SQLite database for browsing, visualizing and processing Internal Reflecting Horizons (isochrones) across Antarctica, curated by the AntArchitecture action group. It is specifically designed for ice dynamic modelers who need a fast, memory-efficient data structure to constrain their models.
42
+ AntADatabase is a Python-powered SQLite database designed for browsing, visualizing and processing Internal Reflecting Horizons (isochrones) across Antarctica, curated by the AntArchitecture action group. It is specifically designed for ice dynamic modelers who need a fast, memory-efficient data structure to constrain their models.
39
43
 
40
44
  Visit the [Home Page](https://antoinehermant.github.io/anta_database/intro) for more information.
41
45
 
42
- # SQLite Database
43
-
44
- The database uses SQLite for efficient indexing. Data is sourced from the associated DOIs and stored as binary DataFrame files for each layer (IRH) and trace ID. This structure enables:
45
-
46
- - Browsing by author (region), layer age, or trace ID.
47
- - Memory efficiency: Only relevant data is read when needed.
48
- - Fast read performance: Lightweight and optimized for speed.
49
-
50
- # Key Features
51
-
52
- - Efficient SQLite indexing
53
- - Quick visualization on Antarctica map
54
- - Generate lazy data for later use
46
+ # The AntADatabase
47
+
48
+ The AntADatabase contains all traced and dated Internal Reflective Horizons (isochrones) that have been published at that date. All the data is organized by flight transect for each dataset. The data is encoded in HDF5 (Hierarchical Data Format) which provides convenient data structure and performant read speeds.
49
+ Variables per file (when exist):
50
+ - x(point)
51
+ - y(point)
52
+ - distance(point)
53
+ - IRH_DEPTH(point, age)
54
+ - IRH_DENS(point, age)
55
+ - ICE_THCK(point, age)
56
+ - SURF_ELEV(point, age)
57
+ - BED_ELEV(point, age)
58
+
59
+ # anta_database Python module
60
+
61
+ This Python module provides SQL indexing for the AntADatabase, as well as quick plot functions and generate lazy data for later use. It allows to quickly browse through the database, filtering by:
62
+ - dataset
63
+ - institute
64
+ - project
65
+ - age
66
+ - acquisition_year (year of radar acquisition)
67
+ - region
68
+ - basin
69
+ - var (variable)
70
+ - flight id
71
+
72
+ For examples of queries, plots, generate data (e.g for model comparison), please see [Quick start](https://antoinehermant.github.io/anta_database/quick_start)
55
73
 
56
74
  # Installation
57
75
 
@@ -83,6 +101,8 @@ Feel free to raise an issue on the GitHub if you find any bug or if you would li
83
101
  # Contribution
84
102
 
85
103
  If you like this database and wish to help me develop this module, do not hesitate to contact me. You should then fork the repo, build feature branches and pull request. That would be much appreciated!
104
+ Please have also a look at the [Roadmap](https://github.com/antoinehermant/anta_database/blob/main/ROADMAP.md) to check whether some features are already in development or for ideas.
105
+
86
106
 
87
107
  # Acknowledgments
88
108
 
@@ -3,29 +3,42 @@
3
3
  </h1><br>
4
4
 
5
5
  [![PyPi](https://img.shields.io/pypi/v/anta_database)](https://pypi.org/project/anta_database/)
6
- [![Conda](https://img.shields.io/conda/vn/conda-forge/anta_database)](https://anaconda.org/conda-forge/anta_database)
7
6
  [![Downloads](https://img.shields.io/pypi/dm/anta_database)](https://pypi.org/project/anta_database)
8
-
9
7
  [![GitHub issues](https://img.shields.io/badge/issue_tracking-github-blue.svg)](https://github.com/antoinehermant/anta_database/issues)
10
8
  <!-- [![Contributing](https://img.shields.io/badge/PR-Welcome-%23FF8300.svg?)](https://matplotlib.org/stable/devel/index.html) -->
9
+ <!-- [![Conda](https://img.shields.io/conda/vn/conda-forge/anta_database)](https://anaconda.org/conda-forge/anta_database) -->
11
10
 
12
- AntADatabase is an efficient SQLite database for browsing, visualizing and processing Internal Reflecting Horizons (isochrones) across Antarctica, curated by the AntArchitecture action group. It is specifically designed for ice dynamic modelers who need a fast, memory-efficient data structure to constrain their models.
11
+ AntADatabase is a Python-powered SQLite database designed for browsing, visualizing and processing Internal Reflecting Horizons (isochrones) across Antarctica, curated by the AntArchitecture action group. It is specifically designed for ice dynamic modelers who need a fast, memory-efficient data structure to constrain their models.
13
12
 
14
13
  Visit the [Home Page](https://antoinehermant.github.io/anta_database/intro) for more information.
15
14
 
16
- # SQLite Database
17
-
18
- The database uses SQLite for efficient indexing. Data is sourced from the associated DOIs and stored as binary DataFrame files for each layer (IRH) and trace ID. This structure enables:
19
-
20
- - Browsing by author (region), layer age, or trace ID.
21
- - Memory efficiency: Only relevant data is read when needed.
22
- - Fast read performance: Lightweight and optimized for speed.
23
-
24
- # Key Features
25
-
26
- - Efficient SQLite indexing
27
- - Quick visualization on Antarctica map
28
- - Generate lazy data for later use
15
+ # The AntADatabase
16
+
17
+ The AntADatabase contains all traced and dated Internal Reflective Horizons (isochrones) that have been published at that date. All the data is organized by flight transect for each dataset. The data is encoded in HDF5 (Hierarchical Data Format) which provides convenient data structure and performant read speeds.
18
+ Variables per file (when exist):
19
+ - x(point)
20
+ - y(point)
21
+ - distance(point)
22
+ - IRH_DEPTH(point, age)
23
+ - IRH_DENS(point, age)
24
+ - ICE_THCK(point, age)
25
+ - SURF_ELEV(point, age)
26
+ - BED_ELEV(point, age)
27
+
28
+ # anta_database Python module
29
+
30
+ This Python module provides SQL indexing for the AntADatabase, as well as quick plot functions and generate lazy data for later use. It allows to quickly browse through the database, filtering by:
31
+ - dataset
32
+ - institute
33
+ - project
34
+ - age
35
+ - acquisition_year (year of radar acquisition)
36
+ - region
37
+ - basin
38
+ - var (variable)
39
+ - flight id
40
+
41
+ For examples of queries, plots, generate data (e.g for model comparison), please see [Quick start](https://antoinehermant.github.io/anta_database/quick_start)
29
42
 
30
43
  # Installation
31
44
 
@@ -57,6 +70,8 @@ Feel free to raise an issue on the GitHub if you find any bug or if you would li
57
70
  # Contribution
58
71
 
59
72
  If you like this database and wish to help me develop this module, do not hesitate to contact me. You should then fork the repo, build feature branches and pull request. That would be much appreciated!
73
+ Please have also a look at the [Roadmap](https://github.com/antoinehermant/anta_database/blob/main/ROADMAP.md) to check whether some features are already in development or for ideas.
74
+
60
75
 
61
76
  # Acknowledgments
62
77
 
@@ -0,0 +1,12 @@
1
+ # Roadmap
2
+
3
+ Here is a todo list of features that we want to include in the AntADatabase.
4
+
5
+ ## Important
6
+ - [ ] Implement HDF5 format (In process, for next release)
7
+ - [ ] Filter by radar system
8
+ - [ ] Create shapefiles, e.g. for QAntarctica (In process)
9
+
10
+ ## To discuss
11
+ - [ ] A netCDF version
12
+
@@ -0,0 +1,2 @@
1
+ from .compile import *
2
+ from .reconnect import *