modverif 0.2.2__tar.gz → 0.2.3__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.
- {modverif-0.2.2 → modverif-0.2.3}/PKG-INFO +1 -1
- {modverif-0.2.2 → modverif-0.2.3}/modverif/__init__.py +1 -1
- {modverif-0.2.2 → modverif-0.2.3}/modverif/composite.py +2 -0
- {modverif-0.2.2 → modverif-0.2.3}/.gitignore +0 -0
- {modverif-0.2.2 → modverif-0.2.3}/LICENSE +0 -0
- {modverif-0.2.2 → modverif-0.2.3}/README.md +0 -0
- {modverif-0.2.2 → modverif-0.2.3}/modverif/cyclone.py +0 -0
- {modverif-0.2.2 → modverif-0.2.3}/modverif/evaluate.py +0 -0
- {modverif-0.2.2 → modverif-0.2.3}/modverif/evaluator.py +0 -0
- {modverif-0.2.2 → modverif-0.2.3}/modverif/metrics.py +0 -0
- {modverif-0.2.2 → modverif-0.2.3}/modverif/plots.py +0 -0
- {modverif-0.2.2 → modverif-0.2.3}/modverif/station.py +0 -0
- {modverif-0.2.2 → modverif-0.2.3}/modverif/wrfio.py +0 -0
- {modverif-0.2.2 → modverif-0.2.3}/pyproject.toml +0 -0
|
@@ -84,6 +84,8 @@ def _read_grid_from_ds(ds):
|
|
|
84
84
|
|
|
85
85
|
if 'latitude' in coord_names or 'latitude' in var_names:
|
|
86
86
|
xlat, xlong = _read_latlon_2d(ds)
|
|
87
|
+
# Wrap longitudes > 180 to -180..180 for cartopy PlateCarree
|
|
88
|
+
xlong = np.where(xlong > 180, xlong - 360, xlong)
|
|
87
89
|
return xlong, xlat, None, False
|
|
88
90
|
|
|
89
91
|
if 'y' in coord_names and 'x' in coord_names and ds.crs is not None:
|
|
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
|
|
File without changes
|