PreparedSurfaceSampler#
- class hydromodpy.spatial.PreparedSurfaceSampler(values, support, xmin, xmax, ymin, ymax, dx, dy, nrows, ncols)[source]#
Bases:
objectOne ready-to-use raster sampler built from a surface-like object.
- Parameters:
- classmethod from_surface(surface)[source]#
Build one sampler from a HydroModPy
Surface-like object.- Parameters:
surface (
object)- Return type:
- property has_complete_support: bool#
Return whether bilinear sampling can be evaluated on this sampler.