Skip to main content
Daymet Home > Tools

Tools

Daymet User-Community Contributed Tools

Please note that these community contributed tools have had limited testing by the ORNL Daymet group and are provided for your convenience.

  • MATLAB functions to download and merge Daymet tiles
  • Developed and contributed by Chao Li, PhD at Carnegie Institution of Science at Stanford University.

    This toolkit consists of two MATLAB functions: 'daymetGet' and 'daymetMerge'. The 'daymetGet' function allows a user to download data for separate Daymet variables for different tiles and years. The downloaded data are automatically saved in MATLAB's current working directory. The output naming convention is: parname_tileid_year.nc. Different tiles can be merged together in terms of the 'daymetMerge' function. A coordinate file is provided, daymetCoordinate.mat, that is needed with the daymetMerge.m function. For greater details about how to use the functions, a 'demo' script is provided.

    Download a zip file containing the two MATLAB functions, a MATLAB demo, and a coordinate file: MATLAB_Daymet.zip (143MB).

  • DaymetR, A Daymet Single Pixel and Gridded Data Download Tool for R
  • Developed and contributed by Koen Hufkens, PhD at the Richardson Lab at Harvard University.

    Koen writes, "As I'm extensively using daily meteorological data to drive my grassland model, quick and easy access to this data is key. However accessing single pixel values through the java tool provided was a bit cumbersome and did not fit my workflow. As such I wrote my own tool which queries the website and allows you to subset time series of a single pixel location (given a latitude, longitude position) all within R. Data is either just downloaded to the current working directory or imported as a structured array into your R workspace for further analysis or formatting. In addition, similar functionality is provided to download gridded Daymet data based upon a single set of coordinates or a bounding box of two coordinates."

    Koen's website and a link to his bitbucket site is at DaymetR

  • ArcMap Tool - Get_Daymet_Tiles
  • Developed and contributed by Mark R Nardi and others of the USGS, MD-DE-DC Water Science Center, DE Office.
    This tool allows a user to download multiple Daymet netCDF files for one year, one variable, by interacting with selected polygons in the shape file called Tiles2_52N.shp. The output naming convention currently is: tilename_variable_year.nc . To use the tool, unzip the DaymetToolbox.zip file into \\ArcGIS\Desktop10.0\ArcToolbox\Toolboxes. It should create a DaymetTiles.tbx file and a folder called pyScripts. You can then add the toolbox in ArcMap. The tool should be considered a testing version. Be aware that the tool does not check for or keep track of interrupted and incomplete downloads. This tool has been tested on ArcMap 10 installed on a 32 bit Windows 7 machine.

    Download the ArcMap Get Daymet Tiles scripts.

  • ArcGIS 10.0 and Python Scripts to Download, Convert, and Mosaic Daymet Tiles
  • Developed and contributed by Stefanie Bohms of SGT, Inc. a Contractor to the USGS, EROS Center.
    This set of scripts was developed with ArcGIS and the Python programming language to automate the process of downloading Daymet netCDF files, converting the netCDF format to a standard raster format for a Daymet variable, and deriving a mosaic raster file. To use the scripts, download the Daymet_Scripts.zip file and refer to the Readme.docx file included. You will need ArcGIS 10.0 to run the Convert netCDF to raster files script. ArcGIS 10.1 is required for the mosaic script.

    Download the ArcGIS and Python Daymet scripts.

  • Joining Daymet Tiles with NCL
  • The website Joining Daymet Tiles with NCL is maintained by Dave Allured of the NOAA/PSD/CIRES Climate Analysis Branch. Dave is developing scientific software to spatially join or mosaic Daymet netCDF files using the NCAR Command Language (NCL).

    Download the supplemental Version 3 Daymet 2-D Coordinate Grid netCDF file.
    Download the supplemental Version 2 Daymet 2-D Coordinate Grid netCDF file.

  • NCAR's NCL Page and Daymet Tiles
  • The National Center for Atmospheric Research (NCAR) maintaines a website, NCL Application Examples: Daymet, demonstrating the use of the NCAR Command Language (NCL) with Daymet data.

    ORNL Daymet Tools

  • Multiple Coordinates Extractor
  • Download a script for automated data extraction at multiple locations for the Single Pixel Extraction.

    Instructions for multiple location extraction:
    1. Unzip the attached daymet.zip onto your desktop
    2. Edit latlon.txt with desired location (lat lon) information
    3. Open command line terminal from your unzipped daymet directory
    4. From the command line run the following: java -Xms512m -Xmx1024m -jar daymet_multiple_extraction.jar latlon.txt
    5. Above program creates separate CSV files for each lat lot. All variables, all years.

  • Converting netCDF to GeoTiff using GDAL
  • Download a document describing how to convert and merge Daymet netCDF files using the Geospatial Data Abstraction Library (GDAL).

  • Automate Downloading of netCDF Files from THREDDS Server
  • Download a document describing how to automate the download of Daymet netCDF filesfrom the THREDDS Daymet Tile server for a known range of years and Tile ID.

    Download a document describing how to automate the download of Daymet Mosaic netCDF version 4 filesfrom the THREDDS Daymet Mosaic server for a known range of years.

  • Daymet netCDF Files in ArcGIS
  • The User's Guide for the Daymet Tile Selection Data PDF includes a brief description of using netCDF files in ArcGIS.

  • Daymet Graphical Visualization
  • The Daymet visualization and mapping interface provided by the "Visualize Data" button on the Single Pixel Extraction data page was been developed using the Google Visualization API.