Glossary module

Choose data offerings from the glossary using the SDK.


Collection class

The Collection data class represents a data product within a collection.

Collection class attributes
AttributeDescription
namestr | required
The name of the collection.
titlestr | required
The title of the collection.
descriptionstr | required
The description of the collection.
typeCollectionType | required
The type of the collection.
integrationslist[IntegrationValue] | required
Integration values.
providerslist[Provider] | required
Providers.
data_productslist[DataProduct] | required
Data products.
metadataCollectionMetadata
The collection metadata.

CollectionMetadata class

The CollectionMetadata data class contains metadata related to a collection.

ResolutionValue class attributes
AttributeDescription
product_typeliteral[“OPTICAL”, “SAR”, “ELEVATION”]
The type of product the collection delivers.
resolution_classliteral[“VERY_HIGH”, “HIGH”, “MEDIUM”, “LOW”]
The spatial resolution class.
resolution_valueResolutionValue
The level of detail achievable for the collection.

CollectionSorting class

The CollectionSorting class contains possible sorting parameters for the ProductGlossary::get_collections method.

Sorting fieldDescription
nameSorts by collection name. The default order is ascending.
titleSorts by collection title. The default order is ascending.
descriptionSorts by collection description. The default order is ascending.
typeSorts by collection type. The default order is ascending.

CollectionType

The CollectionType class contains product types for geospatial collections.

CollectionType class properties
Enum memberDescription
ARCHIVEstr
A ctalog collection.
TASKINGstr
A tasking collection.

DataProduct class

The DataProduct data class represents a data product within a collection.

DataProduct class attributes
AttributeDescription
namestr | required
The data product name.
titlestr | required
The title of the data product.
descriptionstr | required
The description of the data product.
idstr
The data product ID.
eula_idstr
The EULA ID.

IntegrationValue

Integration values indicate mandatory ordering steps, available actions, and mandatory or optional operations for a given collection.

ProductGlossary class

get_collections

The get_collections class method allows you to get a list of geospatial collections.

The returned data type is Iterator[Collection].

ArgumentDescription
collection_typeCollectionType
The type of the collection.
sort_byutils.SortingField
The results sorting method that arranges elements in ascending or descending order based on a chosen field. To view the list of possible values, see CollectionSorting.
An example with get_collections

Python

    # Catalog collections
catalog_collections = up42.glossary.ProductGlossary.get_collections(
    collection_type=up42.glossary.CollectionType.ARCHIVE
)

next(catalog_collections)

# Tasking collections
tasking_collections = up42.glossary.ProductGlossary.get_collections(
    collection_type=up42.glossary.CollectionType.TASKING
)

next(tasking_collections)

  

Provider class

The Provider data class represents a provider associated with a collection.

Provider class attributes
AttributeDescription
namestr | required
The name of the provider.
titlestr | required
The title of the provider.
descriptionstr | required
The description of the provider.
roleslist[Literal[“PRODUCER”, “HOST”]]
Provider roles:
  • PRODUCER: a producer is a provider that initially acquired and processed the source data. Data acquired by a producer can be distributed to various hosts.
  • HOST: a host is a provider that offers access to data acquired by a producer.

ResolutionValue class

The ResolutionValue data class represents the resolution of data within a collection.

ResolutionValue class attributes
AttributeDescription
minimumfloat | required
The best possible resolution available for the collection, in meters.
maximumfloat
The least detailed resolution available for the collection, in meters. The parameter is omitted if the collection has only one resolution value, specified in minimum.
descriptionstr
A description of the resolution.

View repository