tsgettoolbox.tsgettoolbox.daymet

tsgettoolbox.tsgettoolbox.daymet(lat, lon, start_date='1980-01-01', end_date=None, years=None, measuredParams=None)

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 the previous year’s 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']], Literal['tmax', 'tmin', 'srad', 'vp', 'swe', 'prcp', 'dayl', 'all'], None]) –

    [optional, defaults to “all”]

    Use the abbreviations from the following table:

    measuredParams

    Description

    Unit

    prcp

    precipitation

    mm

    swe

    snow-water equivalent

    kg/m2

    tmax

    maximum temperature

    degC

    tmin

    minimum temperature

    degC

    vp

    vapor pressure

    Pa

    dayl

    daylength

    seconds

    srad

    shortwave radiation

    W/m2

    Example: –measuredParams=tmax,tmin

    All variables are returned by default.