RHESSysWorkflows  1.33
Functions
rhessysworkflows.climateio Namespace Reference

Functions

def getStartAndEndDateForClimateStation (climateStation, paths)
 Determine start and end date for the climate time-series associated with a climate station. More...
 

Function Documentation

def rhessysworkflows.climateio.getStartAndEndDateForClimateStation (   climateStation,
  paths 
)

Determine start and end date for the climate time-series associated with a climate station.

Supports only point time-series. Does so by reading in the daily rain climate file.

Parameters
climateStationString representing path to climate station file
pathsrhessysworkflows.rhessys.RHESSysPaths
Returns
Tuple of datetime.datetime representing start and end date of the climate time series; None is returned if the time-series lacks a start date

IOError if unable to read climate station file or daily rain time-series