From b0084404376b8960dc23d8833c60e3e6a1217b55 Mon Sep 17 00:00:00 2001 From: "Stephen C. Pope" Date: Wed, 3 Jan 2024 09:21:18 -0700 Subject: [PATCH] Docs: Fix incorrect use of descartes without the labs (#12378) GitOrigin-RevId: 22ef40ece7521c88232d9e34fdcf68df2e69facd --- descarteslabs/core/catalog/image.py | 4 ++-- descarteslabs/core/catalog/image_collection.py | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/descarteslabs/core/catalog/image.py b/descarteslabs/core/catalog/image.py index fed8006c..df3050d5 100644 --- a/descarteslabs/core/catalog/image.py +++ b/descarteslabs/core/catalog/image.py @@ -1036,7 +1036,7 @@ def ndarray( Whether to also return a dict of information about the rasterization of the image, including the coordinate system WKT and geotransform matrix. Generally only useful if you plan to upload data derived - from this image back to the Descartes catalog, or use it with GDAL. + from this image back to the Descartes Labs catalog, or use it with GDAL. resampler : `ResampleAlgorithm`, default `ResampleAlgorithm.NEAR` Algorithm used to interpolate pixel values when scaling and transforming the image to its new resolution or CRS. @@ -1203,7 +1203,7 @@ def _ndarray( except NotFoundError: raise NotFoundError( - "'{}' does not exist in the Descartes catalog".format(self.id) + "'{}' does not exist in the Descartes Labs catalog".format(self.id) ) from None except BadRequestError as e: msg = ( diff --git a/descarteslabs/core/catalog/image_collection.py b/descarteslabs/core/catalog/image_collection.py index 9b35fa43..54a418ab 100644 --- a/descarteslabs/core/catalog/image_collection.py +++ b/descarteslabs/core/catalog/image_collection.py @@ -243,7 +243,7 @@ def stack( Whether to also return a list of dicts about the rasterization of each image, including the coordinate system WKT and geotransform matrix. Generally only useful if you plan to upload data derived from this - image back to the Descartes catalog, or use it with GDAL. + image back to the Descartes Labs catalog, or use it with GDAL. resampler : `ResampleAlgorithm`, default `ResampleAlgorithm.NEAR` Algorithm used to interpolate pixel values when scaling and transforming each image to its new resolution or SRS. @@ -491,7 +491,7 @@ def mosaic( Whether to also return a dict of information about the rasterization of the images, including the coordinate system WKT and geotransform matrix. Generally only useful if you plan to upload data derived - from this image back to the Descartes catalog, or use it with GDAL. + from this image back to the Descartes Labs catalog, or use it with GDAL. resampler : `ResampleAlgorithm`, default `ResampleAlgorithm.NEAR` Algorithm used to interpolate pixel values when scaling and transforming the image to its new resolution or SRS. @@ -595,7 +595,7 @@ def mosaic( arr, info = Raster.get_default_client().ndarray(**full_raster_args) except NotFoundError: raise NotFoundError( - "Some or all of these IDs don't exist in the Descartes catalog: {}".format( + "Some or all of these IDs don't exist in the Descartes Labs catalog: {}".format( full_raster_args["inputs"] ) )