pywasp.io.rastermap_to_waspformat

pywasp.io.rastermap_to_waspformat(da, lctable=None)[source]

Convert raster to WaspRasterMap expected for WAsP fortran routines.

Warning

This function is experimental and its signature may change.

Parameters:
  • da (xarray.DataArray) – Raster to write.

  • lctable (LandCoverTable) – LandCoverTable class with id’s, roughnesses, displacements and a description

Returns:

WaspRasterMap – Rastermap object to be used by WRF routines