asp-plot 1.14.0__tar.gz → 1.14.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.
- {asp_plot-1.14.0 → asp_plot-1.14.1}/CHANGELOG.md +5 -0
- {asp_plot-1.14.0 → asp_plot-1.14.1}/PKG-INFO +1 -1
- {asp_plot-1.14.0 → asp_plot-1.14.1}/asp_plot/utils.py +10 -0
- {asp_plot-1.14.0 → asp_plot-1.14.1}/pyproject.toml +1 -1
- {asp_plot-1.14.0 → asp_plot-1.14.1}/.flake8 +0 -0
- {asp_plot-1.14.0 → asp_plot-1.14.1}/.github/workflows/release.yml +0 -0
- {asp_plot-1.14.0 → asp_plot-1.14.1}/.github/workflows/run-tests.yml +0 -0
- {asp_plot-1.14.0 → asp_plot-1.14.1}/.gitignore +0 -0
- {asp_plot-1.14.0 → asp_plot-1.14.1}/.pre-commit-config.yaml +0 -0
- {asp_plot-1.14.0 → asp_plot-1.14.1}/.readthedocs.yaml +0 -0
- {asp_plot-1.14.0 → asp_plot-1.14.1}/LICENSE +0 -0
- {asp_plot-1.14.0 → asp_plot-1.14.1}/README.md +0 -0
- {asp_plot-1.14.0 → asp_plot-1.14.1}/asp_plot/__init__.py +0 -0
- {asp_plot-1.14.0 → asp_plot-1.14.1}/asp_plot/alignment.py +0 -0
- {asp_plot-1.14.0 → asp_plot-1.14.1}/asp_plot/altimetry.py +0 -0
- {asp_plot-1.14.0 → asp_plot-1.14.1}/asp_plot/bundle_adjust.py +0 -0
- {asp_plot-1.14.0 → asp_plot-1.14.1}/asp_plot/cli/__init__.py +0 -0
- {asp_plot-1.14.0 → asp_plot-1.14.1}/asp_plot/cli/asp_plot.py +0 -0
- {asp_plot-1.14.0 → asp_plot-1.14.1}/asp_plot/cli/csm_camera_plot.py +0 -0
- {asp_plot-1.14.0 → asp_plot-1.14.1}/asp_plot/cli/request_planetary_altimetry.py +0 -0
- {asp_plot-1.14.0 → asp_plot-1.14.1}/asp_plot/cli/stereo_geom.py +0 -0
- {asp_plot-1.14.0 → asp_plot-1.14.1}/asp_plot/csm_camera.py +0 -0
- {asp_plot-1.14.0 → asp_plot-1.14.1}/asp_plot/processing_parameters.py +0 -0
- {asp_plot-1.14.0 → asp_plot-1.14.1}/asp_plot/report.py +0 -0
- {asp_plot-1.14.0 → asp_plot-1.14.1}/asp_plot/scenes.py +0 -0
- {asp_plot-1.14.0 → asp_plot-1.14.1}/asp_plot/stereo.py +0 -0
- {asp_plot-1.14.0 → asp_plot-1.14.1}/asp_plot/stereo_geometry.py +0 -0
- {asp_plot-1.14.0 → asp_plot-1.14.1}/asp_plot/stereopair_metadata_parser.py +0 -0
- {asp_plot-1.14.0 → asp_plot-1.14.1}/conda-forge-recipe/meta.yaml +0 -0
- {asp_plot-1.14.0 → asp_plot-1.14.1}/environment.yml +0 -0
|
@@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [1.14.1] - 2026-06-05
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
- **`Raster.get_epsg_code()` returned `None` for compound / 3D-promoted CRSs** (e.g. `"EPSG:32610+EPSG:4979"`, as written by [stereopipeline-quickstart's `fetch_cop_dem.py`](https://github.com/uw-cryo/stereopipeline-quickstart/blob/main/scripts/fetch_cop_dem.py) to assert ellipsoid heights on the COP30 DEM). PROJ represents such a CRS as a UTM CRS "promoted to 3D" with no exact EPSG match, so `rasterio`'s `to_epsg()` yields `None` and downstream `f"EPSG:{epsg}"` strings crash (e.g. passing the DEM as `dem_fn` to `Altimetry`, or `Raster.get_bounds(latlon=True)`). Now falls back to the EPSG code of the horizontal (2D) component via `pyproj`'s `CRS.to_2d()`.
|
|
12
|
+
|
|
8
13
|
## [1.14.0] - 2026-04-28
|
|
9
14
|
|
|
10
15
|
### Added
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: asp_plot
|
|
3
|
-
Version: 1.14.
|
|
3
|
+
Version: 1.14.1
|
|
4
4
|
Summary: Package for plotting outputs Ames Stereo Pipeline processing
|
|
5
5
|
Project-URL: Homepage, https://github.com/uw-cryo/asp_plot
|
|
6
6
|
Project-URL: Documentation, https://asp-plot.readthedocs.io
|
|
@@ -774,8 +774,18 @@ class Raster:
|
|
|
774
774
|
-------
|
|
775
775
|
int
|
|
776
776
|
EPSG code
|
|
777
|
+
|
|
778
|
+
Notes
|
|
779
|
+
-----
|
|
780
|
+
If the CRS has no exact EPSG match (e.g. a compound or 3D-promoted
|
|
781
|
+
CRS such as "EPSG:32610+EPSG:4979"), falls back to the EPSG code
|
|
782
|
+
of the horizontal (2D) component.
|
|
777
783
|
"""
|
|
778
784
|
epsg = self.ds.crs.to_epsg()
|
|
785
|
+
if epsg is None:
|
|
786
|
+
from pyproj import CRS
|
|
787
|
+
|
|
788
|
+
epsg = CRS(self.ds.crs).to_2d().to_epsg()
|
|
779
789
|
return epsg
|
|
780
790
|
|
|
781
791
|
def get_utm_epsg_code(self):
|
|
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
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|