Skip to content

Commit a870c0b

Browse files
committed
1 parent 1c120d8 commit a870c0b

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

ci/install-upstream-dev.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
#!/usr/bin/env bash
22

3-
conda remove -y --force cytoolz numpy xarray toolz python-dateutil
3+
conda remove -y --force cytoolz numpy xarray pandas toolz python-dateutil
44
python -m pip install \
55
-i https://pypi.anaconda.org/scientific-python-nightly-wheels/simple \
66
--no-deps \
77
--pre \
88
--upgrade \
99
numpy \
10-
xarray
10+
xarray \
11+
pandas
1112
python -m pip install --upgrade \
1213
git+https://github.com/pytoolz/toolz \
1314
git+https://github.com/dateutil/dateutil

safe_s1/reader.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import logging
22
import os
3+
import pdb
34
import re
45

56
import dask
@@ -295,7 +296,9 @@ def _get_glob(st):
295296
dn = dn.assign_coords({"line": line, "sample": sample})
296297

297298
# for GTiff driver, pols are already ordered. just rename them
298-
dn = dn.assign_coords(pol=self.manifest_attrs["polarizations"])
299+
# fix 2 June 2025: https://github.com/umr-lops/xsar/issues/254
300+
polas = [str(uu) for uu in self.manifest_attrs["polarizations"]]
301+
dn = dn.assign_coords(pol=polas)
299302

300303
if not all(self.denoised.values()):
301304
descr = "denoised"

0 commit comments

Comments
 (0)