Skip to content

Client release v1.3.0

Compare
Choose a tag to compare
@clarkzinzow clarkzinzow released this 16 Jun 15:08
· 678 commits to master since this release

Workflows (channel v0-15) - Added

  • Output formats for .compute including GeoTIFF, JSON, PyArrow, and MessagePack. Usage details can be found in the docs.
  • Destinations for Job results: download and email. Usage details can be found in the docs.
  • Save .compute outputs to a file with the file= argument.
  • Pixel value inspector: click in the map widget to view pixel values.
  • wf.ifelse for simple conditional logic.
  • NumPy functions including hypot, bitwise_and, bitwise_or, bitwise_xor, bitwise_not, invert, and ldexp
  • Bitwise Array and MaskedArray operations
  • size attribute on Array and MaskedArray
  • astype function on Array and MaskedArray for changing the dtype
  • flatten function on Array and MaskedArray for flattening into a 1D array
  • MaskedArray.compressed for getting all unmasked data as a 1D array
  • get function on Dict and KnownDict for providing a default value if a key does not exist
  • nbands attribute on Image and ImageCollection
  • proxify can handle scenes.GeoContexts
  • Dict.contains, Dict.length

Workflows - Fixed

  • Fewer failures and hanging calls when connecting to the Workflows backend (like .compute, .visualize, Job.get, etc.)
  • wf.numpy.histogram works correctly with computed values for range and bins (such as range=[arr.min(), arr.max()])
  • More consistent throughput when a large number of jobs are submitted
  • Arrays can now be constructed from proxy Lists
  • MaskedArray.filled works correctly when passed Python values
  • Long-running sessions (like Jupyter kernels) refresh credentials instead of failing with auth errors after many hours of use
  • wf.numpy.dot and wf.numpy.einsum no longer fail when being called correctly
  • Occasional errors like ('array-89199362e9a5d598fb5c82805136834d', 0, 0) when calling wf.compute() with multiple values are resolved

Workflows - Changed

  • pick_bands accepts duplicate band names. Enjoy easier Sentinel-1 "vv vh vv" visualizations!
  • ImageCollection.from_id is always ordered by date
  • wf.numpy.percentile no longer accepts an axis argument
  • breaking wf.Job construction and interface changes:
    • Use a single wf.Job(..) call instead of wf.Job.build(...).execute() to create and launch a Job
    • New Job.result_to_file method
    • Job.status is removed in favor of a single Job.stage
    • wf.TimeoutError renamed to wf.JobTimeoutError