pdemtools 1.1.0__tar.gz → 1.1.1__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.
- {pdemtools-1.1.0/src/pdemtools.egg-info → pdemtools-1.1.1}/PKG-INFO +1 -1
- {pdemtools-1.1.0 → pdemtools-1.1.1}/src/pdemtools/__init__.py +1 -1
- {pdemtools-1.1.0 → pdemtools-1.1.1}/src/pdemtools/data.py +6 -2
- {pdemtools-1.1.0 → pdemtools-1.1.1/src/pdemtools.egg-info}/PKG-INFO +1 -1
- {pdemtools-1.1.0 → pdemtools-1.1.1}/LICENSE.md +0 -0
- {pdemtools-1.1.0 → pdemtools-1.1.1}/README.md +0 -0
- {pdemtools-1.1.0 → pdemtools-1.1.1}/pyproject.toml +0 -0
- {pdemtools-1.1.0 → pdemtools-1.1.1}/setup.cfg +0 -0
- {pdemtools-1.1.0 → pdemtools-1.1.1}/src/pdemtools/_accessor.py +0 -0
- {pdemtools-1.1.0 → pdemtools-1.1.1}/src/pdemtools/_coreg.py +0 -0
- {pdemtools-1.1.0 → pdemtools-1.1.1}/src/pdemtools/_geomorphometry.py +0 -0
- {pdemtools-1.1.0 → pdemtools-1.1.1}/src/pdemtools/_index_search.py +0 -0
- {pdemtools-1.1.0 → pdemtools-1.1.1}/src/pdemtools/_utils.py +0 -0
- {pdemtools-1.1.0 → pdemtools-1.1.1}/src/pdemtools/load.py +0 -0
- {pdemtools-1.1.0 → pdemtools-1.1.1}/src/pdemtools/mosaic_index/ArcticDEM_Mosaic_Index_v3_gpkg.gpkg +0 -0
- {pdemtools-1.1.0 → pdemtools-1.1.1}/src/pdemtools/mosaic_index/ArcticDEM_Mosaic_Index_v4_1_gpkg.gpkg +0 -0
- {pdemtools-1.1.0 → pdemtools-1.1.1}/src/pdemtools/mosaic_index/REMA_Mosaic_Index_v2_gpkg.gpkg +0 -0
- {pdemtools-1.1.0 → pdemtools-1.1.1}/src/pdemtools/test_data/test_arcticdem_index_kiv_steenstrup.parquet +0 -0
- {pdemtools-1.1.0 → pdemtools-1.1.1}/src/pdemtools.egg-info/SOURCES.txt +0 -0
- {pdemtools-1.1.0 → pdemtools-1.1.1}/src/pdemtools.egg-info/dependency_links.txt +0 -0
- {pdemtools-1.1.0 → pdemtools-1.1.1}/src/pdemtools.egg-info/requires.txt +0 -0
- {pdemtools-1.1.0 → pdemtools-1.1.1}/src/pdemtools.egg-info/top_level.txt +0 -0
- {pdemtools-1.1.0 → pdemtools-1.1.1}/tests/test_download.py +0 -0
- {pdemtools-1.1.0 → pdemtools-1.1.1}/tests/test_processing.py +0 -0
- {pdemtools-1.1.0 → pdemtools-1.1.1}/tests/test_search.py +0 -0
|
@@ -39,7 +39,9 @@ def geoid_from_bedmachine(bm_fpath: str, target_rxd: DataArray) -> DataArray:
|
|
|
39
39
|
geoid = rxr.open_rasterio(f"{bm_fpath}")["geoid"]
|
|
40
40
|
geoid_crs = geoid.rio.crs
|
|
41
41
|
geoid = geoid.squeeze().astype("float32").rio.write_crs(geoid_crs)
|
|
42
|
-
geoid = geoid.rio.reproject_match(
|
|
42
|
+
geoid = geoid.rio.reproject_match(
|
|
43
|
+
match_data_array=target_rxd, resampling=Resampling.bilinear
|
|
44
|
+
)
|
|
43
45
|
|
|
44
46
|
return geoid.squeeze()
|
|
45
47
|
|
|
@@ -63,7 +65,9 @@ def geoid_from_raster(fpath: str, target_rxd: DataArray = None) -> DataArray:
|
|
|
63
65
|
geoid = geoid.squeeze().astype("float32").rio.write_crs(geoid_crs)
|
|
64
66
|
|
|
65
67
|
if target_rxd != None:
|
|
66
|
-
geoid = geoid.rio.reproject_match(
|
|
68
|
+
geoid = geoid.rio.reproject_match(
|
|
69
|
+
match_data_array=target_rxd, resampling=Resampling.bilinear
|
|
70
|
+
)
|
|
67
71
|
|
|
68
72
|
return geoid.squeeze()
|
|
69
73
|
|
|
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
|
{pdemtools-1.1.0 → pdemtools-1.1.1}/src/pdemtools/mosaic_index/ArcticDEM_Mosaic_Index_v3_gpkg.gpkg
RENAMED
|
File without changes
|
{pdemtools-1.1.0 → pdemtools-1.1.1}/src/pdemtools/mosaic_index/ArcticDEM_Mosaic_Index_v4_1_gpkg.gpkg
RENAMED
|
File without changes
|
{pdemtools-1.1.0 → pdemtools-1.1.1}/src/pdemtools/mosaic_index/REMA_Mosaic_Index_v2_gpkg.gpkg
RENAMED
|
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
|