The documentation for the latest release can be found at https://docs.descarteslabs.com
- 191 functions from NumPy are available for Workflows
Array
s, including parts of thenumpy.linalg
andnumpy.ma
submodules. See the full list on the docs. index_to_coords
andcoords_to_index
methods onImage
/ImageCollection
/GeoContext
for converting between geospatial and array coordinatesvalue_at
function onImage
andImageCollection
for extracting single pixel values at spatial coordinates.
- Using datetimes as parameters to
visualize
behaves correctly.
- Fixed a bug that prevented uploading ndarrays of type
uint8
- Array support for
argmin
,argmax
,any
,all
pick_bands
supports anallow_missing
kwarg to drop band names that may be missing from the data without an error.wf.compute
supports passing lists or tuples of items to compute at the same time. Passing multiple items towf.compute
, rather than callingobj.compute
for each separately, is usually faster.- Casting from
Bool
toInt
:wf.Int(True)
- Experimental
.inspect()
method for small computations during interactive use.
- [breaking] Array no longer uses type parameters: now you construct an Array with
wf.Array([1, 2, 3])
, notwf.Array[wf.Int, 1]([1, 2, 3])
. Remember, Array is an experimental API and will continue to make frequent breaking changes! - Workflows now reuses the same gRPC client by default---so repeated or parallel calls to
.compute
, etc. will be faster. Calling.compute
within a thread pool will also be significantly more efficient.
wf.numpy.histogram
correctly accepts aList[Float]
as therange
argument
1.1.2 fixes a bug which caused Workflows map layers to behave erratically when changing colormaps.
1.1.1 fixes a packaging issue that caused import descarteslabs.workflows
to fail.
It also makes NumPy an explicit dependency. NumPy was already a transitive dependency, so this shouldn't cause any changes.
You should NOT install version 1.1.0; 1.1.1 should be used instead in all circumstances.
Image.upload()
now emits a deprecation warning if the image has acs_code
orprojection
property. The projection defined in the uploaded file is always used and applied to the resulting image in the Catalog.Image.upload_ndarray()
now emits a deprecation warning if the image has both acs_code
and aprojection
property. Only one of them may be supplied, andcs_code
is given preference.
SceneCollection.download_mosaic
has new default behavior formask_alpha
wherein thealpha
band will be used as a mask by default if it is available for all scenes in the collection, even if it is not specified in the list of bands.
- Experimental Array API following the same syntax as NumPy arrays. It supports vectorized operations, broadcasting,
and multidimensional indexing.
ndarray
attribute ofImage
andImageCollection
will return aMaskedArray
.- Over 60 NumPy ufuncs are now callable with Workflows
Array
. - Includes other useful
Array
functions likemin()
,median()
,transpose()
,concatenate()
,stack()
,histogram()
, andreshape()
.
ImageCollection.sortby_composite()
for creating an argmin/argmax composite of anImageCollection
.- Slicing of
List
,Tuple
,Str
, andImageCollection
. wf.range
for generating a sequence of numbers between start and stop values.ImageCollectionGroupby.mosaic()
for applyingImageCollection.mosaic
to each group.wf.exp()
,wf.square()
,wf.log1p()
,wf.arcsin()
,wf.arccos()
, andwf.arctan()
Datetime.is_between()
for checking if aDatetime
falls within a specified date rangeFeatureCollection.contains()
- Container operations on
GeometryCollection
including:GeometryCollection.contains()
GeometryCollection.sorted()
GeometryCollection.map()
GeometryCollection.filter()
GeometryCollection.reduce()
List
andTuple
can now be compared with other instances of their type via__lt__()
,__eq__()
etc.List.__add__()
andList.__mul__()
for concatenating and duplicatingList
s.
- Products without alpha band and
nodata
value are rejected, instead of silently producing unwanted behavior. ImageCollection.concat_bands
now throws a better error when trying to concatenate bands from anotherImageCollection
that is not the same length.Any
is now promotable to all other types automatically.- Better error when trying to iterate over Proxytypes.
- Interactive map: calls to
visualize
now clear layer errors. - Interactive map: when setting scales, invalid values are highlighted in red.
- Interactive map: a scalebar is shown on the bottom-left by default.
ImageCollection.mosaic()
now in "last-on-top" order, which matches with GDAL anddl.raster
. Usemosaic(reverse=True)
for the same ordering as in v1.0.0.
- Better errors when specifying invalid type parameters for Proxytypes that require them.
- Field access on
Feature
,FeatureCollection
,Geometry
, andGeomeryCollection
no longer fails. - In
from_id
, processing level 'cubespline' no longer fails.
As of January 1st, 2020, the client library no longer supports Python 2. For more information, please contact [email protected]. For help with porting to Python 3, please visit https://docs.python.org/3/howto/pyporting.html. |
---|
- There is an entirely new backend supporting asynchronous uploads of image files and ndarrays with
the catalog client. There are minor changes to the
ImageUpload
class (a newevents
field has subsumederrors
, and thejob_id
field has been removed) but the basic interface is unchanged so most code will keep functioning without any changes. - It is now possible to cancel image uploads.
- Errors messages are now easier to read.
- Many improvements to the documentation.
- You can now create or retrieve an existing object using the
get_or_create
method. - Retrieving a
Band
orImage
by name is now possible by callingget_band
orget_image
on theProduct
instance. You can also use the Product'snamed_id
function to get a complete id for images and bands. - A new convenience function
make_valid_name
onImage
andBand
classes will return a sanitized name without invalid characters. - A new property
ATTRIBUTES
enumerates which attributes are available for a specific catalog object. - Trying to set an attribute that does not exist will now raise
AttributeError
. update_related_objects_permissions()
should no longer fail with a JSON serialization error.- Setting a read-only attribute will now raise an
AttributeValidationError
. - Saving a new object while one with the same id already exists will now raise a
ConflictError
instead ofBadRequestError
. - If a retrieved object has since been deleted from the catalog, saving any changes or trying to
reload it will now raise a
DeletedObjectError
. - Resolution fields now accept string values such as "10m" or "0.008 degrees". If the value cannot
be parsed, an
AttributeValidationError
will be raised. - Changes to the
extra_properties
attribute are now tracked correctly.
- This release no longer supports Python 2.
- This package is now distributed as a Python 3 wheel which will speed up installation.
- Handling of missing data via empty ImageCollections
ImageCollection.from_id
returns an empty ImageCollection if no data exist for the given time/place, rather than an errorImageCollection.filter
returns an empty ImageCollection if the predicate is False for every Image, rather than an errorImage.replace_empty_with
andImageCollection.replace_empty_with
for explicitly filling in missing data- See the Workflows guide for more information
- Docstrings and examples on every class and function!
- Assigning new metadata to Image properties & bandinfo:
Image.with_properties()
,Image.with_bandinfo()
- Interactive map: colorbar legends on layers with colormaps (requires matplotlib)
Dict.from_pairs
: construct a Dict from a sequence of key-value pairs- Map displays a fullscreen button by default ([breaking] if your code adds one, you'll now get two)
wf.concat
for concatentatingImage
andImageCollection
objectsImageCollection.concat
now acceptsImage
objects; newImage.concat
acceptsImage
orImageCollection
ImageCollection.mosaic()
FeatureCollection.sorted()
,FeatureCollection.length()
,FeatureCollection.__reversed__()
GeometryCollection.length()
,GeometryCollection.__reversed__()
wf.zip
now supportsImageCollection
,FeatureCollection
,GeometryCollection
as well asList
andStr
- Get a GeoContext for the current bounds of the map in any resolution, shape, or CRS (including
"utm"
, which automatically picks the right UTM zone for you) withwf.map.geocontext
. Also now returns a Scenes GeoContext for better introspection and use with Raster. - Better backend type-checking displays the possible arguments for most functions if called incorrectly
arr_shape
included when callingwf.GeoContext.compute()
- More readable errors when communication with the backend fails
- Interactive map: layout handles being resized, for example setting
wf.map.layout.height = '1000px'
Any
is no longer callable;Any.cast
encouragedremove_layer
andclear_layers
moved fromwf.interactive.MapApp
class towf.interactive.Map
(non-breaking change)- [possibly breaking] band renaming in binary operators only occurs when broadcasting:
red + red
is justred
, rather thanred_add_red
.red + blue
is stillred_add_blue
. Code which depends on accessing bands by name may need to change.
wf.where
propagates masks correctly, and handles metadata correctly with multi-band inputsprocessing_level="surface"
actually returns surface-reflectance-processed imageryImageCollection.sorted()
works properly- Viewing global-extent WGS84 images on the Workflows map no longer causes errors
List
proxytype no longer infinitely iterable in Python- Repeated use of
axis="bands"
works correctly ImageCollection.from_images
correctly aligns the bands of the inputs- Numeric casting (
wf.Int(wf.Float(2.2))
) works as expected - More descriptive error when constructing an invalid
wf.Datetime
- Computing a single
Bool
value derived from imagery works correctly
- Update workflows client channel
- Workflows map UI is more stable: errors and layers won't fill the screen
- Catalog client: Added an
update()
method that allows you to update multiple attributes at once.
- Catalog client: Images and Bands no longer reload the Product after calling
save
- Catalog client: Various attributes that are lists now correctly track changes when modifying them with list methods (e.g.
Product.owners.append("foo")
) - Catalog client: Error messages generated by the server have a nicer format
- Catalog client: Fix a bug that caused waiting for tasks to never complete
- The minimum
numpy
version has been bumped to 1.17.14 for Python version > 3.5, which addresses a bug withscenes.display
.compute()
is noticeably faster- Most of the Python string API is now available on
workflows.Str
- Interactive map: more descriptive error when not logged in to iam.descarteslabs.com
- Passing the wrong types into functions causes more descriptive and reliable errors
RST_STREAM
errors when calling.compute()
have been eliminatedImage/ImageCollection.count()
is much faster.buffer()
on vector types now works correctly- Calling
.compute()
on aGeometryCollection
works
- Catalog client: Added a
MaskBand.is_alpha
attribute to declare alpha channel behavior for a band.
- The maximum number of
extra_properties
allowed for Catalog objects has been increased from 10 to 50. - Fixed bug causing
SceneCollection.download
to fail.
- When you call
.compute()
on anImage
orImageCollection
, theGeoContext
is included on the result object (ImageResult.geocontext
,ImageCollectionResult.geocontext
)
- Passing a Workflows
Timedelta
object (instead of adatetime.timedelta
) into functions expecting it now behaves correctly - Arguments to the reducer function for
reduce
are now in the correct order
- A new catalog client in
descarteslabs.catalog
makes searching and managing products, bands and images easier. This client encompasses functionality previously split between thedescarteslabs.Metadata
anddescarteslabs.Catalog
client, which are now deprecated. Learn how to use the new API in the Catalog guide. - Property filtering expressions such as used in
scenes.search()
andFeatureCollection.filter()
now support anin_()
method.
SceneCollection.download
previously always returned successfully even if one or more of the downloads failed. Now if any of the downloads fail, a RuntimeError is raised, which will detail which destination files failed and why.- Fixed a bug where geometries used with the Scenes client had coordinates with reduced precision.
- Interactive parameters: add parameters to map layers and interactively control them using widgets
- Spatial convolution with
wf.conv2d
- Result containers have helpful
repr
s when displayed Datetime
andTimedelta
are unpacked intodatetime.datetime
anddatetime.timedelta
objects when computed.
- [breaking] Result containers moved to
descarteslabs/workflows/results
and renamed, appending "Result" to disambiguate (e.g. ImageResult and ImageCollectionResult) - [breaking]
.bands
and.images
attributes of ImageResult and ImageCollectionResult renamed.ndarray
- [breaking] When
compute
-ing anImage
orImageCollection
, the order ofbandinfo
is only correct for Python >= 3.6 - Interactive maps: coordinates are displayed in lat, lon order instead of lon, lat for easier copy-pasting
- Interactive maps: each layer now has an associated output that is populated when running autoscale and deleted when the layer is removed
- Interactive maps:
Image.visualize
returns aLayer
object, making it easier to adjustLayer.parameters
or integrate with other widgets
- Composing operations onto imported Workflows no longer causes nondeterministic errors when computed
- Interactive maps:
remove_layer
doesn't cause an error - No more errors when creating a
wf.parameter
forDatetime
and other complex types .where
no longer causes a backend error- Calling
wf.map.geocontext()
when the map is not fully initialized raises an informative error - Operations on numbers computed from raster data (like
img_collection.mean(axis=None)
) no longer fail when computed - Colormap succeeds when the Image contains only 1 value
Raster.stack
max_workers
is limited to 25 workers, and will raise a warning and set the value to 25 if a value more than 25 is specified.
- Interactive maps:
clear_layers
andremove_layer
methods - ImageCollections:
reversed
operator - ImageCollections:
concat
andsorted
methods - ImageCollections:
head
,tail
, andpartition
methods for slicing - ImageCollections:
where
method for filtering by condition - ImageCollections
map_window
method for applying sliding windows - ImageCollections: Indexing into ImageCollections is supported (
imgs[1]
) - [breaking] Statistics functions are now applied to named axes
- DateTime, Timedelta, Geocontext, Bool, and Geometry are now computable
- ImageCollectionGroupby ProxyObject for grouping ImageCollection by properties, and applying functions over groups
- ImageCollections:
groupby
method parameter
constructor
- Interactive maps: autoscaling is now done in the background
- Tiles requests can now include parameters
median
is noticeably fastercount
is no longer breaks colormapsmap
,filter
, andreduce
are 2x faster in the "PREPARING" stage- Significantly better performance for functions that reference variables outside their scope, like
overall_comp = ndvi.mean(axis="images")
deltas = ndvi.map(lambda img: img - overall_comp)
- Full support for floor-division (
//
) between Datetimes and Timedeltas (imgs.filter(lambda img: img.properties['date'] // wf.Timedelta(days=14)
)
- [breaking]
ImageCollection.one
(in favor of indexing)
scenes.DLTile.assign(pad=...)
method added to ease creation of a tile in all ways indentical except for the padding.
- The parameter
nbits
has been deprecated for catalog bands.
- New interactive map, with GUI controls for multiple layers, scaling, and colormaps.
- Colormaps for single-band images.
- Map interface displays errors that occur while the backend is rendering images.
- ImageCollection compositing no longer changes band names (
red
does not becomered_mean
, for example). .clip()
and.scale()
methods for Image/ImageCollection.- Support specifying raster resampler method.
- Support specifying raster processing level:
toa
(top-of-atmosphere) orsurface
[surface reflectance). - No more tiles 400s for missing data; missing/masked pixels can optionally be filled with a checkerboard pattern.
- Workflows
Image.concat
renamedImage.concat_bands
. - Data are left in
data_range
values ifphysical_range
is not set, instead of scaling to the range0..1
. - Selecting the same band name twice (
img.pick_bands("vv vv")
) properly raises an error. - Reduced
DeprecationWarning
s in Python 3.7.
- Alpha Workflows API client has been added. Access to the Workflows backend is restricted; contact support for more information.
- Workflows support for Python 3 added in channel v0-5.
- Scenes API now supports band scaling and output type specification for rastering methods.
- Methods in the Metadata, Raster, and Vector service clients that accepted GeoJSON geometries now also accept Shapely geometries.
- Add support for user cython modules in tasks.
- Tasks webhook methods no longer require a
group_id
if a webhook id is provided. catalog_id
property on images is no longer supported by the API- Fix
scenes.display
handling of single band masked arrays with scalar masks - Fix problems with incomplete
UploadTask
instances returned byvectors.FeatureCollection.list_uploads
- Metadata, Catalog, and Scenes now support a new
storage_state
property for managing image metadata and filtering search results.storage_state="available"
is the default for new images and indicates that the raster data for that scene is available on the Descartes Labs platform.storage_state="remote"
indicates that the raster data has not yet been processed and made available to client users. - The following additional colormaps are now supported for bands – 'cool', 'coolwarm', 'hot', 'bwr', 'gist_earth', 'terrain'. Find more details about the colormaps here.
Scene.ndarray
,SceneCollection.stack
, andSceneCollection.mosaic
now support passing a string as themask_alpha
argument to allow users to specify an alternate band name to use for masking.- Scenes now supports a new
save_image
function that allows a user to save a visualization given a filename and extension. - Tasks now allows you to unambiguously get a function by group id using
get_function_by_id
. - All Client APIs now accept a
retries
argument to override the default retry configuration. The default remains the same as the prior behavior, which is to attempt 3 retries on errors which can be retried.
- Bands of different but compatible types can now be rastered together in
Scene.ndarray()
andScene.download()
as well as across multiple scenes inSceneCollection.mosaic()
,SceneCollection.stack()
andSceneCollection.download()
. The result will have the most general data type. - Vector client functions that accept a
geometry
argument now support passing Shapely shapes in addition to GeoJSON.
- Removed deprecated method
Metadata.sources()
FeatureCollection.filter(geometry)
will now raise anInvalidQueryException
if you try to overwrite an existing geometry in the filter chain. You can only set the geometry once.
- Many old and obsolete examples were removed from the package.
Scene.ndarray
,SceneCollection.stack
, andSceneCollection.mosaic
now will automatically mask alpha if the alpha band is available in the relevant scene(s), and will setmask_alpha
toFalse
if the alpha band does not exist.FeatureCollection.add
,FeatureCollection.upload
,Vector.create_feature
,Vector.create_features
, andVector.upload_features
all accept afix_geometry
string argument that determines how to handle certain problem geometries including those which do not follow counter-clockwise winding order (which is required by the GeoJSON spec but not many popular tools). Allowed values arereject
(reject invalid geometries with an error),fix
(correct invalid geometries if possible and use this corrected value when creating the feature), andaccept
(the default) which will correct the geometry for internal use but retain the original geometry in the results.Vector.get_upload_results
andVector.get_upload_result
now accept apending
parameter to include pending uploads in the results. Such pending results will havestatus: PENDING
and, in lieu of a task id, theid
attribute will contain the upload id as returned byVector.upload_features
UploadTask.status
no longer blocks until the upload task is completed, but rather returns the current status of the upload job, which may bePENDING
,RUNNING
,SUCCESS
, orFAILURE
.- The
FutureTask.ready
andUploadTask.ready
property has been added to test whether the task has completed. A return value ofTrue
means that ifget_result(wait=True)
were to be called, it would return without blocking. - You can now export features to a storage
data
blob. To export from thevector
client, useVector.export_product_from_query()
with a storage key and an optional query. This returns the task id of the export task. You can ask for status usingVector.get_export_results()
for all export tasks orVector.get_export_result()
for a specific task by task id. - FeatureCollection has been extended with this functionality with a
FeatureCollection.export()
method that takes a storage key. This operates on the filter chain that FeatureCollection represents, or the full product if there is no filter chain. It returns anExportTask
which behaves similar to theFutureTask
. Catalog.upload_image()
andCatalog.upload_ndarray()
now will return anupload_id
that can be used to query the status of that upload usingCatalog.upload_result()
. Note that the upload id is the image id and if you use identical image idsCatalog.upload_result()
will only show the result of the most recent upload.
- Several typical kinds of non-conforming GeoJSON which previously caused errors can now be accepted or
fixed by the
FeatureCollection
andVector
methods for adding or uploading new vector geometries.
- Fixed issues with
Catalog.upload_ndarray()
under Windows - Added header to client requests to better debug retries
- Improved error messages for Catalog client upload methods
- Tasks methods
create_function
,create_or_get_function
, andnew_group
now have image as a required parameter - The
name
parameter is renamed toproduct_id
inVector.create_product
, andFeatureCollection.create
andFeatureCollection.copy
. The 'name' parameter is renamed tonew_product_id
inVector.create_product_from_query
. Usingname
will continue to work, but will be removed completely in future versions. - The
name
parameter is no longer required, and is ignored forVector.replace_product
,Vector.update_product
,FeatureCollection.update
andFeatureCollection.replace
. This parameter will be removed completely in future versions.
Metadata.paged_search
has been added and essentially supports the original behavior ofMetadata.search
prior to release 0.16.0. This method should generally be avoided in favor ofMetadata.features
(orMetadata.search
).
- Fixed typo in
UploadTask.status
which caused exception when handling certain failure conditions FeatureCollection.upload
parametermax_errors
was not being passed to Vector client.- Ensure
cloudpickle==0.4.0
is version used when creatingTasks
. - Eliminate redundant queries from
FeatureCollection.list
.
FeatureCollection.upload
andVector.upload_features
now accept an optionalmax_errors
parameter to control how many errors are acceptable before declaring an upload a failure.UploadTask
(as returned byFeatureCollection.upload
andVector.list_uploads
) now has added attributes to better identify what was processed and what errors occurred.Storage
now has added methodsset_file
andget_file
to allow for better uploading and downloading, respectively, of large files.Storage
class now has anexists()
method that checks whether an object exists in storage at the location of a givenkey
and returns a boolean.Scenes.search
allowslimit=None
FeatureCollection.delete_features
added to support deletingFeature
s that match afilter
FeatureCollection.delete_features
andFeatureCollection.wait_for_copy
now useAsyncJob
to poll for asynchronous job completion.Vector.delete_features_from_query
andVector.get_delete_features_status
added to support newFeatureCollection
andAsyncJob
methods.
- Fixed tasks bugs when including modules with relative paths in
sys.path
- Tasks now support passing modules, data and requirements along with the function code, allowing for a more complex and customized execution environment.
- Vector search query results now report their total number of results by means of the standard
len()
function.
Metadata.search
no longer has a 10,000-item limit, and the number of items returned will be closer tolimit
. This method no longer accepts thecontinuation_token
parameter.
- Raster client can now handle arbitrarily large numbers of tiles generated from a shape using the new
iter_dltiles_from_shape()
method which allows you to iterate over large numbers of tiles in a time- and memory-efficient manner. Similarly the existingdltiles_from_shape()
method can now handle arbitrarily large numbers of tiles although it can be very slow. - Vector client
upload_features()
can now upload contents of a stream (e.g.io.IOBase
derivative such asio.StringIO
) as well as the contents of a named file. - Vector FeatureCollection
add()
method can now handle an arbitrary number of Features. Use of theupload_features()
method is still encouraged for large collections. - Vector client now supports creating a new product from the results of a query against an existing product with the
create_product_from_query()
method. This support is also accessible via the newFeatureCollection.copy()
method. - XYZTile GeoContext class, helpful for rendering to web maps that use XYZ-style tiles in a spherical Mercator CRS.
- Tasks client FutureTask now instantiates a client if none provided (the default).
- Catalog client methods now properly handle
add_namespace
parameter. - Vector Feature now includes valid geojson type 'Feature'.
- Tasks client now raises new GroupTerminalException if a task group stops accepting tasks.
- General documentation fixes.
- Scenes and raster clients have a
processing_level
parameter that can be used to turn on surface reflectance processing for products that support it
scenes.GeoContext
: better defaults andbounds_crs
parameterbounds
are no longer limited to WGS84, but can be expressed in anybounds_crs
- New
Scene.default_ctx
uses a Scene'sgeotrans
to more accurately determine aGeoContext
that will result in no warping of the original data, better handling sinusoidal and other non-rectilinear coordinate reference systems. - Important: the default GeoContexts will now return differently-sized rasters than before!
They will now be more accurate to the original, unwarped data, but if you were relying on the old defaults, you should now explicitly set the
bounds
togeometry.bounds
,bounds_crs
to"EPSG:4326"
, andalign_pixels
to True.
Scene.coverage
andSceneCollection.filter_coverage
accept any geometry-like object, not just aGeoContext
.
FutureTask
inheritance changed fromdict
toobject
.
- Can now specify a GPU parameter for tasks.
Vectors.upload
allows you to upload a JSON newline delimited file.Vectors.list_uploads
allows you to list all uploads for a vector product.UploadTask
contains the information about an upload and is returned by both methods.
Vector.list_products
andVector.search_features
getquery_limit
andpage_size
parameters.
Vector.upload_features
handles new response format.
- Vector client support for retrieving status information about upload jobs. Added methods
Vector.get_upload_results
andVector.get_upload_result
.
- Shapely is now a full requirement of this package. Note: Windows users should visit https://docs.descarteslabs.com/installation.html#windows-users for installation guidance.
- Reduced the number of retries for some failure types.
- Resolved intermittent
SceneCollection.stack
bug that manifested asAttributeError: 'NoneType' object has no attribute 'coords'
due to Shapely thread-unsafety. - Tracking system environment to improve installation and support of different systems.
- The vector service is now part of the public package. See
descarteslabs.vectors
anddescarteslabs.client.services.vector
.
- Fixed SSL problems when copying clients to forked processes or sharing them among threads
- Removed extra keyword arguments from places client
- Added deprecation warnings for parameters that have been renamed in the Metadata client
- Scenes now exposes more parameters from raster and metadata
- Scenes
descarteslabs.scenes.search
will take a python datetime object in addition to a string - Scenes will now allow Feature and FeatureCollection in addition to GeoJSON geometry types
- Fixed Scenes issue preventing access to products with multi-byte data but single-byte alpha bands
Scene.download
,SceneCollection.download
, andSceneCollection.download_mosaic
methods- Colormaps supported in
descarteslabs.scenes.display
- Task namespaces are automatically created with the first task group
- Moved metadata property filtering to common
- Deprecated
create_or_get_function
in tasks - Renamed some examples
- Namespaced auth environment variables:
DESCARTESLABS_CLIENT_SECRET
andDESCARTESLABS_CLIENT_ID
.CLIENT_SECRET
andCLIENT_ID
will continue to work. - Tasks runtime check for Python version.
- Documentation updates
- Example updates
- Scenes package
- More examples
- Deprecated
add_namespace
argument in catalog client (defaults toFalse
now, formerlyTrue
)
- Added org to token scope
- Removed deprecated key usage
- Tasks service
- Patched bug in catalog service for py3
- Catalog service
- Storage service
- Switched to
start_datetime
argument pattern instead ofstart_date
- Fixed minor regression with
descarteslabs.ext
clients - Deprecated token param for
Service
class
- Raster stack method
- Removed deprecated searching by
const_id
- Removed deprecated raster band methods
- Deprecated
sat_id
parameter for metadata searches - Changed documentation from readthedocs to https://docs.descarteslabs.com
- Dot notation access to dictionaries returned by services
- Reorganization into a client submodule
- Fix regression for
NotFoundError
- Reverted
descarteslabs.services.base
todescarteslabs.services.service
- Reorganization of services
- Places updated to v2 backend, provides units interface to statistics, which carries some backwards incompatibility.
- Places updated to v2 backend, provides units interface to statistics, which carries some backwards incompatibility.
- Blosc Support for raster array compression transport
- Scrolling support for large metadata searches
- Offset keyword argument in metadata.search is deprecated. Please use the metadata.features for iterating over large search results
- Complex filtering expressions for image attributes
- Raise explicitly on 409 response
- Keep retrying token refresh until token fully expired
- Fixed race condition when creating
.descarteslabs
directory
- Added ext namespace
- Metadata multi-get
- Fix OpenSSL install on OSX
- Automatic retry on 504
- Internal API refactoring / improvements for Auth
- Add raster bands methods to metadata service.
- Deprecate raster band methods.
- Add
require_bands
param to derived bands search method.
- Test suite replaces original token when finished running script tests.
- Support for derived bands endpoints.
- Direct access to
const_id
toproduct
translation.
descarteslabs
scripts on windows OS.
- Fix auth login
- Add metadata.bands and metadata.products search/get capabilities.
- Add bands/products descriptions
- Additional Placetypes
- Better error messages with timeouts
- Update to latest version of
requests
- Major refactor of metadata.search
- Introduction of "Products" through
Metadata.products()
- metadata entries id now concatenate the product id and the old metadata keys. The original metadata keys are available through entry['key'].
- Additional sorting available.
- Introduction of "Products" through
- Search & Raster using DLTile Feature GeoJSON or key. Uses output bounds, resolution, and srs to ease searching and rasterizing imagery over tiles.
- Better Error messaging
- DLTile notebook
save
andoutfile_basename
inRaster.raster()
- Fix metadata.features
- Strict "requests" versions needed due to upstream instability.
- Fix python 3 command line compatibility
- API Change
descarteslabs
,raster
,metadata
have all been merged into 'descarteslabs
'. 'descarteslabs login
' is now 'descarteslabs auth login
', 'raster
'' is now 'descarteslabs raster
', etc.
- A Changelog
- Testing around command-line scripts
- Searching with cloud_fraction = 0
- dltile API documentation
- Fix login bug
- Installation of "requests[security]" for python < 2.7.9
- Doctests
- Python 3 login bug
- Search by Fractions
- Initial release of client library