geetools.batch#
Missing docstring.
Submodules#
Classes#
Package Contents#
- class geetools.batch.Export[source]#
Bases:
ee.batch.ExportMissing docstring.
Forbids class instantiation.
- class image[source]#
Bases:
ee.batch.Export.imageTODO missing docstring.
Forbids class instantiation.
- toAsset[source]#
Creates a task to export an EE Image to an EE Asset.
- Parameters:
image – The image to be exported.
description – Human-readable name of the task.
assetId – The destination asset ID.
pyramidingPolicy – The pyramiding policy to apply to each band in the image, a dictionary keyed by band name. Values must be one of: “mean”, “sample”, “min”, “max”, or “mode”. Defaults to “mean”. A special key, “.default”, may be used to change the default for all bands.
dimensions – The dimensions of the exported image. Takes either a single positive integer as the maximum dimension or “WIDTHxHEIGHT” where WIDTH and HEIGHT are each positive integers.
region – The lon,lat coordinates for a LinearRing or Polygon specifying the region to export. Can be specified as a nested lists of numbers or a serialized string. Defaults to the image’s region.
scale – The resolution in meters per pixel. Defaults to the native resolution of the image asset unless a crsTransform is specified.
crs – The coordinate reference system of the exported image’s projection. Defaults to the image’s default projection.
crsTransform – A comma-separated string of 6 numbers describing the affine transform of the coordinate reference system of the exported image’s projection, in the order: xScale, xShearing, xTranslation, yShearing, yScale and yTranslation. Defaults to the image’s native CRS transform.
maxPixels – The maximum allowed number of pixels in the exported image. The task will fail if the exported region covers more pixels in the specified projection. Defaults to 100,000,000.
priority – The priority of the task within the project. Higher priority tasks are scheduled sooner. Must be an integer between 0 and 9999. Defaults to 100.
**kwargs – Holds other keyword arguments that may have been deprecated such as ‘crs_transform’.
- Returns:
An unstarted Task that exports the image as an Earth Engine asset.
- class table[source]#
Bases:
ee.batch.Export.tableTODO missing docstring.
Forbids class instantiation.
- toAsset[source]#
Creates a task to export a FeatureCollection to an EE table asset.
- Parameters:
collection – The feature collection to be exported.
description – Human-readable name of the task.
assetId – The destination asset ID.
maxVertices – Max number of uncut vertices per geometry; geometries with more vertices will be cut into pieces smaller than this size.
priority – The priority of the task within the project. Higher priority tasks are scheduled sooner. Must be an integer between 0 and 9999. Defaults to 100.
**kwargs – Holds other keyword arguments that may have been deprecated.
- Returns:
An unstarted Task that exports the table.