diff --git a/.github/workflows/test-build-push.yml b/.github/workflows/test-build-push.yml index cd1804bb..383c69d0 100644 --- a/.github/workflows/test-build-push.yml +++ b/.github/workflows/test-build-push.yml @@ -50,6 +50,7 @@ jobs: "snaphu>=0.4.0" \ "opera-utils>=0.4.1" \ git+https://github.com/isce-framework/tophu@main \ + pip install git+https://github.com/isce-framework/spurt@main \ git+https://github.com/isce-framework/whirlwind@40defb38d2d6deca2819934788ebbc57e418e32d pip install --no-deps . - name: Install test dependencies diff --git a/src/dolphin/unwrap/_unwrap_3d.py b/src/dolphin/unwrap/_unwrap_3d.py index 5e6c316b..eeccae43 100644 --- a/src/dolphin/unwrap/_unwrap_3d.py +++ b/src/dolphin/unwrap/_unwrap_3d.py @@ -5,7 +5,7 @@ import numpy as np import rasterio as rio -from opera_utils import get_dates +from opera_utils import get_dates, sort_files_by_date from rasterio.windows import Window from scipy import ndimage, signal @@ -87,7 +87,7 @@ def unwrap_spurt( elif len(ifg_filenames) == len(g_time.links): logger.info("Using pre-formed nearest 3 interferograms") stack = IfgStackReader( - ifg_filenames=ifg_filenames, + ifg_filenames=sort_files_by_date(ifg_filenames)[0], quality_file=temporal_coherence_file, threshold=options.temporal_coherence_threshold, )