easy_vic_build.tools.mete_func.build_MeteForcing_interface
Build meteorological forcing NetCDF files from gridded time series.
Classes
|
Interface for building yearly VIC meteorological forcing files. |
- class easy_vic_build.tools.mete_func.build_MeteForcing_interface.buildMeteForcing_interface(evb_dir, logger, dpc_VIC_level2, date_period_process, date_period_forcing, date_format='%Y%m%d', timestep='D', reverse_lat=True, stand_grids_lat_level2=None, stand_grids_lon_level2=None, rows_index_level2=None, cols_index_level2=None, file_format='NETCDF4')[source]
Bases:
objectInterface for building yearly VIC meteorological forcing files.
Initialize the forcing builder.
- Parameters:
evb_dir (object) – Directory/config object that provides output paths and filename prefix.
logger (object) – Logger instance used for progress messages.
dpc_VIC_level2 (object) – Data-processing container that stores level-2 basin grid data.
date_period_process (sequence of str) – Start and end date strings for files to be generated.
date_period_forcing (sequence of str) – Start and end date strings of available forcing time series.
date_format (str, optional) – Date parsing format used by
datetime.strptime.timestep (str, optional) – Pandas frequency string used to build the time axis.
reverse_lat (bool, optional) – Whether latitude is stored in reverse order.
stand_grids_lat_level2 (array-like, optional) – Standard latitude coordinate array.
stand_grids_lon_level2 (array-like, optional) – Standard longitude coordinate array.
rows_index_level2 (array-like, optional) – Row indices mapping each basin grid to standard grid.
cols_index_level2 (array-like, optional) – Column indices mapping each basin grid to standard grid.
file_format (str, optional) – NetCDF output format.
- __init__(evb_dir, logger, dpc_VIC_level2, date_period_process, date_period_forcing, date_format='%Y%m%d', timestep='D', reverse_lat=True, stand_grids_lat_level2=None, stand_grids_lon_level2=None, rows_index_level2=None, cols_index_level2=None, file_format='NETCDF4')[source]
Initialize the forcing builder.
- Parameters:
evb_dir (object) – Directory/config object that provides output paths and filename prefix.
logger (object) – Logger instance used for progress messages.
dpc_VIC_level2 (object) – Data-processing container that stores level-2 basin grid data.
date_period_process (sequence of str) – Start and end date strings for files to be generated.
date_period_forcing (sequence of str) – Start and end date strings of available forcing time series.
date_format (str, optional) – Date parsing format used by
datetime.strptime.timestep (str, optional) – Pandas frequency string used to build the time axis.
reverse_lat (bool, optional) – Whether latitude is stored in reverse order.
stand_grids_lat_level2 (array-like, optional) – Standard latitude coordinate array.
stand_grids_lon_level2 (array-like, optional) – Standard longitude coordinate array.
rows_index_level2 (array-like, optional) – Row indices mapping each basin grid to standard grid.
cols_index_level2 (array-like, optional) – Column indices mapping each basin grid to standard grid.
file_format (str, optional) – NetCDF output format.