anta-database 0.2.0__tar.gz → 0.3.0__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 (56) hide show
  1. {anta_database-0.2.0 → anta_database-0.3.0}/PKG-INFO +36 -17
  2. {anta_database-0.2.0 → anta_database-0.3.0}/README.md +31 -16
  3. anta_database-0.3.0/ROADMAP.md +12 -0
  4. anta_database-0.3.0/anta_database/compiling/__init__.py +2 -0
  5. anta_database-0.3.0/anta_database/compiling/compile.py +946 -0
  6. anta_database-0.3.0/anta_database/compiling/reconnect.py +81 -0
  7. anta_database-0.3.0/anta_database/data/ANT_Basins_IMBIE2_v1.6.cpg +1 -0
  8. anta_database-0.3.0/anta_database/data/ANT_Basins_IMBIE2_v1.6.dbf +0 -0
  9. anta_database-0.3.0/anta_database/data/ANT_Basins_IMBIE2_v1.6.prj +1 -0
  10. anta_database-0.3.0/anta_database/data/ANT_Basins_IMBIE2_v1.6.shp +0 -0
  11. anta_database-0.3.0/anta_database/data/ANT_Basins_IMBIE2_v1.6.shx +0 -0
  12. anta_database-0.3.0/anta_database/data/centeroid_coords_basins.cpg +1 -0
  13. anta_database-0.3.0/anta_database/data/centeroid_coords_basins.dbf +0 -0
  14. anta_database-0.3.0/anta_database/data/centeroid_coords_basins.prj +1 -0
  15. anta_database-0.3.0/anta_database/data/centeroid_coords_basins.shp +0 -0
  16. anta_database-0.3.0/anta_database/data/centeroid_coords_basins.shx +0 -0
  17. anta_database-0.3.0/anta_database/data/site-coords.pkl +0 -0
  18. anta_database-0.3.0/anta_database/database/database.py +942 -0
  19. anta_database-0.3.0/anta_database/indexing/index_database.py +306 -0
  20. anta_database-0.3.0/anta_database/plotting/plotting.py +642 -0
  21. {anta_database-0.2.0 → anta_database-0.3.0}/anta_database.egg-info/PKG-INFO +36 -17
  22. {anta_database-0.2.0 → anta_database-0.3.0}/anta_database.egg-info/SOURCES.txt +14 -1
  23. {anta_database-0.2.0 → anta_database-0.3.0}/anta_database.egg-info/requires.txt +4 -0
  24. {anta_database-0.2.0 → anta_database-0.3.0}/book/advanced.md +3 -3
  25. anta_database-0.3.0/book/figures/Overview_all.png +0 -0
  26. {anta_database-0.2.0 → anta_database-0.3.0}/book/intro.md +3 -8
  27. anta_database-0.3.0/book/quick_start.ipynb +397 -0
  28. {anta_database-0.2.0 → anta_database-0.3.0}/pyproject.toml +5 -1
  29. anta_database-0.2.0/anta_database/compiling/__init__.py +0 -1
  30. anta_database-0.2.0/anta_database/compiling/compile.py +0 -262
  31. anta_database-0.2.0/anta_database/database/database.py +0 -251
  32. anta_database-0.2.0/anta_database/indexing/index_database.py +0 -94
  33. anta_database-0.2.0/anta_database/plotting/plotting.py +0 -362
  34. anta_database-0.2.0/book/figures/Overview_all.png +0 -0
  35. anta_database-0.2.0/book/quick_start.ipynb +0 -559
  36. {anta_database-0.2.0 → anta_database-0.3.0}/.github/workflows/deploy.yml +0 -0
  37. {anta_database-0.2.0 → anta_database-0.3.0}/.github/workflows/release.yml +0 -0
  38. {anta_database-0.2.0 → anta_database-0.3.0}/.gitignore +0 -0
  39. {anta_database-0.2.0 → anta_database-0.3.0}/LICENSE +0 -0
  40. {anta_database-0.2.0 → anta_database-0.3.0}/anta_database/__init__.py +0 -0
  41. {anta_database-0.2.0 → anta_database-0.3.0}/anta_database/anta_database.py +0 -0
  42. {anta_database-0.2.0/anta_database/plotting → anta_database-0.3.0/anta_database/data}/GL.pkl +0 -0
  43. {anta_database-0.2.0 → anta_database-0.3.0}/anta_database/database/__init__.py +0 -0
  44. {anta_database-0.2.0 → anta_database-0.3.0}/anta_database/figures/AntA_38ka.png +0 -0
  45. {anta_database-0.2.0 → anta_database-0.3.0}/anta_database/indexing/__init__.py +0 -0
  46. {anta_database-0.2.0 → anta_database-0.3.0}/anta_database/plotting/__init__.py +0 -0
  47. {anta_database-0.2.0 → anta_database-0.3.0}/anta_database.egg-info/dependency_links.txt +0 -0
  48. {anta_database-0.2.0 → anta_database-0.3.0}/anta_database.egg-info/top_level.txt +0 -0
  49. {anta_database-0.2.0 → anta_database-0.3.0}/book/_config.yml +0 -0
  50. {anta_database-0.2.0 → anta_database-0.3.0}/book/_toc.yml +0 -0
  51. {anta_database-0.2.0 → anta_database-0.3.0}/book/contact.md +0 -0
  52. {anta_database-0.2.0 → anta_database-0.3.0}/book/contribute.md +0 -0
  53. {anta_database-0.2.0 → anta_database-0.3.0}/book/logo.png +0 -0
  54. {anta_database-0.2.0 → anta_database-0.3.0}/book/references.bib +0 -0
  55. {anta_database-0.2.0 → anta_database-0.3.0}/book/requirements.txt +0 -0
  56. {anta_database-0.2.0 → anta_database-0.3.0}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: anta_database
