prepare_mhm_forcings#

Prepare NetCDF MHM forcing files.

This module provides functions to: - Convert meteorological time series into the units expected by MHM - Crop spatial fields to a user-defined region - Write the pre-processed data out as CF-compliant NetCDF

Authors#

  • Jeisson Leal

  • Simon Lüdke

Functions#

convert_units(ds, var)

Convert variable to standard units.

prepare_forcings(in_dir, in_file, out_dir, ...)

Loop through all files matching in_file in in_dir, convert units.