oafuncs 0.0.98.27__py3-none-any.whl → 0.0.98.29__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.
- oafuncs/oa_nc.py +3 -3
- {oafuncs-0.0.98.27.dist-info → oafuncs-0.0.98.29.dist-info}/METADATA +3 -2
- {oafuncs-0.0.98.27.dist-info → oafuncs-0.0.98.29.dist-info}/RECORD +6 -6
- {oafuncs-0.0.98.27.dist-info → oafuncs-0.0.98.29.dist-info}/WHEEL +0 -0
- {oafuncs-0.0.98.27.dist-info → oafuncs-0.0.98.29.dist-info}/licenses/LICENSE.txt +0 -0
- {oafuncs-0.0.98.27.dist-info → oafuncs-0.0.98.29.dist-info}/top_level.txt +0 -0
oafuncs/oa_nc.py
CHANGED
@@ -268,15 +268,15 @@ def draw(
|
|
268
268
|
|
269
269
|
if output_directory is None:
|
270
270
|
output_directory = os.getcwd()
|
271
|
-
if not isinstance(dims_xyzt, (list, tuple)):
|
271
|
+
if not isinstance(dims_xyzt, (list, tuple)) and dims_xyzt is not None:
|
272
272
|
raise ValueError("dimensions must be a list or tuple")
|
273
273
|
|
274
274
|
if dataset is not None:
|
275
|
-
func_plot_dataset(dataset, output_directory,
|
275
|
+
func_plot_dataset(dataset, output_directory, dims_xyzt, plot_style, use_fixed_colorscale)
|
276
276
|
elif file_path is not None:
|
277
277
|
if check(file_path):
|
278
278
|
ds = xr.open_dataset(file_path)
|
279
|
-
func_plot_dataset(ds, output_directory,
|
279
|
+
func_plot_dataset(ds, output_directory, dims_xyzt, plot_style, use_fixed_colorscale)
|
280
280
|
else:
|
281
281
|
print(f"[red]Invalid file: {file_path}[/red]")
|
282
282
|
else:
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: oafuncs
|
3
|
-
Version: 0.0.98.
|
3
|
+
Version: 0.0.98.29
|
4
4
|
Summary: Oceanic and Atmospheric Functions
|
5
5
|
Home-page: https://github.com/Industry-Pays/OAFuncs
|
6
6
|
Author: Kun Liu
|
@@ -12,9 +12,10 @@ Classifier: Programming Language :: Python :: 3
|
|
12
12
|
Classifier: Programming Language :: Python :: 3.10
|
13
13
|
Classifier: Programming Language :: Python :: 3.11
|
14
14
|
Classifier: Programming Language :: Python :: 3.12
|
15
|
+
Classifier: Programming Language :: Python :: 3.13
|
15
16
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
16
17
|
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
17
|
-
Requires-Python: >=3.
|
18
|
+
Requires-Python: >=3.10.0
|
18
19
|
Description-Content-Type: text/markdown
|
19
20
|
License-File: LICENSE.txt
|
20
21
|
Requires-Dist: numpy
|
@@ -5,7 +5,7 @@ oafuncs/oa_date.py,sha256=WhM6cyD4G3IeghjLTHhAMtlvJbA7kwQG2sHnxdTgyso,6303
|
|
5
5
|
oafuncs/oa_draw.py,sha256=IaBGDx-EOxyMM2IuJ4zLZt6ruHHV5qFStPItmUOXoWk,17635
|
6
6
|
oafuncs/oa_file.py,sha256=j9gXJgPOJsliu4IOUc4bc-luW4yBvQyNCEmMyDVjUwQ,16404
|
7
7
|
oafuncs/oa_help.py,sha256=_4AZgRDq5Or0vauNvq5IDDHIBoBfdOQtzak-mG1wwAw,4537
|
8
|
-
oafuncs/oa_nc.py,sha256=
|
8
|
+
oafuncs/oa_nc.py,sha256=TMrrPBdPz1IJ-7dMOD_gzzTbG6FHSgm-ZfdlvoJDtcY,15245
|
9
9
|
oafuncs/oa_python.py,sha256=NkopwkYFGSEuVljnTBvXCl6o2CeyRNBqRXSsUl3euEE,5192
|
10
10
|
oafuncs/oa_tool.py,sha256=Zuaoa92wll0YqXGRf0oF_c7wlATtl7bvjCuLt9VLXp0,8046
|
11
11
|
oafuncs/_data/hycom.png,sha256=MadKs6Gyj5n9-TOu7L4atQfTXtF9dvN9w-tdU9IfygI,10945710
|
@@ -38,8 +38,8 @@ oafuncs/oa_sign/__init__.py,sha256=QKqTFrJDFK40C5uvk48GlRRbGFzO40rgkYwu6dYxatM,5
|
|
38
38
|
oafuncs/oa_sign/meteorological.py,sha256=8091SHo2L8kl4dCFmmSH5NGVHDku5i5lSiLEG5DLnOQ,6489
|
39
39
|
oafuncs/oa_sign/ocean.py,sha256=xrW-rWD7xBWsB5PuCyEwQ1Q_RDKq2KCLz-LOONHgldU,5932
|
40
40
|
oafuncs/oa_sign/scientific.py,sha256=a4JxOBgm9vzNZKpJ_GQIQf7cokkraV5nh23HGbmTYKw,5064
|
41
|
-
oafuncs-0.0.98.
|
42
|
-
oafuncs-0.0.98.
|
43
|
-
oafuncs-0.0.98.
|
44
|
-
oafuncs-0.0.98.
|
45
|
-
oafuncs-0.0.98.
|
41
|
+
oafuncs-0.0.98.29.dist-info/licenses/LICENSE.txt,sha256=rMtLpVg8sKiSlwClfR9w_Dd_5WubTQgoOzE2PDFxzs4,1074
|
42
|
+
oafuncs-0.0.98.29.dist-info/METADATA,sha256=V1EJ9J4TUr06OWk13eB8mqLDKwAbCYudtBx4U7HrlIE,4326
|
43
|
+
oafuncs-0.0.98.29.dist-info/WHEEL,sha256=Nw36Djuh_5VDukK0H78QzOX-_FQEo6V37m3nkm96gtU,91
|
44
|
+
oafuncs-0.0.98.29.dist-info/top_level.txt,sha256=bgC35QkXbN4EmPHEveg_xGIZ5i9NNPYWqtJqaKqTPsQ,8
|
45
|
+
oafuncs-0.0.98.29.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|