ebas-plot 0.1.0__tar.gz → 0.1.2__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.
- {ebas_plot-0.1.0 → ebas_plot-0.1.2}/PKG-INFO +4 -24
- {ebas_plot-0.1.0 → ebas_plot-0.1.2}/README.md +2 -22
- {ebas_plot-0.1.0 → ebas_plot-0.1.2}/ebas_plot.egg-info/PKG-INFO +4 -24
- {ebas_plot-0.1.0 → ebas_plot-0.1.2}/ebas_plot.py +5 -3
- {ebas_plot-0.1.0 → ebas_plot-0.1.2}/pyproject.toml +1 -1
- {ebas_plot-0.1.0 → ebas_plot-0.1.2}/LICENSE +0 -0
- {ebas_plot-0.1.0 → ebas_plot-0.1.2}/ebas_plot.egg-info/SOURCES.txt +0 -0
- {ebas_plot-0.1.0 → ebas_plot-0.1.2}/ebas_plot.egg-info/dependency_links.txt +0 -0
- {ebas_plot-0.1.0 → ebas_plot-0.1.2}/ebas_plot.egg-info/entry_points.txt +0 -0
- {ebas_plot-0.1.0 → ebas_plot-0.1.2}/ebas_plot.egg-info/requires.txt +0 -0
- {ebas_plot-0.1.0 → ebas_plot-0.1.2}/ebas_plot.egg-info/top_level.txt +0 -0
- {ebas_plot-0.1.0 → ebas_plot-0.1.2}/setup.cfg +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: ebas-plot
|
|
3
|
-
Version: 0.1.
|
|
4
|
-
Summary: Plotting utilities for EBAS datasets
|
|
3
|
+
Version: 0.1.2
|
|
4
|
+
Summary: Plotting utilities for EBAS netCDF datasets.
|
|
5
5
|
Author-email: Lise Eder Murberg <lemu@nilu.no>, Marthe Brevig <mbre@nilu.no>, Jonathan Elias Holme <jhol@nilu.no>
|
|
6
6
|
License-Expression: AGPL-3.0-or-later
|
|
7
7
|
Project-URL: Homepage, https://git.nilu.no/ebas/ebas-web/ebas-web-plotting
|
|
@@ -29,7 +29,7 @@ Dynamic: license-file
|
|
|
29
29
|
|
|
30
30
|
# ebas-plot
|
|
31
31
|
|
|
32
|
-
Plotting utilities for EBAS datasets
|
|
32
|
+
Plotting utilities for EBAS NetCDF datasets.
|
|
33
33
|
|
|
34
34
|
## Installation
|
|
35
35
|
|
|
@@ -41,19 +41,7 @@ python3 -m pip install ebas-plot
|
|
|
41
41
|
```
|
|
42
42
|
|
|
43
43
|
This installs a fixed release, such as `0.1.0`, together with its required
|
|
44
|
-
dependencies. It is the recommended
|
|
45
|
-
published through GitLab CI.
|
|
46
|
-
|
|
47
|
-
For testing changes that have not yet been published, install the current code
|
|
48
|
-
directly from the `python-package` development branch:
|
|
49
|
-
|
|
50
|
-
```bash
|
|
51
|
-
python3 -m pip install "git+https://git.nilu.no/ebas/ebas-web/ebas-web-plotting.git@python-package"
|
|
52
|
-
```
|
|
53
|
-
|
|
54
|
-
This bypasses PyPI and installs the latest commit on that branch. It requires
|
|
55
|
-
Git to be installed and permission to access `git.nilu.no`; use it only when
|
|
56
|
-
you need unreleased changes.
|
|
44
|
+
dependencies. It is the recommended installation method.
|
|
57
45
|
|
|
58
46
|
## Usage
|
|
59
47
|
|
|
@@ -108,14 +96,6 @@ for figure in figures:
|
|
|
108
96
|
figure.show()
|
|
109
97
|
```
|
|
110
98
|
|
|
111
|
-
## Releases
|
|
112
|
-
|
|
113
|
-
The `python-package` branch is the release branch. GitLab CI builds the source
|
|
114
|
-
and wheel distributions for its commits. To publish a new version, update
|
|
115
|
-
`__version__` in `ebas_plot.py`, push the branch, and run the manual `publish`
|
|
116
|
-
job. Configure the protected GitLab CI/CD variable `PYPI_TOKEN` with a PyPI
|
|
117
|
-
project-scoped API token before publishing.
|
|
118
|
-
|
|
119
99
|
## License
|
|
120
100
|
|
|
121
101
|
Copyright (C) 2026 Lise Eder Murberg, Marthe Brevig, and Jonathan Elias Holme.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# ebas-plot
|
|
2
2
|
|
|
3
|
-
Plotting utilities for EBAS datasets
|
|
3
|
+
Plotting utilities for EBAS NetCDF datasets.
|
|
4
4
|
|
|
5
5
|
## Installation
|
|
6
6
|
|
|
@@ -12,19 +12,7 @@ python3 -m pip install ebas-plot
|
|
|
12
12
|
```
|
|
13
13
|
|
|
14
14
|
This installs a fixed release, such as `0.1.0`, together with its required
|
|
15
|
-
dependencies. It is the recommended
|
|
16
|
-
published through GitLab CI.
|
|
17
|
-
|
|
18
|
-
For testing changes that have not yet been published, install the current code
|
|
19
|
-
directly from the `python-package` development branch:
|
|
20
|
-
|
|
21
|
-
```bash
|
|
22
|
-
python3 -m pip install "git+https://git.nilu.no/ebas/ebas-web/ebas-web-plotting.git@python-package"
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
This bypasses PyPI and installs the latest commit on that branch. It requires
|
|
26
|
-
Git to be installed and permission to access `git.nilu.no`; use it only when
|
|
27
|
-
you need unreleased changes.
|
|
15
|
+
dependencies. It is the recommended installation method.
|
|
28
16
|
|
|
29
17
|
## Usage
|
|
30
18
|
|
|
@@ -79,14 +67,6 @@ for figure in figures:
|
|
|
79
67
|
figure.show()
|
|
80
68
|
```
|
|
81
69
|
|
|
82
|
-
## Releases
|
|
83
|
-
|
|
84
|
-
The `python-package` branch is the release branch. GitLab CI builds the source
|
|
85
|
-
and wheel distributions for its commits. To publish a new version, update
|
|
86
|
-
`__version__` in `ebas_plot.py`, push the branch, and run the manual `publish`
|
|
87
|
-
job. Configure the protected GitLab CI/CD variable `PYPI_TOKEN` with a PyPI
|
|
88
|
-
project-scoped API token before publishing.
|
|
89
|
-
|
|
90
70
|
## License
|
|
91
71
|
|
|
92
72
|
Copyright (C) 2026 Lise Eder Murberg, Marthe Brevig, and Jonathan Elias Holme.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: ebas-plot
|
|
3
|
-
Version: 0.1.
|
|
4
|
-
Summary: Plotting utilities for EBAS datasets
|
|
3
|
+
Version: 0.1.2
|
|
4
|
+
Summary: Plotting utilities for EBAS netCDF datasets.
|
|
5
5
|
Author-email: Lise Eder Murberg <lemu@nilu.no>, Marthe Brevig <mbre@nilu.no>, Jonathan Elias Holme <jhol@nilu.no>
|
|
6
6
|
License-Expression: AGPL-3.0-or-later
|
|
7
7
|
Project-URL: Homepage, https://git.nilu.no/ebas/ebas-web/ebas-web-plotting
|
|
@@ -29,7 +29,7 @@ Dynamic: license-file
|
|
|
29
29
|
|
|
30
30
|
# ebas-plot
|
|
31
31
|
|
|
32
|
-
Plotting utilities for EBAS datasets
|
|
32
|
+
Plotting utilities for EBAS NetCDF datasets.
|
|
33
33
|
|
|
34
34
|
## Installation
|
|
35
35
|
|
|
@@ -41,19 +41,7 @@ python3 -m pip install ebas-plot
|
|
|
41
41
|
```
|
|
42
42
|
|
|
43
43
|
This installs a fixed release, such as `0.1.0`, together with its required
|
|
44
|
-
dependencies. It is the recommended
|
|
45
|
-
published through GitLab CI.
|
|
46
|
-
|
|
47
|
-
For testing changes that have not yet been published, install the current code
|
|
48
|
-
directly from the `python-package` development branch:
|
|
49
|
-
|
|
50
|
-
```bash
|
|
51
|
-
python3 -m pip install "git+https://git.nilu.no/ebas/ebas-web/ebas-web-plotting.git@python-package"
|
|
52
|
-
```
|
|
53
|
-
|
|
54
|
-
This bypasses PyPI and installs the latest commit on that branch. It requires
|
|
55
|
-
Git to be installed and permission to access `git.nilu.no`; use it only when
|
|
56
|
-
you need unreleased changes.
|
|
44
|
+
dependencies. It is the recommended installation method.
|
|
57
45
|
|
|
58
46
|
## Usage
|
|
59
47
|
|
|
@@ -108,14 +96,6 @@ for figure in figures:
|
|
|
108
96
|
figure.show()
|
|
109
97
|
```
|
|
110
98
|
|
|
111
|
-
## Releases
|
|
112
|
-
|
|
113
|
-
The `python-package` branch is the release branch. GitLab CI builds the source
|
|
114
|
-
and wheel distributions for its commits. To publish a new version, update
|
|
115
|
-
`__version__` in `ebas_plot.py`, push the branch, and run the manual `publish`
|
|
116
|
-
job. Configure the protected GitLab CI/CD variable `PYPI_TOKEN` with a PyPI
|
|
117
|
-
project-scoped API token before publishing.
|
|
118
|
-
|
|
119
99
|
## License
|
|
120
100
|
|
|
121
101
|
Copyright (C) 2026 Lise Eder Murberg, Marthe Brevig, and Jonathan Elias Holme.
|
|
@@ -7,7 +7,7 @@ import requests
|
|
|
7
7
|
from netCDF4 import num2date
|
|
8
8
|
import pandas as pd
|
|
9
9
|
|
|
10
|
-
__version__ = "0.1.
|
|
10
|
+
__version__ = "0.1.2"
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
class DatasetAccessError(Exception):
|
|
@@ -99,10 +99,12 @@ def validate_dataset(path: str) -> xr.Dataset | None:
|
|
|
99
99
|
errors.append("Missing required 'time' dimension/coordinate.")
|
|
100
100
|
|
|
101
101
|
plot_vars = _plot_vars(ds)
|
|
102
|
-
|
|
102
|
+
pnsd_var = _pnsd_var(ds)
|
|
103
|
+
valid_vars = plot_vars or ([pnsd_var] if pnsd_var is not None else [])
|
|
104
|
+
if not valid_vars:
|
|
103
105
|
errors.append("No plottable variables found — need at least one 'v_*' float variable with a 'time' dimension.")
|
|
104
106
|
else:
|
|
105
|
-
for name in
|
|
107
|
+
for name in valid_vars:
|
|
106
108
|
if not ds[name].attrs.get("ebas_unit") and not ds[name].attrs.get("units"):
|
|
107
109
|
warnings.append(f"'{name}' has no 'ebas_unit' or 'units' attribute — unit label will be blank.")
|
|
108
110
|
|
|
@@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta"
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "ebas-plot"
|
|
7
7
|
dynamic = ["version"]
|
|
8
|
-
description = "Plotting utilities for EBAS datasets
|
|
8
|
+
description = "Plotting utilities for EBAS netCDF datasets."
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.10"
|
|
11
11
|
license = "AGPL-3.0-or-later"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|