iota2.common.raster_utils
Functions
|
IN: parameter consistency are not tested here (done in otb's applications) every value could be string |
|
IN: parameter consistency are not tested here (done in otb's applications) every value could be string |
|
compress a raster thanks to gdal_translate |
|
use gdal_translate to extract bands of interest, band's index start at 1. |
|
|
|
|
|
|
|
usage get raster's number of bands |
|
transform numpy arrays (containing projection data) to rasterio datasets it works only with 3D arrays |
|
Apply a python function to an otb pipeline |
|
Return the memory usage :param unit: the expect unit for return ram (MB or GB) |
|
merge geo-referenced rasters thanks to rasterio.merge |
|
apply python function to the output of an otbApplication |
|
convert a raster to an array |
|
according to a conversion table, re_encode the monoband raster values |
|
reorder the probability map |
|
use rasterio to extract raster region of interest |
|
Launch a system command and raise an execption if fail |
|
extract regions of interest over the otbApplication |
Classes
|
|
|
partial(func, *args, **keywords) - new function with partial application of the given arguments and keywords. |