alsdb.TileDBSchemaConfig#

class alsdb.TileDBSchemaConfig(tile_extent_x: float = 500.0, tile_extent_y: float = 500.0, domain_min_x: float = -20000000.0, domain_max_x: float = 20000000.0, domain_min_y: float = -20000000.0, domain_max_y: float = 20000000.0, year_min: int = 2000, year_max: int = 2100, chunk_size: int = 1000000)[source]#

Schema and domain configuration for the ALS TileDB array.

Rather than constructing this directly, prefer the factory methods:

  • for_crs — sensible defaults for a known CRS.

  • from_bbox — auto-sized domain around a known bounding box.

__init__(tile_extent_x: float = 500.0, tile_extent_y: float = 500.0, domain_min_x: float = -20000000.0, domain_max_x: float = 20000000.0, domain_min_y: float = -20000000.0, domain_max_y: float = 20000000.0, year_min: int = 2000, year_max: int = 2100, chunk_size: int = 1000000) None[source]#

Methods

__init__([tile_extent_x, tile_extent_y, ...])

for_crs(crs, **kwargs)

Return a config with domain bounds appropriate for crs.

from_bbox(bbox[, padding])

Return a config whose domain is derived from bbox plus padding.

Attributes

chunk_size

domain_max_x

domain_max_y

domain_min_x

domain_min_y

tile_extent_x

tile_extent_y

year_max

year_min