pysyncrosim.raster.Raster

class pysyncrosim.raster.Raster(source, iteration=None, timestep=None)

A class to represent a raster object.

__init__(source, iteration=None, timestep=None)

Methods

__init__(source[, iteration, timestep])

values([band])

Gets the values in each cell of the raster

Attributes

crs

Gets the coordinate system of the raster

dimensions

Gets the dimensions of the raster

extent

Gets the extent of the raster

name

Gets the name of the raster

resolution

Gets the resolution of the raster

source

Gets the filepath of the raster