tsgettoolbox.tsgettoolbox.daymet¶
- tsgettoolbox.tsgettoolbox.daymet(lat, lon, start_date='1980-01-01', end_date=None, years=None, measuredParams=None, time_scale='daily', snow=False)¶
NAmerica:1km:1980-:D,M:Daymet, daily meteorology by the Oak Ridge National Laboratory
Detailed documentation is at http://daymet.ornl.gov/. Since this is daily data, it covers midnight to midnight based on local time.
- Parameters:
lat (float) –
Latitude (required): Enter single geographic point by latitude, value between 52.0N and 14.5N.:
Example: --lat=43.1
lon (float) –
Longitude (required): Enter single geographic point by longitude, value between -131.0W and -53.0W.:
Example: --lon=-85.3
start_date (str) –
[optional, defaults to first date in time-series, input filter]
The start_date of the series in ISOdatetime format, or ‘None’ for beginning. For North America and Hawaii, the earliest date is 1980-01-01. For Puerto Rico, the earliest date it 1950-01-01.
end_date (str) –
[optional, defaults to last date in time-series, input filter]
The end_date of the series in ISOdatetime format, or ‘None’ for end. The latest end date is usually 12-31 of the previous calendar year, though this is dependent on time required to process that data.
years (CommaSeparatedYears (optional):) –
Current Daymet product is available from 1980 to the latest full calendar year.:
Example: --years=2012,2014
This overrides the start_date and end_date options.
measuredParams (
Union
[List
[Literal
['tmax'
,'tmin'
,'srad'
,'vp'
,'swe'
,'prcp'
,'dayl'
,'penman_monteith'
,'hargreaves_samani'
,'priestley_taylor'
]],Literal
['tmax'
,'tmin'
,'srad'
,'vp'
,'swe'
,'prcp'
,'dayl'
,'penman_monteith'
,'hargreaves_samani'
,'priestley_taylor'
,'all'
],None
]) –[optional, defaults to “all”]
Use the abbreviations from the following table:
measuredParams
Description
Unit
time_scale
prcp
precipitation
mm
daily monthly annual
swe
snow-water equivalent
kg/m2
daily monthly annual
tmax
maximum temperature
degC
daily monthly annual
tmin
minimum temperature
degC
daily monthly annual
vp
vapor pressure
Pa
daily monthly annual
dayl
daylength
seconds
daily
srad
shortwave radiation
W/m2
daily
penman_monteith
PET by Penman-Montieth
mm
daily
hargreaves_samani
PET by Hargreaves- Samani
mm
daily
priestley_taylor
PET by Priestley-Taylor
mm
daily
Example: –measuredParams=tmax,tmin
All variables are returned by default.
time_scale (
Literal
['daily'
,'monthly'
,'annual'
]) –[optional, default is “daily”]
One of “daily”, “monthly”, or “annual”.
snow (bool) –
[optional, defaults to False]
Separate snowfall from precipitation using Martinez and Gupta (2010) method.