Single Pixel Extraction Tool Guide
This guide describes the use of the Single Pixel Extraction Tool available from the ORNL DAAC Daymet web site. From this routine, a user can download daily Daymet in a CSV tabular file format for any one pixel and view the queried data as a graphical visualization.
This data access option allows users to enter a single geographic point by latitude and longitude in decimal degrees. A routine is executed that translates the (lon, lat) coordinates into projected Daymet (x,y) coordinates. These coordinates are used to access the Daymet database of daily interpolated surface weather variables. Daily data from the nearest 1 km x 1 km Daymet grid cell are extracted from the database and formatted as a table with one column for each Daymet variable and one row for each day. All daily data for selected years is returned as a single (long) table, formatted for display in the browser window or downloaded in a simple text format, suitable for import into a spreadsheet or other data analysis software. Graphical Visualization plots of Daymet variables is also available.
Required Sign In
The ORNL DAAC as a NASA entity requires a NASA Earthdata Login prior to the download of Daymet data. There is a link to Sign In or Register with the NASA Earthdata Login on Daymet data download pages.
The Single Pixel data access option allows a user to obtain daily Daymet data in a tabular format of variables for a single geographic point (pixel). The user specifies a single geographic point by latitude and longitude, in decimal degrees. Note that latitude values are positive for north, negative for south, while longitude values are positive for east, negative for west. All valid data points will therefore have positive latitude and negative longitude. It is necessary to place the balloon or enter a latitude/longitude pair that is on the Daymet land/water mask. If an error occurs, try repositioning the balloon if you’re area of interest is near water. The user has the option to select all Daymet variables, a single variable, or a subset of variables by using the CTRL key to select. Similarly, all available years of data or a subset of time can be queried.
A Daymet Single Pixel Extraction Web Services API is provided based on REST URL transfer architecture. This web service allows browser viewing (both table and graph form) or CSV file download of the data for lat/lon locations directly provided from the browser URL. CSV file download is also possible through command utilities such as Wget and cURL.
When a user clicks “Get Data”, a routine is executed on the Daymet server to translate the (lat, lon) coordinates into the Daymet projected (x, y) coordinates using the Generalized Cartographic Transformation Package (GCTP). These coordinates are used to access the Daymet database of daily interpolated surface weather variables. Daily data from the corresponding 1km x 1km Daymet grid cell are extracted from the database and formatted as a table with one column for each output variable and one row for each day. 3 All daily data for all available years are returned as a single (long) table, formatted for display in the browser window. At the top of this table is a link, “Download Data”, to the same data in a CSV format, suitable for import into a spreadsheet or other data analysis software. The “Visualize Data” button takes the user to a graphic visualization of the individual Daymet variables for the selected year(s).
The Download Data button will provide a CSV file. The table consists of 8 header lines, followed by daily records (one per line).
- Requested latitude and longitude (decimal degrees).
- File (x, y) Lambert Conformal Conic coordinates, in meters, from the Daymet data grid corresponding to the requested (lat, lon) location.
- The Daymet tile ID within which the entered lat, lon is located.
- Elevation from the Daymet DEM (in meters above sea level) for the requested location.
- Daymet data and software version information. Extracted from source Daymet netCDF files. See below for more details.
- Variable names and units for the daily data columns (see descriptions below).
Variables and Units:
Each daily record consists of 7 variables, described below:
- year (no units): Year, repeated for each day in the year.
- yday (no units): Integer representing day of year, values ranging from 1-365. Where:
- yday 1 = January 1
- yday 365 = December 31 for non-leap years or December 30 for leap-years
NOTE: All Daymet years are 1 – 365 days, including leap years. The Daymet database includes leap-days. Values for December 31 are discarded from leap years to maintain a 365-day year.
- tmax (degrees C): Daily maximum 2-meter air temperature.
- tmin (degrees C): Daily minimum 2-meter air temperature.
- dayl (s/day): Duration of the daylight period for the day. This calculation is based on the period of the day during which the sun is above a hypothetical flat horizon.
- prcp (mm/day): Daily total precipitation, sum of all forms converted to water-equivalent.
- srad (W/m^2): Incident shortwave radiation flux density, taken as an average over the daylight period of the day.
NOTE: Daily Total Radiation (MJ/m^2/day) can be calculated: ((srad (W/m^2) * dayl (s/day)) / l,000,000)
- swe (kg/m^2): Snow water equivalent. The amount of water contained within the snowpack.
- vp (Pa): Water Vapor Pressure. Daily average partial pressure of water vapor.
The Daymet calendar is based on a standard calendar year. All Daymet years have 1 – 365 days, including leap years. For leap years, the Daymet database includes leap day. Values for December 31 are discarded from leap years to maintain a 365-day year.
Though not directly relevant to the single pixel extraction data, the Daymet dataset is spatially referenced to the following projection.
|The North American Daymet projection system and parameters:
|Lambert Conformal Conic
|1st standard parallel
|25 deg N
|2nd standard parallel
|60 deg N
|-100 deg (W)
|Latitude of origin
|42.5 deg N
The spatial resolution of the Daymet gridded dataset is 1 km.
The Daymet dataset is stored as individual CF-Compliant netCDF file for each Daymet variable. On the server side, the Single Point Extraction Routine extracts from each of the CF-netCDF files and returns values for each variable for a single queried x, y projected value. The most current Daymet data is being delivered to the user in terms of both Daymet software and Daymet data versions. Version information is recorded in the header file of each of the CF-netCDF files within the Global Attribute fields Version_software and Version_data. All Daymet data is provisional and subject to revision.
When using the Daymet data acquired from the Single Pixel Extraction Tool, please use the citation information found on the dataset landing page.