pyflwdir.FlwdirRaster.set_transform#
- FlwdirRaster.set_transform(transform, latlon=False)[source]#
Set transform affine.
- Parameters:
transform (affine transform) – Two dimensional affine transform for 2D linear mapping. The default is an identity transform.
latlon (bool, optional) – True if WGS84 coordinate reference system. If True it converts the cell areas from degree to metres, otherwise it assumes cell areas are in unit metres. The default is False.