Band Utilities¶
-
rindcalc.utils.resample.
resample
(band, cell_size, out=None)¶ Utility function to resample a raster and output it as either an array or TIFF
Parameters: - band (str) – Path to raster file to resample
- cell_size (int) – New size of the cells
- out (str, optional) – Filename to save the output TIFF
Returns: resampled array
-
rindcalc.utils.gen_stats.
gen_stats
(raster_path)¶ Prints minimum, maximum, mean, median, and standard deviation values for a raster.
Parameters: raster_path (str, required) – input raster with which to generate statistical summary of. Returns: - minimum
- maximum
- mean
- median
- standard deviation