OPeNDAP Access in Python to Derive Climate Normals and Anomalies of Daymet Aggregated netCDF4 Tile Data
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
daymet_normals_anomalies_agg_tiles.ipynb
output.png
requirements.txt

README.md

OPeNDAP Access in Python to Derive Climate Normals and Anomalies of Daymet Aggregated netCDF4 Tile Data

Author: ORNL DAAC

Date: February 28, 2018

Contact for ORNL DAAC: uso@daac.ornl.gov

Keywords: ORNL DAAC, Daymet, weather estimates, Anomalies, Normals, THREDDS, OPeNDAP, Earthdata, pydap

Overview

In this tutorial, we will explore using the pydap package to plot Daymet data. Specifically, we will calculate anomalies and normals for a weather estimate such as tmin, tmax, and prcp. To learn more about how to use Jupyter Notebooks, check out this YouTube video.

Source Data

A spatial subset of the North American Daymet dataset daily data; https://daymet.ornl.gov . In this example, we will access the data from this ORNL DAAC's THREDDS server.

Prerequisites:

Python 2.7 or greater. Python modules: pydap, basemap, matplotlib. To run this notebook locally, you will also need: iPython, ipywidgets, jupyter. Requirements are also in requirements.txt

For scientific computing, anaconda is recommended as it come pre-installed with packages such as numpy, iPython, and matplotlib.

Most operating systems, however, come with Python. To install the necessary python libraries, you can copy the requirements.txt from this repository and run:

pip install -r requirements.txt

Procedure

In this tutorial the Daymet data is aggregated by tile. You can access the Jupyter Notebook here.