easy_vic_build.tools.params_func.createParametersDataset

Create NetCDF templates for VIC parameters and routing flow direction.

Functions

createFlowDirectionFile(dst_path, lat_list, ...)

Create a routing flow-direction NetCDF dataset template.

createParametersDataset(dst_path, lat_list, ...)

Create a VIC parameter NetCDF dataset template.

easy_vic_build.tools.params_func.createParametersDataset.createParametersDataset(dst_path, lat_list, lon_list)[source]

Create a VIC parameter NetCDF dataset template.

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

  • lat_list (list of float) – Latitude coordinates.

  • lon_list (list of float) – Longitude coordinates.

Returns:

Open NetCDF dataset object containing predefined dimensions and variables for VIC parameters.

Return type:

netCDF4.Dataset

easy_vic_build.tools.params_func.createParametersDataset.createFlowDirectionFile(dst_path, lat_list, lon_list)[source]

Create a routing flow-direction NetCDF dataset template.

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

  • lat_list (list of float) – Latitude coordinates.

  • lon_list (list of float) – Longitude coordinates.

Returns:

flow_direction_dataset – Open NetCDF dataset object with routing-related variables.

Return type:

netCDF4.Dataset

Notes

The dataset includes coordinate variables and routing fields: Basin_ID, Flow_Direction, Flow_Distance, Source_Area, velocity, and diffusion.