asp-plot 1.15.0__tar.gz → 1.15.2__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.15.0 → asp_plot-1.15.2}/CHANGELOG.md +10 -0
- {asp_plot-1.15.0 → asp_plot-1.15.2}/PKG-INFO +1 -1
- {asp_plot-1.15.0 → asp_plot-1.15.2}/asp_plot/altimetry.py +11 -1
- {asp_plot-1.15.0 → asp_plot-1.15.2}/pyproject.toml +1 -1
- {asp_plot-1.15.0 → asp_plot-1.15.2}/.flake8 +0 -0
- {asp_plot-1.15.0 → asp_plot-1.15.2}/.github/workflows/release.yml +0 -0
- {asp_plot-1.15.0 → asp_plot-1.15.2}/.github/workflows/run-tests.yml +0 -0
- {asp_plot-1.15.0 → asp_plot-1.15.2}/.gitignore +0 -0
- {asp_plot-1.15.0 → asp_plot-1.15.2}/.pre-commit-config.yaml +0 -0
- {asp_plot-1.15.0 → asp_plot-1.15.2}/.readthedocs.yaml +0 -0
- {asp_plot-1.15.0 → asp_plot-1.15.2}/LICENSE +0 -0
- {asp_plot-1.15.0 → asp_plot-1.15.2}/README.md +0 -0
- {asp_plot-1.15.0 → asp_plot-1.15.2}/asp_plot/__init__.py +0 -0
- {asp_plot-1.15.0 → asp_plot-1.15.2}/asp_plot/alignment.py +0 -0
- {asp_plot-1.15.0 → asp_plot-1.15.2}/asp_plot/bundle_adjust.py +0 -0
- {asp_plot-1.15.0 → asp_plot-1.15.2}/asp_plot/cli/__init__.py +0 -0
- {asp_plot-1.15.0 → asp_plot-1.15.2}/asp_plot/cli/asp_plot.py +0 -0
- {asp_plot-1.15.0 → asp_plot-1.15.2}/asp_plot/cli/csm_camera_plot.py +0 -0
- {asp_plot-1.15.0 → asp_plot-1.15.2}/asp_plot/cli/gallery.py +0 -0
- {asp_plot-1.15.0 → asp_plot-1.15.2}/asp_plot/cli/request_planetary_altimetry.py +0 -0
- {asp_plot-1.15.0 → asp_plot-1.15.2}/asp_plot/cli/stereo_geom.py +0 -0
- {asp_plot-1.15.0 → asp_plot-1.15.2}/asp_plot/csm_camera.py +0 -0
- {asp_plot-1.15.0 → asp_plot-1.15.2}/asp_plot/gallery.py +0 -0
- {asp_plot-1.15.0 → asp_plot-1.15.2}/asp_plot/processing_parameters.py +0 -0
- {asp_plot-1.15.0 → asp_plot-1.15.2}/asp_plot/report.py +0 -0
- {asp_plot-1.15.0 → asp_plot-1.15.2}/asp_plot/scenes.py +0 -0
- {asp_plot-1.15.0 → asp_plot-1.15.2}/asp_plot/stereo.py +0 -0
- {asp_plot-1.15.0 → asp_plot-1.15.2}/asp_plot/stereo_geometry.py +0 -0
- {asp_plot-1.15.0 → asp_plot-1.15.2}/asp_plot/stereopair_metadata_parser.py +0 -0
- {asp_plot-1.15.0 → asp_plot-1.15.2}/asp_plot/utils.py +0 -0
- {asp_plot-1.15.0 → asp_plot-1.15.2}/conda-forge-recipe/meta.yaml +0 -0
- {asp_plot-1.15.0 → asp_plot-1.15.2}/environment.yml +0 -0
|
@@ -5,6 +5,16 @@ 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.15.2] - 2026-06-11
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
- **ESA WorldCover sampling crashed on machines configured with AWS SSO/login.** `_sample_worldcover_into_gdf()` opened the public ESA WorldCover S3 COGs with rasterio's default AWS session, which eagerly resolves credentials. On a machine whose `~/.aws/config` uses an SSO/login provider, botocore raised `MissingDependencyException: Using the login credential provider requires an additional dependency ... botocore[crt]`, aborting the entire `asp_plot` report even though the bucket is public and needs no credentials. The reads now use an explicit unsigned session (`rasterio.session.AWSSession(aws_unsigned=True)`), so anonymous access is used regardless of the user's AWS configuration.
|
|
12
|
+
|
|
13
|
+
## [1.15.1] - 2026-06-10
|
|
14
|
+
|
|
15
|
+
### Fixed
|
|
16
|
+
- **`Altimetry.to_csv_for_pc_align()` wrote its CSV to the current working directory instead of the run directory.** Running the `asp_plot` CLI (or `Altimetry.align_and_evaluate()`) from a directory other than the dataset directory left a stray `atl06sr_for_pc_align_<key>.csv` in the cwd. The output path is now rooted at `self.directory` via `os.path.join()`, matching every other output in the class (`_save_to_parquet`, the `pc_align` outputs, and the planetary twin `to_csv_for_pc_align_planetary()`). No consumer changes were needed — the single internal caller (`align_and_evaluate()`) uses the return value directly, and `Alignment.pc_align_dem_to_atl06sr()` handles the directory-prefixed path unchanged.
|
|
17
|
+
|
|
8
18
|
## [1.15.0] - 2026-06-09
|
|
9
19
|
|
|
10
20
|
### Added
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: asp_plot
|
|
3
|
-
Version: 1.15.
|
|
3
|
+
Version: 1.15.2
|
|
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
|
|
@@ -749,11 +749,20 @@ class Altimetry:
|
|
|
749
749
|
"""
|
|
750
750
|
import rasterio
|
|
751
751
|
from rasterio.errors import RasterioIOError
|
|
752
|
+
from rasterio.session import AWSSession
|
|
752
753
|
|
|
753
754
|
wc_col = "esa_worldcover.value"
|
|
754
755
|
if wc_col in atl06sr.columns:
|
|
755
756
|
return atl06sr
|
|
756
757
|
|
|
758
|
+
# The ESA WorldCover bucket is public, so read it anonymously
|
|
759
|
+
# (aws_unsigned=True). Without this, rasterio creates a default
|
|
760
|
+
# AWSSession that eagerly resolves credentials; on machines configured
|
|
761
|
+
# with AWS SSO/login this raises botocore MissingDependencyException
|
|
762
|
+
# ("requires botocore[crt]") and the whole report crashes — even though
|
|
763
|
+
# no credentials are needed for a public bucket.
|
|
764
|
+
unsigned_session = AWSSession(aws_unsigned=True)
|
|
765
|
+
|
|
757
766
|
gdf_4326 = atl06sr.to_crs("EPSG:4326")
|
|
758
767
|
lons = gdf_4326.geometry.x.values
|
|
759
768
|
lats = gdf_4326.geometry.y.values
|
|
@@ -771,6 +780,7 @@ class Altimetry:
|
|
|
771
780
|
for url in tile_keys:
|
|
772
781
|
try:
|
|
773
782
|
with rasterio.Env(
|
|
783
|
+
unsigned_session,
|
|
774
784
|
GDAL_DISABLE_READDIR_ON_OPEN="YES",
|
|
775
785
|
CPL_VSIL_CURL_USE_HEAD="NO",
|
|
776
786
|
):
|
|
@@ -1012,7 +1022,7 @@ class Altimetry:
|
|
|
1012
1022
|
CSV format with columns for longitude, latitude, and height.
|
|
1013
1023
|
"""
|
|
1014
1024
|
atl06sr = self.atl06sr_processing_levels_filtered[key].to_crs("EPSG:4326")
|
|
1015
|
-
csv_fn = f"{filename_prefix}_{key}.csv"
|
|
1025
|
+
csv_fn = os.path.join(self.directory, f"{filename_prefix}_{key}.csv")
|
|
1016
1026
|
df = atl06sr[["geometry", "h_mean"]].copy()
|
|
1017
1027
|
df["lon"] = df["geometry"].x
|
|
1018
1028
|
df["lat"] = df["geometry"].y
|
|
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
|
|
File without changes
|
|
File without changes
|