ncplot 0.3.9__tar.gz → 0.3.12__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.
- {ncplot-0.3.9 → ncplot-0.3.12}/PKG-INFO +15 -2
- {ncplot-0.3.9 → ncplot-0.3.12}/ncplot/plot.py +8 -5
- {ncplot-0.3.9 → ncplot-0.3.12}/ncplot.egg-info/SOURCES.txt +1 -0
- ncplot-0.3.12/pyproject.toml +5 -0
- {ncplot-0.3.9 → ncplot-0.3.12}/setup.py +1 -1
- {ncplot-0.3.9 → ncplot-0.3.12}/LICENSE +0 -0
- {ncplot-0.3.9 → ncplot-0.3.12}/MANIFEST.in +0 -0
- {ncplot-0.3.9 → ncplot-0.3.12}/README.md +0 -0
- {ncplot-0.3.9 → ncplot-0.3.12}/ncplot/__init__.py +0 -0
- {ncplot-0.3.9 → ncplot-0.3.12}/ncplot/command_line.py +0 -0
- {ncplot-0.3.9 → ncplot-0.3.12}/ncplot/deprecated.py +0 -0
- {ncplot-0.3.9 → ncplot-0.3.12}/ncplot/utils.py +0 -0
- {ncplot-0.3.9 → ncplot-0.3.12}/ncplot/xarray.py +0 -0
- {ncplot-0.3.9 → ncplot-0.3.12}/requirements.txt +0 -0
- {ncplot-0.3.9 → ncplot-0.3.12}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: ncplot
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.12
|
|
4
4
|
Summary: Interactive viewing of NetCDF data
|
|
5
5
|
Home-page: https://github.com/pmlmodelling/ncplot
|
|
6
6
|
Author: Robert Wilson
|
|
@@ -31,6 +31,19 @@ Requires-Dist: jupyter_bokeh
|
|
|
31
31
|
Requires-Dist: datashader; python_version <= "3.10"
|
|
32
32
|
Provides-Extra: complete
|
|
33
33
|
Requires-Dist: geoviews; extra == "complete"
|
|
34
|
+
Dynamic: author
|
|
35
|
+
Dynamic: author-email
|
|
36
|
+
Dynamic: classifier
|
|
37
|
+
Dynamic: description
|
|
38
|
+
Dynamic: description-content-type
|
|
39
|
+
Dynamic: home-page
|
|
40
|
+
Dynamic: license-file
|
|
41
|
+
Dynamic: maintainer
|
|
42
|
+
Dynamic: project-url
|
|
43
|
+
Dynamic: provides-extra
|
|
44
|
+
Dynamic: requires-dist
|
|
45
|
+
Dynamic: requires-python
|
|
46
|
+
Dynamic: summary
|
|
34
47
|
|
|
35
48
|
|
|
36
49
|
|
|
@@ -247,12 +247,11 @@ def view(x, vars=None, autoscale=True, out=None, **kwargs):
|
|
|
247
247
|
|
|
248
248
|
coord_list = list(ds.coords)
|
|
249
249
|
|
|
250
|
-
#if vars is None:
|
|
251
|
-
#vars = [x for x in list(ds.data_vars) if x not in coord_list]
|
|
252
|
-
|
|
253
|
-
|
|
254
250
|
|
|
255
251
|
for cc in coord_list:
|
|
252
|
+
new_coords = list(ds.coords)
|
|
253
|
+
if cc not in new_coords:
|
|
254
|
+
continue
|
|
256
255
|
if len(ds[cc].values.ravel()) <= 1:
|
|
257
256
|
if cc in list(ds.dims):
|
|
258
257
|
ds = ds.squeeze(cc, drop=True)
|
|
@@ -482,11 +481,15 @@ def view(x, vars=None, autoscale=True, out=None, **kwargs):
|
|
|
482
481
|
|
|
483
482
|
coord_list = list(ds.coords)
|
|
484
483
|
|
|
484
|
+
|
|
485
485
|
for cc in coord_list:
|
|
486
|
+
new_coords = list(ds.coords)
|
|
487
|
+
if cc not in new_coords:
|
|
488
|
+
continue
|
|
486
489
|
if len(ds[cc].values.ravel()) <= 1:
|
|
487
490
|
if cc in list(ds.dims):
|
|
488
491
|
ds = ds.squeeze(cc, drop=True)
|
|
489
|
-
|
|
492
|
+
|
|
490
493
|
coord_list = list(ds.coords)
|
|
491
494
|
|
|
492
495
|
coord_list = [x for x in coord_list if x in list(ds.dims)]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|