nivix 0.9.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.
- nivix-0.9.0.dist-info/METADATA +91 -0
- nivix-0.9.0.dist-info/RECORD +31 -0
- nivix-0.9.0.dist-info/WHEEL +5 -0
- nivix-0.9.0.dist-info/entry_points.txt +2 -0
- nivix-0.9.0.dist-info/licenses/LICENSE +661 -0
- nivix-0.9.0.dist-info/licenses/xserver/static/assets/vendor/linea.LICENSE +165 -0
- nivix-0.9.0.dist-info/licenses/xserver/static/assets/vendor/linea.third-party.json +31 -0
- nivix-0.9.0.dist-info/licenses/xserver/static/assets/vendor/profea.LICENSE +165 -0
- nivix-0.9.0.dist-info/licenses/xserver/static/assets/vendor/uPlot.LICENSE +21 -0
- nivix-0.9.0.dist-info/top_level.txt +1 -0
- xserver/__init__.py +19 -0
- xserver/__main__.py +16 -0
- xserver/_show.py +287 -0
- xserver/alignment.py +249 -0
- xserver/launch.py +200 -0
- xserver/static/assets/alpinesoftware.png +0 -0
- xserver/static/assets/alpinesoftware_white.png +0 -0
- xserver/static/assets/nivix-mark.png +0 -0
- xserver/static/assets/nivix-mark.svg +1 -0
- xserver/static/assets/nivix-tile.png +0 -0
- xserver/static/assets/nivix-tile.svg +1 -0
- xserver/static/assets/vendor/linea.LICENSE +165 -0
- xserver/static/assets/vendor/linea.js +161 -0
- xserver/static/assets/vendor/linea.third-party.json +31 -0
- xserver/static/assets/vendor/profea.LICENSE +165 -0
- xserver/static/assets/vendor/uPlot.LICENSE +21 -0
- xserver/static/assets/vendor/uPlot.min.css +1 -0
- xserver/static/nivix-embed.js +6 -0
- xserver/static/nivix.html +1715 -0
- xserver/static/nivix.js +302 -0
- xserver/xserver.py +7899 -0
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: nivix
|
|
3
|
+
Version: 0.9.0
|
|
4
|
+
Summary: nivix: snow stratigraphy timelines, index plots and ensembles.
|
|
5
|
+
Author-email: Michael Reisecker <m.r@sbg.at>
|
|
6
|
+
License-Expression: AGPL-3.0-or-later
|
|
7
|
+
Project-URL: Homepage, https://gitlab.com/avalanche-warning/visualization/nivix
|
|
8
|
+
Project-URL: Repository, https://gitlab.com/avalanche-warning/visualization/nivix
|
|
9
|
+
Keywords: snow,stratigraphy,avalanche,snowpack,visualization
|
|
10
|
+
Classifier: Development Status :: 4 - Beta
|
|
11
|
+
Classifier: Environment :: Web Environment
|
|
12
|
+
Classifier: Intended Audience :: Science/Research
|
|
13
|
+
Classifier: Operating System :: OS Independent
|
|
14
|
+
Classifier: Programming Language :: JavaScript
|
|
15
|
+
Classifier: Programming Language :: Python :: 3
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
18
|
+
Classifier: Topic :: Scientific/Engineering :: Atmospheric Science
|
|
19
|
+
Classifier: Topic :: Scientific/Engineering :: Visualization
|
|
20
|
+
Requires-Python: >=3.12
|
|
21
|
+
Description-Content-Type: text/markdown
|
|
22
|
+
License-File: LICENSE
|
|
23
|
+
License-File: xserver/static/assets/vendor/linea.LICENSE
|
|
24
|
+
License-File: xserver/static/assets/vendor/profea.LICENSE
|
|
25
|
+
License-File: xserver/static/assets/vendor/uPlot.LICENSE
|
|
26
|
+
License-File: xserver/static/assets/vendor/linea.third-party.json
|
|
27
|
+
Requires-Dist: netcdf4
|
|
28
|
+
Requires-Dist: numpy
|
|
29
|
+
Requires-Dist: orjson
|
|
30
|
+
Requires-Dist: pandas<4,>=2.3.1
|
|
31
|
+
Requires-Dist: xarray
|
|
32
|
+
Requires-Dist: xsnow
|
|
33
|
+
Requires-Dist: zarr>=3
|
|
34
|
+
Dynamic: license-file
|
|
35
|
+
|
|
36
|
+
# nivix
|
|
37
|
+
|
|
38
|
+
Fast snow stratigraphy evolution and instability index plots drawn from
|
|
39
|
+
realization-aware datasets. nivix lets you explore every dimension of a snow
|
|
40
|
+
cover modelling dataset in xsnow format (NetCDF files or zarr stores).
|
|
41
|
+
|
|
42
|
+
nivix has two components:
|
|
43
|
+
|
|
44
|
+
- The **xserver** backend is a Python API that prepares subsets of the
|
|
45
|
+
(potentially large) xsnow dataset and sends them to the browser ready for
|
|
46
|
+
visualization.
|
|
47
|
+
- The **nivix** frontend is JavaScript code running in the browser that draws
|
|
48
|
+
the actual visualizations.
|
|
49
|
+
|
|
50
|
+
Together, they view and analyze local output from the SNOWPACK/xsnow ecosystem,
|
|
51
|
+
and xserver can also serve tailored hazard analysis plots to power simulation
|
|
52
|
+
dashboards for risk management operations.
|
|
53
|
+
|
|
54
|
+
nivix features stratigraphy and timeline plots of snow model parameters and
|
|
55
|
+
instability indices, a range of graphs published within the snow science
|
|
56
|
+
community, standard statistical and ensemble plots, and much more, in a highly
|
|
57
|
+
interactive interface for data exploration. It registers an xsnow extension for
|
|
58
|
+
local plotting in the browser.
|
|
59
|
+
|
|
60
|
+
**Highlights**:
|
|
61
|
+
|
|
62
|
+
- Ensemble analysis across realizations, locations and slopes: percentile and
|
|
63
|
+
min-max bands, member profiles, grain-type prevalence, clusters with their
|
|
64
|
+
medoid profiles, layer alignment and warping, threshold agreement, and
|
|
65
|
+
datetag walls.
|
|
66
|
+
- Instability indices colored by critical thresholds.
|
|
67
|
+
- Every view can be linked to and shared.
|
|
68
|
+
- Figure publication with composition tools.
|
|
69
|
+
- Desktop, mobile and compact embedded layouts, plus a `<nivix-view>` element
|
|
70
|
+
to embed a live view in any web page.
|
|
71
|
+
- Light and dark modes, Solarized and colorblind-safe high-contrast themes, in
|
|
72
|
+
English and German.
|
|
73
|
+
- Large datasets stay fast: xserver only reads what is needed and can pre-compute
|
|
74
|
+
the most extensive and often viewed plots.
|
|
75
|
+
- Seamless display of aggregation plots and varied resolutions.
|
|
76
|
+
|
|
77
|
+
Applications can build on nivix through extension hooks in the frontend and the
|
|
78
|
+
xserver.
|
|
79
|
+
|
|
80
|
+
**Install**: `pip install nivix`, or `pip install "xsnow[viz]"` along with
|
|
81
|
+
xsnow. Then:
|
|
82
|
+
|
|
83
|
+
```python
|
|
84
|
+
import xsnow, xserver # importing xserver registers show()
|
|
85
|
+
xsnow.read("archive.nc").show() # opens nivix in the browser
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
or `nivix --file archive.nc` from a shell.
|
|
89
|
+
|
|
90
|
+
**Usage**: Consult the nivix project wiki:
|
|
91
|
+
https://gitlab.com/avalanche-warning/visualization/nivix/-/wikis/home
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
nivix-0.9.0.dist-info/licenses/LICENSE,sha256=DZak_2itbUtvHzD3E7GNUYSRK6jdOJ-GqncQ2weavLA,34523
|
|
2
|
+
nivix-0.9.0.dist-info/licenses/xserver/static/assets/vendor/linea.LICENSE,sha256=46mU2C5kSwOnkqkw9XQAJlhBL2JAf1_uCD8lVcXyMRg,7652
|
|
3
|
+
nivix-0.9.0.dist-info/licenses/xserver/static/assets/vendor/linea.third-party.json,sha256=3ytFwmzhgjv2xfcomAGP36ao7eY_AgW9OGcB9W66nqM,4845
|
|
4
|
+
nivix-0.9.0.dist-info/licenses/xserver/static/assets/vendor/profea.LICENSE,sha256=46mU2C5kSwOnkqkw9XQAJlhBL2JAf1_uCD8lVcXyMRg,7652
|
|
5
|
+
nivix-0.9.0.dist-info/licenses/xserver/static/assets/vendor/uPlot.LICENSE,sha256=j5iSKWmbT-LxoEMtDp7cM4qKkR4lDi0bAezXcKX1sb0,1078
|
|
6
|
+
xserver/__init__.py,sha256=LAYNgXD0pj5vbJZBtOZP9XGx-6hwDxzTODbGsMTAWl8,949
|
|
7
|
+
xserver/__main__.py,sha256=UUM4O2Vug_SOB9bU9zZkcM1Ipsc7ERIamh9TNJY9Ml0,749
|
|
8
|
+
xserver/_show.py,sha256=kkhj_jthBjKIKp-Ogz_UAd9cNqakY7tmKEB6Tt_97po,11175
|
|
9
|
+
xserver/alignment.py,sha256=H6h3f5pwEgCsaX8wwFuDPvGgJRAzXR8-x8N7IHnStsU,10145
|
|
10
|
+
xserver/launch.py,sha256=O4qhWyQNYsd45qrfubx-O1dNoqOEc1R6ghjyIJ7-HdM,8543
|
|
11
|
+
xserver/xserver.py,sha256=GZgJhrzfIxeKs-71hqx3-xu98oHo7BEOnisT8SpElaM,350009
|
|
12
|
+
xserver/static/nivix-embed.js,sha256=cCpwvzgDTV5bYRPL-dwEFYkxxArqHUC5bUAyUu2Yxqs,3428
|
|
13
|
+
xserver/static/nivix.html,sha256=YqS-5Hjt9vVbG9n54xG2I71144c51MByMbbokuIOteo,101855
|
|
14
|
+
xserver/static/nivix.js,sha256=Z0J2ycnf90WA8zXCepdauZYTtxJGMDpZmjudMWH-9yE,413151
|
|
15
|
+
xserver/static/assets/alpinesoftware.png,sha256=y5-xkc5BnLvKdTLfQI_-79Qh04dUp-ZmYA9Bdfszgr8,20962
|
|
16
|
+
xserver/static/assets/alpinesoftware_white.png,sha256=HzLurmf_g6bC6ESKyMn3B_9TVENvKm1cYH7wEUbe0O0,203733
|
|
17
|
+
xserver/static/assets/nivix-mark.png,sha256=8vOisnk2WJL9cD2e2FFxgVOubIapFac7tHAGMqbDxhs,7265
|
|
18
|
+
xserver/static/assets/nivix-mark.svg,sha256=rUjZ0t5i0LLiI49DWvQ5b8e4i7787_J06fqRIkAxU0w,3017
|
|
19
|
+
xserver/static/assets/nivix-tile.png,sha256=ib-3JUCurQX6FElMuqZE9WRUgg8UYNlhmSeMCxCwVdg,10827
|
|
20
|
+
xserver/static/assets/nivix-tile.svg,sha256=nWdEa63Mlvrox2cP9Tb-G34Afo6FoFasB1cEfBcWEXM,3080
|
|
21
|
+
xserver/static/assets/vendor/linea.LICENSE,sha256=46mU2C5kSwOnkqkw9XQAJlhBL2JAf1_uCD8lVcXyMRg,7652
|
|
22
|
+
xserver/static/assets/vendor/linea.js,sha256=dX-r9XTW1sVBH3kCY2ucQGhWz7MZvs3vKySRSwz6jg0,482009
|
|
23
|
+
xserver/static/assets/vendor/linea.third-party.json,sha256=3ytFwmzhgjv2xfcomAGP36ao7eY_AgW9OGcB9W66nqM,4845
|
|
24
|
+
xserver/static/assets/vendor/profea.LICENSE,sha256=46mU2C5kSwOnkqkw9XQAJlhBL2JAf1_uCD8lVcXyMRg,7652
|
|
25
|
+
xserver/static/assets/vendor/uPlot.LICENSE,sha256=j5iSKWmbT-LxoEMtDp7cM4qKkR4lDi0bAezXcKX1sb0,1078
|
|
26
|
+
xserver/static/assets/vendor/uPlot.min.css,sha256=32MMao1vjur_JktQ9zzlsRT2Rv_ZoLt08EmwoAE1-gQ,1857
|
|
27
|
+
nivix-0.9.0.dist-info/METADATA,sha256=UBYECL0LhecLboYeHW-oivHcss_RT0ergY0VWHtO1FA,3804
|
|
28
|
+
nivix-0.9.0.dist-info/WHEEL,sha256=mOdXR9C3wMVov7cSY8PY-XCzo3SmmWCHvGQr5csJoao,91
|
|
29
|
+
nivix-0.9.0.dist-info/entry_points.txt,sha256=V_KbDE9wuEFXRlJax_pGcWT_gmXmDeZhEkilxD6mRuM,46
|
|
30
|
+
nivix-0.9.0.dist-info/top_level.txt,sha256=XoOmQtzRYDUfXN6-ypMFgEAi--e403RI5CjbA4vuujo,8
|
|
31
|
+
nivix-0.9.0.dist-info/RECORD,,
|