salem.GeoTiff

class salem.GeoTiff(file)[source]

Geolocalised tiff images (needs rasterio).

__init__(file)[source]

Open the file.

Parameters:
file: path to the file

Methods

__init__(file)

Open the file.

get_vardata([var_id])

Read the geotiff band.

set_period([t0, t1])

Set a period of interest for the dataset.

set_roi([shape, geometry, crs, grid, ...])

Set a region of interest for the dataset.

set_subset([corners, crs, toroi, margin])

Set a subset for the dataset.

Attributes

roi

Mask of the ROI (same size as subset).

time

Time array