This code makes use of Pangeo's Public Dataset, and contains some code from their examples, found here. Each script has a similarly named Jupyter Notebook that explains some of the code. If you find my explainations limited, much of what I wrote is already explained in a much better way in documentation found online. This documentation is linked at some point in one of the notebooks.
You can run this code as any other Python script. However, do note that many of the scripts will write computed data to netCDF files. Be sure you have enough disk space to hold these, as the files for daily data can get quite large. Additionally, do be sure to change the file location to your desired location before running. You can also run this code as a notebook.
This contains code for calculating the tas anomaly of a dataset. It also has some (although) limited code explaining some preliminary setup that is contained in all 3 files.
This contains code for making 3 different calculations involving geopotential.
This contains code for plotting data, as well as for calculating the global mean temperature and arctic mean temperature.
GCPy_demo example of using chunking for low-memory situations. More info can be found in the docs.