3
- Version: 0.2.0
3
+ Version: 0.3.0
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,11 @@ 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: h5py
21
24
  Requires-Dist: pyproj
25
+ Requires-Dist: scipy
22
26
  Requires-Dist: matplotlib
23
27
  Requires-Dist: colormaps
24
28
  Requires-Dist: tqdm
@@ -29,29 +33,42 @@ Dynamic: license-file
29
33
  </h1><br>
30
34
 
31
35
  [![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
36
  [![Downloads](https://img.shields.io/pypi/dm/anta_database)](https://pypi.org/project/anta_database)
34
-
35
37
  [![GitHub issues](https://img.shields.io/badge/issue_tracking-github-blue.svg)](https://github.com/antoinehermant/anta_database/issues)
36
38
  <!-- [![Contributing](https://img.shields.io/badge/PR-Welcome-%23FF8300.svg?)](https://matplotlib.org/stable/devel/index.html) -->
39
+ <!-- [![Conda](https://img.shields.io/conda/vn/conda-forge/anta_database)](https://anaconda.org/conda-forge/anta_database) -->
37
40
 
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.
41
+ 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
42
 
40
43
  Visit the [Home Page](https://antoinehermant.github.io/anta_database/intro) for more information.
41
44
 
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
45
+ # The AntADatabase
46
+
47
+ 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.
48
+ Variables per file (when exist):
49
+ - x(point)
50
+ - y(point)
51
+ - distance(point)
52
+ - IRH_DEPTH(point, age)
53
+ - IRH_DENS(point, age)
54
+ - ICE_THCK(point, age)
55
+ - SURF_ELEV(point, age)
56
+ - BED_ELEV(point, age)
57
+
58
+ # anta_database Python module
59
+
60
+ 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:
61
+ - dataset
62
+ - institute
63
+ - project
64
+ - age
65
+ - acquisition_year (year of radar acquisition)
66
+ - region
67
+ - basin
68
+ - var (variable)
69
+ - flight id
70
+
71
+ 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
72
 
56
73
  # Installation
57
74
 
@@ -83,6 +100,8 @@ Feel free to raise an issue on the GitHub if you find any bug or if you would li
83
100
  # Contribution
84
101
 
85
102
  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!
103
+ 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.
104
+
86
105
 
87
106
  # Acknowledgments
88
107
 
@@ -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 *