From 90dc6e5bdeb3abe9975fe3c5eec02cacf5e12981 Mon Sep 17 00:00:00 2001 From: JakobKlotz <177755923+JakobKlotz@users.noreply.github.com> Date: Sat, 26 Sep 2026 10:46:55 +0200 Subject: [PATCH 1/2] fix: tyro parsing error --- README.md | 6 +++--- docs/example_nisar.ipynb | 2 +- docs/example_opera_cslc.ipynb | 2 +- docs/example_s1_burst.ipynb | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 8a06328..37cc971 100644 --- a/README.md +++ b/README.md @@ -75,7 +75,7 @@ Raw Sentinel-1 bursts (default): ```bash sweets config \ - --bbox=-102.96 31.22 -101.91 31.56 \ + --bbox -102.96 31.22 -101.91 31.56 \ --start 2021-06-05 --end 2021-06-22 \ --track 78 \ --swaths IW2 \ @@ -90,7 +90,7 @@ Pre-made OPERA CSLCs (faster for CONUS, no COMPASS needed): ```bash sweets config \ - --bbox=-102.96 31.22 -101.91 31.56 \ + --bbox -102.96 31.22 -101.91 31.56 \ --start 2021-06-05 --end 2021-06-22 \ --source opera-cslc \ --out-dir ./data \ @@ -111,7 +111,7 @@ NISAR GSLCs: ```bash sweets config \ - --bbox=-121.10 36.55 -120.95 36.70 \ + --bbox -121.10 36.55 -120.95 36.70 \ --start 2025-10-01 --end 2025-12-15 \ --source nisar-gslc \ --track 42 --frame 70 \ diff --git a/docs/example_nisar.ipynb b/docs/example_nisar.ipynb index 2128f70..cddd7d4 100644 --- a/docs/example_nisar.ipynb +++ b/docs/example_nisar.ipynb @@ -69,7 +69,7 @@ "outputs": [], "source": [ "!sweets config \\\n", - " --bbox=-118.3957 33.7284 -118.3459 33.772 \\\n", + " --bbox -118.3957 33.7284 -118.3459 33.772 \\\n", " --start 2025-12-01 --end 2025-12-31 \\\n", " --source nisar-gslc \\\n", " --track 34 --frame 18 \\\n", diff --git a/docs/example_opera_cslc.ipynb b/docs/example_opera_cslc.ipynb index 5040450..3fa90f5 100644 --- a/docs/example_opera_cslc.ipynb +++ b/docs/example_opera_cslc.ipynb @@ -67,7 +67,7 @@ "outputs": [], "source": [ "!sweets config \\\n", - " --bbox=-118.3957 33.7284 -118.3459 33.772 \\\n", + " --bbox -118.3957 33.7284 -118.3459 33.772 \\\n", " --start 2025-12-01 --end 2025-12-31 \\\n", " --source opera-cslc \\\n", " --track 71 \\\n", diff --git a/docs/example_s1_burst.ipynb b/docs/example_s1_burst.ipynb index 455bcd2..9f09295 100644 --- a/docs/example_s1_burst.ipynb +++ b/docs/example_s1_burst.ipynb @@ -67,7 +67,7 @@ "outputs": [], "source": [ "!sweets config \\\n", - " --bbox=-118.3957 33.7284 -118.3459 33.772 \\\n", + " --bbox -118.3957 33.7284 -118.3459 33.772 \\\n", " --start 2025-12-01 --end 2025-12-31 \\\n", " --track 71 \\\n", " --swaths IW2 \\\n", From eb7c01d2714e75624fe4c532880a69a43e494c30 Mon Sep 17 00:00:00 2001 From: JakobKlotz <177755923+JakobKlotz@users.noreply.github.com> Date: Sat, 26 Sep 2026 10:47:50 +0200 Subject: [PATCH 2/2] fix: pydantic BurstSearch validation --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 37cc971..8f39aca 100644 --- a/README.md +++ b/README.md @@ -140,9 +140,12 @@ You can also build a `Workflow` directly: from sweets.core import Workflow from sweets.download import BurstSearch +bbox = (-102.96, 31.22, -101.91, 31.56) + w = Workflow( - bbox=(-102.96, 31.22, -101.91, 31.56), + bbox=bbox, search=BurstSearch( + bbox=bbox, track=78, start="2021-06-05", end="2021-06-22",