easy_vic_build.tools.geo_func.reproject

Module easy_vic_build.tools.geo_func.reproject.

Functions

reproject_raster(src_fname, dst_fname, dst_crs)

Reproject a raster file to a target CRS.

easy_vic_build.tools.geo_func.reproject.reproject_raster(src_fname, dst_fname, dst_crs)[source]

Reproject a raster file to a target CRS.

Parameters:
  • src_fname (str) – Source raster path.

  • dst_fname (str) – Output raster path.

  • dst_crs (str or rasterio.crs.CRS) – Target coordinate reference system.

Returns:

Output is written to dst_fname.

Return type:

None