The Catalog Service provides access to products, bands, and images available from Descartes Labs.
Catalog
The Catalog API can be found as Python package descarteslabs.catalog
. To install
please refer to Installation.
The tables below list the objects, types, and exceptions available through the Catalog API. For information on how these objects work together, check out the Catalog Guide.
Product
A raster product that connects band information to imagery. |
|
The asynchronous deletion task's status |
Bands
A data band in images of a specific product. |
|
A band that lies somewhere on the visible/NIR/SWIR electro-optical wavelength spectrum. |
|
A band that lies in the microwave spectrum, often from SAR or passive radar sensors. |
|
A binary band where by convention a 0 means masked and 1 means non-masked. |
|
A band that maps a finite set of values that may not be continuous. |
|
A generic kind of band not fitting any other type. |
Image
An image with raster data. |
|
The status object returned when you upload an image using |
|
Holds Images, with methods for loading their data. |
Blob
A stored blob (arbitrary bytes) that can be searched and retrieved. |
|
The asynchronous deletion task's status |
Search
A search request that iterates over its search results. |
|
A search request that iterates over its search results for images. |
|
The readonly data returned by |
|
|
A search request that iterates over its search results for blobs. |
The readonly data returned by |
|
|
A search request that iterates over its search results for event subscriptions. |
A wrapper object to construct filter properties by referencing instance attributes. |
EventSchedule
A Scheduled Event. |
|
EventSubscription
A Subscription to receive event notifications. |
|
Target for an EventSubscription. |
|
An EventSubscriptionTarget tailored for a compute function. |
|
An EventSubscriptionTarget tailored for an SQS queue. |
|
A convenience class for creating an EventSubscription for a new image event. |
|
A convenience class for creating an EventSubscription for a new storage event. |
|
A convenience class for creating an EventSubscription for a new storage event. |
|
A convenience class for creating an EventSubscription for a compute function completion event. |
|
A convenience class for creating an EventSubscription for a scheduled event. |
EventRule
An EventBridge rule to match event subscription targets. |
|
Target for an EventRule. |
EventApiDestination
An EventBridge API destination. |
|
Types
The state of the catalog object. |
|
The state of a task. |
|
Valid data types for bands. |
|
Types of bands with different data interpretation. |
|
Predefined colormaps available to assign to bands. |
|
Processing Levels Step. |
|
An attribute that contains properties (key/value pairs). |
|
A spatial pixel resolution with a unit. |
|
Valid units of measure for Resolution. |
|
File definition for an Image. |
|
The storage state for an image or blob. |
|
|
The storage type for a blob. |
Control of the upload process. |
|
The type of upload data. |
|
Allowed overview resampler algorithms. |
|
The status of the image upload operation. |
|
Image upload event data. |
|
The type of the image upload event. |
|
The severity of an image upload event. |
|
The event type for a subscription. |
|
Placeholder class for EventSubscriptionComputeTarget. |
|
Parameter value for a connection. |
Exceptions
There was a problem validating the corresponding attribute. |
|
Indicates that an action cannot be performed. |
|
Indicate that an action cannot be performed. |
Note that many API calls result in a network request, which can result in a spurious
ClientError
or
ServerError
exception. This has been documented
for all calls that are susceptible to this. A non-exhaustive list of potential
exceptions that can occur are:
AuthError
when you don’t have the necessary credentials to access the Descartes Labs services.RateLimitError
when there are too many request within a given time interval.ServerError
when there is an internal error in one of the Descartes Labs services.GatewayTimeoutError
when there is congestion in the Descartes Labs networks.
Catalog Client
The CatalogClient handles the HTTP communication with the Descartes Labs catalog. |