verde.get_region#
- verde.get_region(coordinates)[source]#
- Get the bounding region of the given coordinates. - Parameters:
- coordinatestupleofarrays
- Arrays with the coordinates of each data point. Should be in the following order: (easting, northing, vertical, …). Only easting and northing will be used, all subsequent coordinates will be ignored. 
 
- coordinates
- Returns:
- regiontuple= (W,E,S,N)
- The boundaries of a given region in Cartesian or geographic coordinates. 
 
- region
 - Examples - >>> coords = grid_coordinates((0, 1, -10, -6), shape=(10, 10)) >>> print(get_region(coords)) (0.0, 1.0, -10.0, -6.0) 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
