daymet

container build status

Background

Daymet weather variables include daily minimum and maximum temperature, precipitation, vapor pressure, shortwave radiation, snow water equivalent, and day length produced on a 1 km x 1 km gridded surface over continental North America and Hawaii from 1980 and over Puerto Rico from 1950 through the end of the most recent full calendar year.

Daymet data documentation: https://daac.ornl.gov/DAYMET/guides/Daymet_Daily_V4.html

Note: The Daymet calendar is based on a standard calendar year. All Daymet years, including leap years, have 1–365 days. For leap years, the Daymet data include leap day (February 29) and December 31 is discarded from leap years to maintain a 365-day year.

Using

If my_addresses.csv is a file in the current working directory with ID column id, start and end date columns start_date and end_date, and coordinate columns named lat and lon, then the DeGAUSS command:

docker run --rm -v $PWD:/tmp ghcr.io/degauss-org/daymet:0.1.3 my_addresses.csv

will produce my_addresses_daymet.csv with added columns:

Other columns may be present in the input my_addresses.csv file, and these other columns will be linked in and included in the output my_addresses_daymet.csv file.

Optional Arguments

An example DeGAUSS command with all optional arguments used would be:

docker run --rm -v $PWD:/tmp ghcr.io/degauss-org/daymet:0.1.3 my_addresses.csv tmax,vp,prcp -88.263390 -87.525706 41.470117 42.154247 na

which will return maximum temperature, vapor pressure, and precipitation for observations within a boundary box of Cook County, IL. It is important to specify bounding box coordinates in the order of: min_lon, max_lon, min_lat, max_lat.

Geomarker Methods

Daymet data on a specified date is linked to coordinate data within the my_addresses.csv file by matching on the Daymet 1 km x 1 km raster cell number. If the boundary box coordinate data is not supplied in the optional arguments, they will be inferred from the .csv file with an added 0.1 degree latitude and longitude buffer to the outermost points to enhance data privacy.

Geomarker Data

Warning

If the boundary box for Daymet data download is inferred from address coordinates, then the size of the Daymet data download may be quite large if the address coordinates are very spread out. If a wide spread of coordinates is desired, then it may be best to stratify your input dataset to coordinates within separate geographic regions.

DeGAUSS Details

The Daymet DeGAUSS package was created by Ben Barrett and Peter Graffy, with contributions from Erika Rasnick and Luke Rasmussen. For detailed documentation on DeGAUSS, including general usage and installation, please see the DeGAUSS homepage.