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.
- {anta_database-0.2.0 → anta_database-0.3.0}/PKG-INFO +36 -17
- {anta_database-0.2.0 → anta_database-0.3.0}/README.md +31 -16
- anta_database-0.3.0/ROADMAP.md +12 -0
- anta_database-0.3.0/anta_database/compiling/__init__.py +2 -0
- anta_database-0.3.0/anta_database/compiling/compile.py +946 -0
- anta_database-0.3.0/anta_database/compiling/reconnect.py +81 -0
- anta_database-0.3.0/anta_database/data/ANT_Basins_IMBIE2_v1.6.cpg +1 -0
- anta_database-0.3.0/anta_database/data/ANT_Basins_IMBIE2_v1.6.dbf +0 -0
- anta_database-0.3.0/anta_database/data/ANT_Basins_IMBIE2_v1.6.prj +1 -0
- anta_database-0.3.0/anta_database/data/ANT_Basins_IMBIE2_v1.6.shp +0 -0
- anta_database-0.3.0/anta_database/data/ANT_Basins_IMBIE2_v1.6.shx +0 -0
- anta_database-0.3.0/anta_database/data/centeroid_coords_basins.cpg +1 -0
- anta_database-0.3.0/anta_database/data/centeroid_coords_basins.dbf +0 -0
- anta_database-0.3.0/anta_database/data/centeroid_coords_basins.prj +1 -0
- anta_database-0.3.0/anta_database/data/centeroid_coords_basins.shp +0 -0
- anta_database-0.3.0/anta_database/data/centeroid_coords_basins.shx +0 -0
- anta_database-0.3.0/anta_database/data/site-coords.pkl +0 -0
- anta_database-0.3.0/anta_database/database/database.py +942 -0
- anta_database-0.3.0/anta_database/indexing/index_database.py +306 -0
- anta_database-0.3.0/anta_database/plotting/plotting.py +642 -0
- {anta_database-0.2.0 → anta_database-0.3.0}/anta_database.egg-info/PKG-INFO +36 -17
- {anta_database-0.2.0 → anta_database-0.3.0}/anta_database.egg-info/SOURCES.txt +14 -1
- {anta_database-0.2.0 → anta_database-0.3.0}/anta_database.egg-info/requires.txt +4 -0
- {anta_database-0.2.0 → anta_database-0.3.0}/book/advanced.md +3 -3
- anta_database-0.3.0/book/figures/Overview_all.png +0 -0
- {anta_database-0.2.0 → anta_database-0.3.0}/book/intro.md +3 -8
- anta_database-0.3.0/book/quick_start.ipynb +397 -0
- {anta_database-0.2.0 → anta_database-0.3.0}/pyproject.toml +5 -1
- anta_database-0.2.0/anta_database/compiling/__init__.py +0 -1
- anta_database-0.2.0/anta_database/compiling/compile.py +0 -262
- anta_database-0.2.0/anta_database/database/database.py +0 -251
- anta_database-0.2.0/anta_database/indexing/index_database.py +0 -94
- anta_database-0.2.0/anta_database/plotting/plotting.py +0 -362
- anta_database-0.2.0/book/figures/Overview_all.png +0 -0
- anta_database-0.2.0/book/quick_start.ipynb +0 -559
- {anta_database-0.2.0 → anta_database-0.3.0}/.github/workflows/deploy.yml +0 -0
- {anta_database-0.2.0 → anta_database-0.3.0}/.github/workflows/release.yml +0 -0
- {anta_database-0.2.0 → anta_database-0.3.0}/.gitignore +0 -0
- {anta_database-0.2.0 → anta_database-0.3.0}/LICENSE +0 -0
- {anta_database-0.2.0 → anta_database-0.3.0}/anta_database/__init__.py +0 -0
- {anta_database-0.2.0 → anta_database-0.3.0}/anta_database/anta_database.py +0 -0
- {anta_database-0.2.0/anta_database/plotting → anta_database-0.3.0/anta_database/data}/GL.pkl +0 -0
- {anta_database-0.2.0 → anta_database-0.3.0}/anta_database/database/__init__.py +0 -0
- {anta_database-0.2.0 → anta_database-0.3.0}/anta_database/figures/AntA_38ka.png +0 -0
- {anta_database-0.2.0 → anta_database-0.3.0}/anta_database/indexing/__init__.py +0 -0
- {anta_database-0.2.0 → anta_database-0.3.0}/anta_database/plotting/__init__.py +0 -0
- {anta_database-0.2.0 → anta_database-0.3.0}/anta_database.egg-info/dependency_links.txt +0 -0
- {anta_database-0.2.0 → anta_database-0.3.0}/anta_database.egg-info/top_level.txt +0 -0
- {anta_database-0.2.0 → anta_database-0.3.0}/book/_config.yml +0 -0
- {anta_database-0.2.0 → anta_database-0.3.0}/book/_toc.yml +0 -0
- {anta_database-0.2.0 → anta_database-0.3.0}/book/contact.md +0 -0
- {anta_database-0.2.0 → anta_database-0.3.0}/book/contribute.md +0 -0
- {anta_database-0.2.0 → anta_database-0.3.0}/book/logo.png +0 -0
- {anta_database-0.2.0 → anta_database-0.3.0}/book/references.bib +0 -0
- {anta_database-0.2.0 → anta_database-0.3.0}/book/requirements.txt +0 -0
- {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.
|
|
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
|
[](https://pypi.org/project/anta_database/)
|
|
32
|
-
[](https://anaconda.org/conda-forge/anta_database)
|
|
33
36
|
[](https://pypi.org/project/anta_database)
|
|
34
|
-
|
|
35
37
|
[](https://github.com/antoinehermant/anta_database/issues)
|
|
36
38
|
<!-- [](https://matplotlib.org/stable/devel/index.html) -->
|
|
39
|
+
<!-- [](https://anaconda.org/conda-forge/anta_database) -->
|
|
37
40
|
|
|
38
|
-
AntADatabase is
|
|
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
|
-
#
|
|
43
|
-
|
|
44
|
-
The
|
|
45
|
-
|
|
46
|
-
-
|
|
47
|
-
-
|
|
48
|
-
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
-
|
|
53
|
-
-
|
|
54
|
-
|
|
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
|
[](https://pypi.org/project/anta_database/)
|
|
6
|
-
[](https://anaconda.org/conda-forge/anta_database)
|
|
7
6
|
[](https://pypi.org/project/anta_database)
|
|
8
|
-
|
|
9
7
|
[](https://github.com/antoinehermant/anta_database/issues)
|
|
10
8
|
<!-- [](https://matplotlib.org/stable/devel/index.html) -->
|
|
9
|
+
<!-- [](https://anaconda.org/conda-forge/anta_database) -->
|
|
11
10
|
|
|
12
|
-
AntADatabase is
|
|
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
|
-
#
|
|
17
|
-
|
|
18
|
-
The
|
|
19
|
-
|
|
20
|
-
-
|
|
21
|
-
-
|
|
22
|
-
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
-
|
|
27
|
-
-
|
|
28
|
-
|
|
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
|
+
|