The ArcDayMet Toolbox is a free / open source python toolbox for ArcMap 10.2 and above that makes getting DayMet data from within ArcMap easy. This project was made possible with the assistance of the Prairies Region of the Canadian Wildlife Service.
This document provides basic use instructions for the installation and use of the tool. Users are encouraged to visit the DayMet website for details on the DayMet data itself.
A PDF version of this page is available for download here: ArcDayMet Help
This installation assumes you can download and put files in a location where they will not be accidentally altered or deleted. ArcDayMet requires the use of the program “curl” because of limitations of the version of Python that comes with ArcMap 10.2. The installation steps are as follows:
- Download the ArcDayMet.pyt file
- Download the correct version of curl for your computer (Curl for Windows).
- Unzip the curl_751_0_ssl.zip file and extract the curl.exe file from it.
- Copy both the curl.exe file and the ArcDayMet.pyt files to a location where they won’t be altered. For example "C:\Users\<your-user-account>\AppData\Roaming\ESRI\Desktop10.2\ArcToolbox\My Toolboxes"
- Open ArcMap
- Open ArcToolbox
- Right-click at top and choose Add Toolbox...
- From the look in drop down list select the location of your file. If you used the folder suggested above it will be in Toolboxes and then My Toolboxes.
- Select ArcDayMet.pyt and click open
- Open ArcToolbox again
- Right-click at top and choose Save Settings and To Default
The ArcDayMet Toolbox has the following work-flow design:
- Open a Shape File or GeoDatabase Point Layer in ArcMap with the locations of each place you want to extract weather data for.
- Open the ArcDayMet tool setting the layer, unique point ids, optional group ids and start and end years and final output file name.
- Run the tool and wait. Note that this will run in the background and may take some time if the number of points is large.
Please note that running ArcDayMet takes some time and run time will increase with more years and more points. ArcDayMet works by sending data requests to the DayMet website. If too many requests are sent close together it could crash the DayMet server and thus the data pulling process. To avoid server overload and crashes the ArcDayMet tool rests for two seconds between each data request.
The ArcDayMet Toolbox consists of one tool.
Extract DayMet Data
The Extract tool gets information for each point in the input layer for the user specified year range. During operation this tool will create a single file for each location which will later be removed.
Input values for this tool are:
- Point Layer – Only point layers are permitted and the should not include multi-point features. These are the locations which will be used to extract DayMet data.
- Point Id Field - The name of the field with unique values for each point.
- DayMet Variables – One or more of the DayMet variables can be selected. The DayMet variables are Maximum Temperature, Minimum Temperature, Shortwave Radiation, Vapor Pressure, Snow-water Equivalent, Precipitation and Day Length.
- Start Year – This is the first year for which to pull data. It can not be earlier than 1980.
- End Year – This is the last year for which to pull data. It can not be later than one year before the current year.
- Data Processing – One of two options can be selected, Return Raw Data and Return Raw Data with Aggretates
- Group Field – If Raw Data and Aggregates is selected then all the points are aggregated together by unique combinations of Day, Year and Group Field values.
- Aggregate Measures – One or more of the aggregate measures below can be selected. Note that minimum and maximum exclude NULL values but other measures do not. The available aggregate measures are mean, median, variance, standard deviation, count, maximum and minimum.
- Output File – This is the name of the csv file that ArcDayMet will create. If aggregate data output is selected then the output will create two files. The selected file name and the selected file name plus “_aggregate”. For example “test.csv” and “test_aggregate.csv”.
How to Cite use of the ArcDayMet Toolbox
Apropos Information Systems. ArcDayMet Toolbox, Version 1.0.1. Available at https://aproposinfosystems.com/.