Releases: ASFHyP3/hyp3-sdk
Releases · ASFHyP3/hyp3-sdk
HyP3 SDK v1.3.0
Added
extract_zipped_product
function tohyp3_sdk.util
which will extract zipped HyP3 productschunk
function tohyp3_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 nowhyp3_sdk.PROD_API
hyp3_sdk.HyP3_TEST
is nowhyp3_sdk.TEST_API
HyP3 SDK v1.2.0
Added
Job
class now has alogs
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
- batches are now subscriptable:
find_jobs()
now accepts datetimes with no timezone info and defaults to UTC.
Removed
FoundZeroJobs
warning fromfind_jobs()
Fixed
- #92 --
ImportError
being
raised when showing a progress bar becauseipywidgets
may not always be
installed when running in a Jupyter kernel
HyP3 SDK v1.1.3
Added
- Exposed new
include_wrapped_phase
parameter for InSAR jobs inHyP3.submit_insar_job()
and
HyP3.prepare_insar_job()
HyP3 SDK v1.1.2
Added
- Exposed new
include_dem
parameter for InSAR jobs inHyP3.submit_insar_job()
andHyP3.prepare_insar_job()
HyP3 SDK v1.1.1
Added
- Exposed new
include_inc_map
parameter for InSAR jobs inHyP3.submit_insar_job()
andHyP3.prepare_insar_job()
HyP3 SDK v1.1.0
Added
- A
dem_name
parameter has been added toHyP3.submit_rtc_job
andHyP3.prepare_rtc_job
to control which DEM data
set is used for RTC processingdem_name='copernicus'
will use the Copernicus GLO-30 Public DEMdem_name='legacy'
will use the DEM with the best coverage from ASF's legacy SRTM/NED data sets
HyP3 SDK v1.0.0
Added
HyP3.find_jobs
now supports filtering byjob_type
HyP3.find_jobs
now pages through truncated responses to get all requested jobshyp3_sdk.exceptions
now includesServerError
for exceptions that are a result of
system errors.
Changed
hyp3_sdk.exceptions
now hasHyP3SDKError
as a module base exception, andHyP3Error
is now specific
errors in thehyp3
submoduleHyP3.find_jobs
argumentstatus
renamed tostatus_code
to be consistent with api-spec
HyP3 SDK v0.6.0
Added
asf_search
module will now raise anexceptions.ASFSearchError
when it encounters problems and
will include the Search API response detailsHyP3.__init__
now accepts aprompt=True
(defaultFalse
) 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
ortemporalBaseline
fields
Fixed
get_authenticated_session
now correctly throwsAuthenticationError
when no.netrc
file
exists and no credentials are provided
HyP3 SDK v0.5.0
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
, andBatch.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 toHyP3.submit_prepared_jobs
and can
submit one or more prepared job dictionaries. -
Job.download_files
andBatch.download_files
will (optionally) create the
download location if it doesn't exist -
Hyp3._get_job_by_id
has been made public and renamed toHyp3.get_job_by_id
HyP3 SDK v0.4.0
Added
hyp3_sdk.asf_search
module to find granule(s) metadata, and a granule's nearest neighbors for InSAR