oafuncs 0.0.98.24__py3-none-any.whl → 0.0.98.25__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/_script/data_interp_geo.py +4 -3
- {oafuncs-0.0.98.24.dist-info → oafuncs-0.0.98.25.dist-info}/METADATA +1 -1
- {oafuncs-0.0.98.24.dist-info → oafuncs-0.0.98.25.dist-info}/RECORD +6 -6
- {oafuncs-0.0.98.24.dist-info → oafuncs-0.0.98.25.dist-info}/WHEEL +0 -0
- {oafuncs-0.0.98.24.dist-info → oafuncs-0.0.98.25.dist-info}/licenses/LICENSE.txt +0 -0
- {oafuncs-0.0.98.24.dist-info → oafuncs-0.0.98.25.dist-info}/top_level.txt +0 -0
@@ -78,17 +78,18 @@ def _interp_single_worker(*args):
|
|
78
78
|
data_filled = data_slice
|
79
79
|
|
80
80
|
# 创建xarray DataArray
|
81
|
+
|
81
82
|
da = xr.DataArray(
|
82
83
|
data_filled,
|
83
|
-
coords={"
|
84
|
-
dims=("
|
84
|
+
coords={"lat": source_lats, "lon": source_lons},
|
85
|
+
dims=("lat", "lon"),
|
85
86
|
)
|
86
87
|
|
87
88
|
# 创建Grid2D对象
|
88
89
|
grid = pyxr.Grid2D(da)
|
89
90
|
|
90
91
|
# 使用bicubic方法插值
|
91
|
-
result = grid.bicubic(coords={"
|
92
|
+
result = grid.bicubic(coords={"lon": target_lons.flatten(), "lat": target_lats.flatten()}, bounds_error=False, num_threads=1).reshape(target_lons.shape)
|
92
93
|
|
93
94
|
return result
|
94
95
|
|
@@ -12,7 +12,7 @@ oafuncs/_data/hycom.png,sha256=MadKs6Gyj5n9-TOu7L4atQfTXtF9dvN9w-tdU9IfygI,10945
|
|
12
12
|
oafuncs/_data/oafuncs.png,sha256=o3VD7wm-kwDea5E98JqxXl04_78cBX7VcdUt7uQXGiU,3679898
|
13
13
|
oafuncs/_script/cprogressbar.py,sha256=UIgGcLFs-6IgWlITuBLaQqrpt4OAK3Mst5RlCiNfZdQ,15772
|
14
14
|
oafuncs/_script/data_interp.py,sha256=EiZbt6n5BEaRKcng88UgX7TFPhKE6TLVZniS01awXjg,5146
|
15
|
-
oafuncs/_script/data_interp_geo.py,sha256=
|
15
|
+
oafuncs/_script/data_interp_geo.py,sha256=PVE2WPQQJO7Lg8UNuspkphuChChJGzLzoggKd9hmwhI,6517
|
16
16
|
oafuncs/_script/email.py,sha256=lL4HGKrr524-g0xLlgs-4u7x4-u7DtgNoD9AL8XJKj4,3058
|
17
17
|
oafuncs/_script/netcdf_merge.py,sha256=tM9ePqLiEsE7eIsNM5XjEYeXwxjYOdNz5ejnEuI7xKw,6066
|
18
18
|
oafuncs/_script/netcdf_modify.py,sha256=sGRUYNhfGgf9JV70rnBzw3bzuTRSXzBTL_RMDnDPeLQ,4552
|
@@ -39,8 +39,8 @@ oafuncs/oa_sign/__init__.py,sha256=QKqTFrJDFK40C5uvk48GlRRbGFzO40rgkYwu6dYxatM,5
|
|
39
39
|
oafuncs/oa_sign/meteorological.py,sha256=8091SHo2L8kl4dCFmmSH5NGVHDku5i5lSiLEG5DLnOQ,6489
|
40
40
|
oafuncs/oa_sign/ocean.py,sha256=xrW-rWD7xBWsB5PuCyEwQ1Q_RDKq2KCLz-LOONHgldU,5932
|
41
41
|
oafuncs/oa_sign/scientific.py,sha256=a4JxOBgm9vzNZKpJ_GQIQf7cokkraV5nh23HGbmTYKw,5064
|
42
|
-
oafuncs-0.0.98.
|
43
|
-
oafuncs-0.0.98.
|
44
|
-
oafuncs-0.0.98.
|
45
|
-
oafuncs-0.0.98.
|
46
|
-
oafuncs-0.0.98.
|
42
|
+
oafuncs-0.0.98.25.dist-info/licenses/LICENSE.txt,sha256=rMtLpVg8sKiSlwClfR9w_Dd_5WubTQgoOzE2PDFxzs4,1074
|
43
|
+
oafuncs-0.0.98.25.dist-info/METADATA,sha256=M2uwzyPNssn7xa5NxJ45U3_gICIIIOm_WUAKKBNmM0Y,4273
|
44
|
+
oafuncs-0.0.98.25.dist-info/WHEEL,sha256=Nw36Djuh_5VDukK0H78QzOX-_FQEo6V37m3nkm96gtU,91
|
45
|
+
oafuncs-0.0.98.25.dist-info/top_level.txt,sha256=bgC35QkXbN4EmPHEveg_xGIZ5i9NNPYWqtJqaKqTPsQ,8
|
46
|
+
oafuncs-0.0.98.25.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|