asp-plot 1.15.1__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.
Files changed (32) hide show
  1. {asp_plot-1.15.1 → asp_plot-1.15.2}/CHANGELOG.md +5 -0
  2. {asp_plot-1.15.1 → asp_plot-1.15.2}/PKG-INFO +1 -1
  3. {asp_plot-1.15.1 → asp_plot-1.15.2}/asp_plot/altimetry.py +10 -0
  4. {asp_plot-1.15.1 → asp_plot-1.15.2}/pyproject.toml +1 -1
  5. {asp_plot-1.15.1 → asp_plot-1.15.2}/.flake8 +0 -0
  6. {asp_plot-1.15.1 → asp_plot-1.15.2}/.github/workflows/release.yml +0 -0
  7. {asp_plot-1.15.1 → asp_plot-1.15.2}/.github/workflows/run-tests.yml +0 -0
  8. {asp_plot-1.15.1 → asp_plot-1.15.2}/.gitignore +0 -0
  9. {asp_plot-1.15.1 → asp_plot-1.15.2}/.pre-commit-config.yaml +0 -0
  10. {asp_plot-1.15.1 → asp_plot-1.15.2}/.readthedocs.yaml +0 -0
  11. {asp_plot-1.15.1 → asp_plot-1.15.2}/LICENSE +0 -0
  12. {asp_plot-1.15.1 → asp_plot-1.15.2}/README.md +0 -0
  13. {asp_plot-1.15.1 → asp_plot-1.15.2}/asp_plot/__init__.py +0 -0
  14. {asp_plot-1.15.1 → asp_plot-1.15.2}/asp_plot/alignment.py +0 -0
  15. {asp_plot-1.15.1 → asp_plot-1.15.2}/asp_plot/bundle_adjust.py +0 -0
  16. {asp_plot-1.15.1 → asp_plot-1.15.2}/asp_plot/cli/__init__.py +0 -0
  17. {asp_plot-1.15.1 → asp_plot-1.15.2}/asp_plot/cli/asp_plot.py +0 -0
  18. {asp_plot-1.15.1 → asp_plot-1.15.2}/asp_plot/cli/csm_camera_plot.py +0 -0
  19. {asp_plot-1.15.1 → asp_plot-1.15.2}/asp_plot/cli/gallery.py +0 -0
  20. {asp_plot-1.15.1 → asp_plot-1.15.2}/asp_plot/cli/request_planetary_altimetry.py +0 -0
  21. {asp_plot-1.15.1 → asp_plot-1.15.2}/asp_plot/cli/stereo_geom.py +0 -0
  22. {asp_plot-1.15.1 → asp_plot-1.15.2}/asp_plot/csm_camera.py +0 -0
  23. {asp_plot-1.15.1 → asp_plot-1.15.2}/asp_plot/gallery.py +0 -0
  24. {asp_plot-1.15.1 → asp_plot-1.15.2}/asp_plot/processing_parameters.py +0 -0
  25. {asp_plot-1.15.1 → asp_plot-1.15.2}/asp_plot/report.py +0 -0
  26. {asp_plot-1.15.1 → asp_plot-1.15.2}/asp_plot/scenes.py +0 -0
  27. {asp_plot-1.15.1 → asp_plot-1.15.2}/asp_plot/stereo.py +0 -0
  28. {asp_plot-1.15.1 → asp_plot-1.15.2}/asp_plot/stereo_geometry.py +0 -0
  29. {asp_plot-1.15.1 → asp_plot-1.15.2}/asp_plot/stereopair_metadata_parser.py +0 -0
  30. {asp_plot-1.15.1 → asp_plot-1.15.2}/asp_plot/utils.py +0 -0
  31. {asp_plot-1.15.1 → asp_plot-1.15.2}/conda-forge-recipe/meta.yaml +0 -0
  32. {asp_plot-1.15.1 → asp_plot-1.15.2}/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.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
+
8
13
  ## [1.15.1] - 2026-06-10
9
14
 
10
15
  ### Fixed
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: asp_plot
3
- Version: 1.15.1
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
  ):
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "asp_plot"
7
- version = "1.15.1"
7
+ version = "1.15.2"
8
8
  license = {text = "BSD-3-Clause"}
9
9
  authors = [
10
10
  { name="Ben Purinton", email="purinton@uw.edu" },
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