slice2nwcsaf_region¶
-
nawdex_analysis.io.reproj.slice2nwcsaf_region(region)¶ Function that gets the NWCSAF region definition from a region slice (row1, row2), (col1, col2).
Parameters: region (tuple of tuples of int) – region slice (row1, row2), (col1, col2) Returns: - icenter (tuple of int) – center index of the region cutout
- ndims (tuple of int) – dimensions ( size ) of the region (nrows, ncols)