Skip to content

Commit 32304ba

Browse files
committed
fix
1 parent 464b73a commit 32304ba

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

.github/workflows/conda.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ jobs:
1717
- uses: conda-incubator/setup-miniconda@v3
1818
with:
1919
auto-update-conda: true
20+
activate-environment: true
2021
environment-file: environment.yml
2122
channels: conda-forge
22-
auto-activate: true
2323
python-version: ${{ matrix.python-version }}
2424

2525
- name: Install Local Package
File renamed without changes.

tests/cli.t

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Test: Version Command
2525

2626
The version command should print the version number.
2727

28-
$ uv run -m geotessera.cli version
28+
$ geotessera version
2929
0.7.1
3030

3131
Test: Info Command (Library Info)
@@ -34,7 +34,7 @@ Test: Info Command (Library Info)
3434
Test the info command without arguments to see library information.
3535
We just verify key information is present, ignoring formatting:
3636

37-
$ uv run -m geotessera.cli info --dataset-version v1 | grep -E 'Available years'
37+
$ geotessera info --dataset-version v1 | grep -E 'Available years'
3838
Downloading registry from https://dl2.geotessera.org/v1/registry.parquet
3939
Registry downloaded successfully
4040
Loaded GeoParquet with * tiles (glob)
@@ -48,7 +48,7 @@ Test: Download Dry Run for UK Tile
4848
Test downloading a single tile covering London, UK using --dry-run to avoid actual downloads.
4949
Verify key information is present:
5050

51-
$ uv run -m geotessera.cli download \
51+
$ geotessera download \
5252
> --bbox "-0.1,51.3,0.1,51.5" \
5353
> --year 2024 \
5454
> --format tiff \
@@ -70,7 +70,7 @@ Test: Download Single UK Tile (TIFF format)
7070

7171
Download a single tile in TIFF format to a temporary directory:
7272

73-
$ uv run -m geotessera.cli download \
73+
$ geotessera download \
7474
> --bbox "-0.1,51.3,0.1,51.5" \
7575
> --year 2024 \
7676
> --format tiff \
@@ -91,7 +91,7 @@ Test: Download Single UK Tile (NPY format)
9191

9292
Download the same tile in NPY format (quantized arrays with scales):
9393

94-
$ uv run -m geotessera.cli download \
94+
$ geotessera download \
9595
> --bbox "-0.1,51.3,0.1,51.5" \
9696
> --year 2024 \
9797
> --format npy \
@@ -127,7 +127,7 @@ Test: Info Command on Downloaded TIFF Tiles
127127
Test the info command on the downloaded TIFF tiles.
128128
Both TIFF and NPY formats should be present (NPY files are retained for efficient reprocessing):
129129

130-
$ uv run -m geotessera.cli info --tiles "$TESTDIR/uk_tiles_tiff"
130+
$ geotessera info --tiles "$TESTDIR/uk_tiles_tiff"
131131
Total tiles: 16
132132
Format: GEOTIFF, NPY, ZARR (USING NPY)
133133
Years: 2024
@@ -137,7 +137,7 @@ Both TIFF and NPY formats should be present (NPY files are retained for efficien
137137
Band Count Files
138138
128 bands 16
139139

140-
$ uv run -m geotessera.cli info --tiles "$TESTDIR/uk_tiles_tiff"
140+
$ geotessera info --tiles "$TESTDIR/uk_tiles_tiff"
141141
Total tiles: 16
142142
Format: GEOTIFF, NPY, ZARR (USING NPY)
143143
Years: 2024
@@ -152,7 +152,7 @@ Test: Info Command on Downloaded NPY Tiles
152152

153153
Test the info command on the downloaded NPY tiles:
154154

155-
$ uv run -m geotessera.cli info --tiles "$TESTDIR/uk_tiles_npy"
155+
$ geotessera info --tiles "$TESTDIR/uk_tiles_npy"
156156
Total tiles: 16
157157
Format: NPY
158158
Years: 2024
@@ -162,7 +162,7 @@ Test the info command on the downloaded NPY tiles:
162162
Band Count Files
163163
128 bands 16
164164

165-
$ uv run -m geotessera.cli info --tiles "$TESTDIR/uk_tiles_npy"
165+
$ geotessera info --tiles "$TESTDIR/uk_tiles_npy"
166166
Total tiles: 16
167167
Format: NPY
168168
Years: 2024
@@ -177,7 +177,7 @@ Test: Resume Capability for NPY Downloads
177177

178178
Test that re-running the NPY download skips existing files:
179179

180-
$ uv run -m geotessera.cli download \
180+
$ geotessera download \
181181
> --bbox "-0.1,51.3,0.1,51.5" \
182182
> --year 2024 \
183183
> --format npy \

0 commit comments

Comments
 (0)