xee.EarthEngineStore

class xee.EarthEngineStore(image_collection, crs, crs_transform, shape_2d, chunks=None, n_images=-1, primary_dim_name=None, primary_dim_property=None, mask_value=None, request_byte_limit=50331648, ee_init_kwargs=None, ee_init_if_necessary=False, executor_kwargs=None, getitem_kwargs=None, fast_time_slicing=False)

Read-only Data Store for Google Earth Engine.

Parameters:
  • image_collection (ee.ImageCollection)

  • crs (CrsType)

  • crs_transform (TransformType)

  • shape_2d (ShapeType)

  • chunks (Chunks)

  • n_images (int)

  • primary_dim_name (str | None)

  • primary_dim_property (str | None)

  • mask_value (float | None)

  • request_byte_limit (int)

  • ee_init_kwargs (dict[str, Any] | None)

  • ee_init_if_necessary (bool)

  • executor_kwargs (dict[str, Any] | None)

  • getitem_kwargs (dict[str, int] | None)

  • fast_time_slicing (bool)

__init__(image_collection, crs, crs_transform, shape_2d, chunks=None, n_images=-1, primary_dim_name=None, primary_dim_property=None, mask_value=None, request_byte_limit=50331648, ee_init_kwargs=None, ee_init_if_necessary=False, executor_kwargs=None, getitem_kwargs=None, fast_time_slicing=False)
Parameters:
  • image_collection (ImageCollection)

  • crs (str)

  • crs_transform (tuple[float, float, float, float, float, float] | Affine)

  • shape_2d (tuple[int, int])

  • chunks (int | dict[Any, Any] | Literal['auto'] | None)

  • n_images (int)

  • primary_dim_name (str | None)

  • primary_dim_property (str | None)

  • mask_value (float | None)

  • request_byte_limit (int)

  • ee_init_kwargs (dict[str, Any] | None)

  • ee_init_if_necessary (bool)

  • executor_kwargs (dict[str, Any] | None)

  • getitem_kwargs (dict[str, int] | None)

  • fast_time_slicing (bool)

Methods

__init__(image_collection, crs, ...[, ...])

close()

get_attrs()

get_child_store(group)

Get a store corresponding to the indicated child group.

get_dimensions()

get_encoding()

get_parent_dimensions()

get_variables()

image_to_array(image[, pixels_getter, dtype])

Gets the pixels for a given image as a numpy array.

load()

This loads the variables and attributes simultaneously.

open(image_collection, crs, crs_transform, ...)

Create an EarthEngineStore for a normalized ImageCollection input.

open_store_variable(name)

project(bbox)

Translate a bounding box (pixel space) to a grid (projection space).

Attributes

ATTRS_VALID_TYPES

DEFAULT_MASK_VALUE

GETITEM_KWARGS

PREFERRED_CHUNKS

SCALE_UNITS

get_info

Make all getInfo() calls to EE at once.

image_collection_properties

image_ids