Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/test-build-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ jobs:
spec: >-
isce3-cpu
dask
numpy<2.3

fail-fast: true
name: ${{ matrix.os }} • ${{ matrix.deps.label }}
Expand All @@ -38,10 +37,11 @@ jobs:
with:
environment-file: conda-env.yml
environment-name: dolphin-env
# persist on the same day.
cache-environment-key: environment-${{ steps.date.outputs.date }}
cache-downloads-key: downloads-${{ steps.date.outputs.date }}
# invalidate cache when env file or extra specs change
cache-environment-key: environment-${{ hashFiles('conda-env.yml') }}-${{ matrix.deps.label }}
cache-downloads-key: downloads-${{ hashFiles('conda-env.yml') }}
generate-run-shell: false
post-cleanup: none
create-args: ${{ matrix.deps.spec }}
condarc: |
channels:
Expand Down
8 changes: 4 additions & 4 deletions conda-env.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,21 @@ name: dolphin-env
channels:
- conda-forge
dependencies:
- python>=3.12
- python>=3.9
- pip>=21.3 # https://pip.pypa.io/en/stable/reference/build-system/pyproject-toml/#editable-installation
- git # for pip install, due to setuptools_scm
- gdal>=3.9
- gdal>=3.3,<3.11
- libgdal-netcdf
- libgdal-hdf5
- h5py>=3.6
- hdf5!=1.12.2 # https://github.com/SciTools/iris/issues/5187 and https://github.com/pydata/xarray/issues/7549
- jax>=0.4.19
- numba>=0.56
- numpy>=2.0
- numpy>=1.23
- opera-utils>=0.4.1
- pydantic>=2.1
- pyproj>=3.3
- rasterio>=1.5
- rasterio>=1.3
- ruamel.yaml>=0.15
- scipy>=1.12 # "scipy 0.16+ is required for linear algebra", numba. 1.9 is the oldest version working with jax=0.4.19
- threadpoolctl>=3.0
Expand Down
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -131,4 +131,6 @@ filterwarnings = [
"ignore:h5py is running against HDF5.*:UserWarning",
# DeprecationWarning: ast.Str
"ignore:ast.Str is deprecated.*:DeprecationWarning",
# ResourceWarning from unclosed temp files in third-party code (Python 3.13+)
"ignore::pytest.PytestUnraisableExceptionWarning",
]
3 changes: 2 additions & 1 deletion src/dolphin/workflows/stitching_bursts.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,8 +169,9 @@ def run(
out_bounds=out_bounds,
out_bounds_epsg=output_options.bounds_epsg,
dest_epsg=output_options.epsg,
resample_alg="nearest",
num_workers=num_workers,
options=EXTRA_COMPRESSED_TIFF_OPTIONS,
# options=EXTRA_COMPRESSED_TIFF_OPTIONS,
)
stitched_similarity_files = list(date_to_similarity_path.values())

Expand Down
2 changes: 1 addition & 1 deletion tests/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def test_empty(monkeypatch: pytest.MonkeyPatch):
main()

help_text = f.getvalue()
assert "Required options" in help_text
assert "Missing subcommand" in help_text


def test_help(monkeypatch: pytest.MonkeyPatch):
Expand Down