Inherits object.
Public Member Functions | |
def | __init__ (self) |
Static Public Member Functions | |
def | dr (doy) |
def | dec (doy) |
def | ws (lat, dec) |
def | rs (doy, n, lat) |
def | query_climate_sites (clim_db, site_type) |
def | get_time_system_from_data_file (in_file) |
def | get_utcdatetime_from_field_values (flds, values, tsys, tzone=None) |
Hydro-Climate utility functions.
def seims.preprocess.hydro_climate_utility.HydroClimateUtilClass.__init__ | ( | self | ) |
Empty
|
static |
Declination.
|
static |
earth-sun distance
|
static |
Get the time system from the data file. The basic format is: #<time_system> [<time_zone>], e.g., #LOCALTIME 8, #LOCALTIME -2, #UTCTIME Returns: time_sys: 'UTCTIME' or 'LOCALTIME' time_zone(int): Positive for West time zone, and negative for East.
|
static |
Get datetime from field-value lists. Returns: utctime
|
static |
Query climate sites information, return a dict with stationID as key.
|
static |
solar radiation (MJ/m2), n is sunshine duration (hour)
|
static |
sunset hour angle