salem.Map.set_data

Map.set_data(data=None, crs=None, interp='nearest', overplot=False)[source]

Adds data to the plot. The data has to be georeferenced, i.e. by setting crs (if omitted the data is assumed to be defined on the map’s grid)

Parameters
data: the data array (2d)
crs: the data coordinate reference system
interp: ‘nearest’ (default) or ‘linear’, the interpolation algorithm
overplot: add the data to an existing plot (useful for mosaics for
example)