This tool can be used to create a new raster with the same coordinates and dimensions (i.e. rows and columns) as an existing base image. The user must input a base file (base
), the value that the new grid will be filled with (out_val
; NoData if unspecified), and the data type (data_type
flag; options include 'double', 'float', and 'integer').
new_raster_from_base_vector, raster_cell_assignment
def new_raster_from_base_raster(self, base: Raster, out_val: float = float('nan'), data_type: str = "float") -> Raster: ...