Register an Earthdata account
Before running the Python notebook, you first must perform a few preliminary tasks.
The Daymet data is available for anyone to use; however, you must create an Earthdata account to access it. Earthdata accounts are free and give you access to all of the data in NASA's Earth Observing System Data and Information System (EOSDIS).
Note:
If you already have an Earthdata account, skip to the next section.
- Open the Register for an Earthdata Login Profile web page.
- Complete the form on this page. In the Affiliations section, the following answers are suggested:
- For Affiliation, choose Education.
- For User Type, choose Public User.
- For Study Area, choose Land Processes.
- Check the I'm not a robot check box.
- Click Register for Earthdata Login.
- Close the Earthdata web page.
Build a Python environment
You'll make a clone of the default arcgispro-py3 environment and add the Pydap package to the cloned environment. Pydap is a Python library that implements the OPeNDAP protocol. OPeNDAP provides access to hundreds of scientific datasets, including Daymet.
You'll use the ArcGIS Pro Package Manager to create the new environment and add the new package.
- Open ArcGIS Pro and on the start page, click Settings.
You'll clone the default arcgispro-py3 environment and name the new environment arcpydap.
- On the Settings pane, click Package Manager.
- On the Package Manager pane, for Active Environment, click the settings button.
- On the Environment Manager window, in the arcgispro-py3 (Default) row, click Clone environment.
The Clone Environment window opens.
- On the Clone Environment window, in the Destination box, edit the final part of the environment path to change the cloned environment name from arcgispro-py3-clone to arcpydap.
- Click OK.
On the Environment Manager, an indicator will appear beside the arcgispro-py3 (Default) row to show that the environment is being cloned.
The cloning process will take about 2 minutes to run.
When the process is complete, a new row will be added to the Environment Manager for the arcpydap environment.
- On the Environment Manager, in the arcpydap row, point to the end of the row and click the More options button, then click Activate.
The new environment will be activated. This process will take several seconds.
- On the Environment Manager, click OK.
- Close ArcGIS Pro, then restart ArcGIS Pro.
This ensures that the new environment will be active for the new ArcGIS Pro session.
- On the start page, click Settings, and on the Settings pane, click Package Manager.
On the Package Manager pane, the Active Environment should be arcpydap.
- On the Package Manager pane, click Add Packages.
- In the Search box, type pydap.
- In the results, for Pydap, click Install.
- Check the box to agree to the terms of use and click Install.
The installation process will take a minute. When it is complete, a green check will appear beside it in the Tasks section.
- Close ArcGIS Pro.
Work in ArcGIS Pro
Next, you'll open the provided ArcGIS Pro project. You'll continue the tutorial with the notebook provided in the project.
- Download the Napa_Daymet.zip file.
- Locate the downloaded file and unzip it to drive C, so the folder path is C:\Napa_Daymet.
Caution:
Some data connections will be broken if you unzip the file to a location other than drive C.
- Open the unzipped Napa_Daymet folder and double-click Napa_Daymet.aprx (or Napa_Daymet) to open it in ArcGIS Pro.
- If prompted, sign in with your ArcGIS account.
If you don't have access to ArcGIS Pro or an ArcGIS organizational account, see options for software access.
ArcGIS Pro appears, showing a small map with the outline of Napa County, California, and a notebook. This notebook is the Daymet.ipynb file found in the Napa_Daymet folder.
- Click the Daymet Notebook tab.
The notebook includes all of the necessary instructions.
- Read and run each cell in the notebook.
Note:
You can learn more about running notebooks in ArcGIS Pro in the tutorial Get started with notebooks in ArcGIS Pro.