Antonio Valentino pushed to branch upstream at Debian GIS Project / xarray-safe-s1
Commits: ccec99b3 by Antonio Valentino at 2025-08-09T15:54:52+00:00 New upstream version 2025.06.02 - - - - - 2 changed files: - ci/install-upstream-dev.sh - safe_s1/reader.py Changes: ===================================== ci/install-upstream-dev.sh ===================================== @@ -1,13 +1,14 @@ #!/usr/bin/env bash -conda remove -y --force cytoolz numpy xarray toolz python-dateutil +conda remove -y --force cytoolz numpy xarray pandas toolz python-dateutil python -m pip install \ -i https://pypi.anaconda.org/scientific-python-nightly-wheels/simple \ --no-deps \ --pre \ --upgrade \ numpy \ - xarray + xarray \ + pandas python -m pip install --upgrade \ git+https://github.com/pytoolz/toolz \ git+https://github.com/dateutil/dateutil ===================================== safe_s1/reader.py ===================================== @@ -1,5 +1,6 @@ import logging import os +import pdb import re import dask @@ -295,7 +296,9 @@ class Sentinel1Reader: dn = dn.assign_coords({"line": line, "sample": sample}) # for GTiff driver, pols are already ordered. just rename them - dn = dn.assign_coords(pol=self.manifest_attrs["polarizations"]) + # fix 2 June 2025: https://github.com/umr-lops/xsar/issues/254 + polas = [str(uu) for uu in self.manifest_attrs["polarizations"]] + dn = dn.assign_coords(pol=polas) if not all(self.denoised.values()): descr = "denoised" View it on GitLab: https://salsa.debian.org/debian-gis-team/xarray-safe-s1/-/commit/ccec99b3c3a77a115bca7aa75312285d3e32aec8 -- View it on GitLab: https://salsa.debian.org/debian-gis-team/xarray-safe-s1/-/commit/ccec99b3c3a77a115bca7aa75312285d3e32aec8 You're receiving this email because of your account on salsa.debian.org.
_______________________________________________ Pkg-grass-devel mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-grass-devel
