Skip to content

Releases: ASFHyP3/hyp3-sdk

HyP3 SDK v1.3.0

05 Aug 17:35
63d6acd
Compare
Choose a tag to compare

Added

  • extract_zipped_product function to hyp3_sdk.util which will extract zipped HyP3 products
  • chunk function to hyp3_sdk.util which will split a sequence into small chunks and
    is particularly useful for submitting large batches

Changed

  • HyP3 API URL constants have been renamed to be more descriptive
    • hyp3_sdk.HyP3_PROD is now hyp3_sdk.PROD_API
    • hyp3_sdk.HyP3_TEST is now hyp3_sdk.TEST_API

HyP3 SDK v1.2.0

01 Jul 19:09
5a0aba8
Compare
Choose a tag to compare

Added

  • Job class now has a logs attribute containing links to job log files
  • Added missing container methods
    • batches are now subscriptable: batch[0]
    • jobs can be searched for in batches:job in batch
    • jobs can be deleted from batches: del batch[0]
    • batches can be reversed now using the reversed() function
  • find_jobs() now accepts datetimes with no timezone info and defaults to UTC.

Removed

  • FoundZeroJobs warning from find_jobs()

Fixed

  • #92 -- ImportError being
    raised when showing a progress bar because ipywidgets may not always be
    installed when running in a Jupyter kernel

HyP3 SDK v1.1.3

18 May 22:46
5a3b0ad
Compare
Choose a tag to compare

Added

  • Exposed new include_wrapped_phase parameter for InSAR jobs in HyP3.submit_insar_job() and
    HyP3.prepare_insar_job()

HyP3 SDK v1.1.2

13 May 21:11
6d013d1
Compare
Choose a tag to compare

Added

  • Exposed new include_dem parameter for InSAR jobs in HyP3.submit_insar_job() and HyP3.prepare_insar_job()

HyP3 SDK v1.1.1

29 Apr 22:27
3e1f63e
Compare
Choose a tag to compare

Added

  • Exposed new include_inc_map parameter for InSAR jobs in HyP3.submit_insar_job() and HyP3.prepare_insar_job()

HyP3 SDK v1.1.0

06 Apr 19:48
a5a34f6
Compare
Choose a tag to compare

Added

  • A dem_name parameter has been added to HyP3.submit_rtc_job and HyP3.prepare_rtc_job to control which DEM data
    set is used for RTC processing
    • dem_name='copernicus' will use the Copernicus GLO-30 Public DEM
    • dem_name='legacy' will use the DEM with the best coverage from ASF's legacy SRTM/NED data sets

HyP3 SDK v1.0.0

25 Mar 19:03
03bdbab
Compare
Choose a tag to compare

Added

  • HyP3.find_jobs now supports filtering by job_type
  • HyP3.find_jobs now pages through truncated responses to get all requested jobs
  • hyp3_sdk.exceptions now includes ServerError for exceptions that are a result of
    system errors.

Changed

  • hyp3_sdk.exceptions now has HyP3SDKError as a module base exception, and HyP3Error is now specific
    errors in the hyp3 submodule
  • HyP3.find_jobs argument status renamed to status_code to be consistent with api-spec

HyP3 SDK v0.6.0

11 Mar 18:10
c89044a
Compare
Choose a tag to compare

Added

  • asf_search module will now raise an exceptions.ASFSearchError when it encounters problems and
    will include the Search API response details
  • HyP3.__init__ now accepts a prompt=True (default False) keyword argument
    which will prompt users for their username or password if not provided

Changed

  • HyP3 prepare and submit methods now include processing options as named parameters
  • Exceptions raised for HyP3 errors will include the HyP3 API response details
  • asf_search.get_nearest_neighbors is no longer dependent on state vector information in CMR
    • now limited to Sentinel-1 granules
    • now raises ASFSearchError when the reference granule cannot be found
    • results no longer include perpendicularBaseline or temporalBaseline fields

Fixed

  • get_authenticated_session now correctly throws AuthenticationError when no .netrc file
    exists and no credentials are provided

HyP3 SDK v0.5.0

17 Feb 01:42
7ac0dc0
Compare
Choose a tag to compare

Added

  • Methods to prepare jobs for submission to HyP3
    • HyP3.prepare_autorift_job
    • HyP3.prepare_rtc_job
    • HyP3.prepare_insar_job
  • HyP3.watch, Job.download_files, and Batch.download_files now display progress bars

Changed

  • HyP3 Job objects provide a better string representation

    >>> print(job)
    HyP3 RTC_GAMMA job dd884703-cdbf-47ff-848c-de1e2b9917c1
  • HyP3 Batch objects

    • are now iterable
    • provide a better string representation
      >>> print(batch)
      2 HyP3 Jobs: 0 succeeded, 0 failed, 2 running, 0 pending.
  • HyP3 submit methods will always return a Batch containing the submitted job(s)

  • HyP3.submit_job_dict has been renamed to HyP3.submit_prepared_jobs and can
    submit one or more prepared job dictionaries.

  • Job.download_files and Batch.download_files will (optionally) create the
    download location if it doesn't exist

  • Hyp3._get_job_by_id has been made public and renamed to Hyp3.get_job_by_id

HyP3 SDK v0.4.0

04 Feb 18:53
561cd2a
Compare
Choose a tag to compare

Added

  • hyp3_sdk.asf_search module to find granule(s) metadata, and a granule's nearest neighbors for InSAR