Skip to content

HyP3-lib v1.4.0

Choose a tag to compare

@jhkennedy jhkennedy released this 17 Jul 16:42
ab76f94

Added:

  • hyp3lib.OrbitDownloadError exception that will be raised for fetching orbit file problems
  • hyp3lib.fetch module with utilities for fetching thing from external endpoints
    • Provides a generic download_file utility for downloading files from URLs
  • orbit_file keyword argument to hyp3lib.ingest_S1_granule and hyp3lib.par_s1_slc_single to skip fetching an
    already downloaded orbit file
  • providers keyword argument to hyp3lib.downloadSentinelOrbitFile to specify the providers you'd like to check for
    orbit files, in order of preference
  • hyp3lib.get_orb.get_orbit_url which will determine the OPOD orbit file url for a granule
  • get_orb.py entrypoint now allows you to download to a specific directory and specify the providers to use in
    order of preference

Changed:

  • Unrestricted gdal from 2.* in conda-env.yml because there appears to be no GDAL 2 specific code in hyp3lib

Removed:

  • Unused par_s1_slc_single.py entrypoint
  • hyp3lib.get_orb helper functions that are unused outside of get_orb:
    • getPageContentsESA, getOrbitFileESA, getPageContents (ASF), findOrbFile (ASF), getOrbFile (ASF) have
      all been merged into get_orbit_url
    • dateStr2dateTime as been removed
    • fetchOrbitFile has been eliminated in favor of hyp3lib.fetch.download_file
    • downloadSentinelOrbitFileProvider functionality has been merged into downloadSentinelOrbitFile