Downloading the data#
All data files used in the lecture are available on this webserver.
CERES Data#
For Week 02, we will use climatological data from the CERES (Clouds and the Earth’s Radiant Energy System) mission. We are going to use the EBAF-TOA and the EBAF-Surface data products (both freely available on this webpage) as climatologies (i.e. monthly averages 2005-2015).
The data quality summary of these data (PDF) can be found here, and more accessible publications can be found here for TOA and here for Surface.
Download:
TOA file: CERES_EBAF-TOA_Ed4.1_Clim-2005-2015.nc
Surface file: CERES_EBAF-Surface_Ed4.1_Clim-2005-2015.nc
ERA5 data#
Ready to use, low resolution NetCDF files#
ERA5 is an atmospheric reanalysis product. We will use it a lot! Note that you can download the data yourself (I provide some sample scripts below), but for a start you can download some files I prepared for you:
Invariant:
Monthly surface (3D) data:
ERA5_LowRes_Monthly_t2m.nc: 2m temperature
ERA5_LowRes_Monthly_tp.nc: total precipitation
ERA5_LowRes_Monthly_evap.nc: evaporation
ERA5_LowRes_Monthly_seaice.nc: sea ice cover
ERA5_LowRes_Monthly_clouds.nc: cloud coverr (several variables)
ERA5_LowRes_Monthly_snow.nc: snow cover
ERA5_LowRes_Monthly_uvslp.nc:
u
,v
,slp
ERA5_LowRes_Monthly_sst.nc: sea surface temperatures
ERA5_LowRes_Monthly_eb.nc: energy balance terms
ERA5_LowRes_Monthly_wvtransport.nc: vertical integral of water vapor transport (
u
andv
)ERA5_LowRes_Monthly_water_column.nc: vertical integral of total water column
ERA5_LowRes_Monthly_energyflux.nc: vertical integral of energy fluxes
Monthly pressure-level (4D) data:
ERA5_LowRes_Monthly_4D_all.nc
u
,v
,w
,geop
,q
at pressure levels (file is 12.4Gb large!)
Monthly averaged (annual cycle) data:
ERA5_LowRes_MonthlyAvg_uvslp.nc:
u
,v
,slp
at surfaceERA5_LowRes_MonthlyAvg_4D_zuvw.nc:
u
,v
,w
,geop
at pressure levelsERA5_LowRes_MonthlyAvg_4D_zuvwq.nc:
u
,v
,w
,geop
,q
at pressure levelsERA5_LowRes_MonthlyAvg_eb.nc: energy balance terms
Full average (annual) data:
ERA5_LowRes_AnnualAvg_eb.nc: energy balance terms
File naming conventions:
LowRes
means that I asked for a lower spatial resolution than available (0.75° instead of the 0.25° default).Monthly
means that I averaged the data to calendar monthsMonthlyAvg
means that I averaged the data to all months (annual cycle)AnnualAvg
means that I averaged the data to all months and years (simple average)4D
means that the data is also available on pressure levelst2m
ortp
are variable namesInvariant
means that this file contains time invariant fields such as topography or land-sea mask.
Additional ERA5 data from the CDS servers (optional)#
You may want to download ERA5 data yourself if:
you’d like additional variables not listed above
you’d like to use high resolution data (0.25°) instead of the low resolution (0.75°) that I provided
you’d like to download hourly data (daily data are not available unfortunately)
If you want to go this path (not mandatory at all for the projects), you’ll need an account at the Copernicus Data Store
You may want to use their online platform to analyze/download the data, or you can use a script. To get you started, here is the script I used to download all the data listed above.
CMIP5 and CMIP6 data#
Temperature and Precipitation projections, for a large number of scenarios and GCMs:
CMIP5
CMIP6
Reading data from an url#
You can also open files without downloading them locally. This is somehow inefficient (it will download all data in memory each time you run the notebook), but might be useful e.g. on MyBinder where you can’t store files. You will need the h5netcdf
library to be installed for the following to work:
import xarray as xr
import urllib, io
url = 'https://cluster.klima.uni-bremen.de/~fmaussion/teaching/climate/ERA5_LowRes_Invariant.nc'
req = urllib.request.Request(url)
with urllib.request.urlopen(req) as resp:
ds = xr.open_dataset(io.BytesIO(resp.read()))
ds
<xarray.Dataset> Size: 3MB Dimensions: (longitude: 480, latitude: 241, time: 1) Coordinates: * longitude (longitude) float32 2kB -179.6 -178.9 -178.1 ... 178.9 179.6 * latitude (latitude) float32 964B 90.0 89.25 88.5 ... -88.5 -89.25 -90.0 * time (time) datetime64[ns] 8B 1979-01-01 Data variables: lsm (time, latitude, longitude) float64 925kB ... wmb (time, latitude, longitude) float64 925kB ... z (time, latitude, longitude) float64 925kB ... Attributes: Conventions: CF-1.6 history: 2019-11-18 09:24:36 GMT by grib_to_netcdf-2.14.0: /opt/ecmw...