Read only data inside (horizontal) area given as a bounding box (tuple with left, lower, right, upper), as list of coordinates for a polygon, or as a Polygon or MultiPolygon with __geo_interface__ (e.g. shapely), by default None. Elements are selected when their centre is inside the area or on its boundary.
None
x
float | Sequence[float] | None
Read only data for elements containing the (x,y) points(s), by default None
None
y
float | Sequence[float] | None
Read only data for elements containing the (x,y) points(s), by default None
None
elements
int | Sequence[int] | np.ndarray | None
Read only selected element ids, by default None
None
error_bad_data
bool
raise error if data is corrupt, by default True,
True
fill_bad_data_value
float
fill value for to impute corrupt data, used in conjunction with error_bad_data=False default np.nan
np.nan
dtype
Any
Deprecated since v3.4: the parameter will be removed in v4.0, data is always read as np.float32. Use Dataset.astype() instead.