easy_vic_build.tools.mete_func.createMeteForcingDataset

Create VIC meteorological forcing NetCDF datasets.

Functions

createMeteForcingDataset(dst_path, lat_list, ...)

Create a meteorological forcing dataset with VIC-required variables.

easy_vic_build.tools.mete_func.createMeteForcingDataset.createMeteForcingDataset(dst_path, lat_list, lon_list, time_datetime, start_time='19970101', format='NETCDF4')[source]

Create a meteorological forcing dataset with VIC-required variables.

Parameters:
  • dst_path (str) – Output NetCDF file path.

  • lat_list (sequence of float) – Latitude coordinate values.

  • lon_list (sequence of float) – Longitude coordinate values.

  • time_datetime (sequence of datetime-like) – Datetime sequence used to build the time dimension.

  • start_time (str, optional) – Time origin in YYYYMMDD format for the time units attribute.

  • format (str, optional) – NetCDF file format passed to netCDF4.Dataset.

Returns:

(meteforcing_dataset, time_v, lats, lons, lat_v, lon_v).

Return type:

tuple