csep.core.regions.increase_grid_resolution
- csep.core.regions.increase_grid_resolution(points, dh, factor)[source]
Takes a set of origin points and returns a new set with higher grid resolution. assumes the origin point is in the lower left corner. the new dh is dh / factor. This implementation requires that the decimation factor be a multiple of 2.
- Parameters:
points – list of (lon,lat) tuples
dh – old grid spacing
factor – amount to reduce
- Returns:
list of (lon,lat) tuples with spacing dh / scale
- Return type:
points