Accessing,Downloading,andViewingCMIP5DataDanielWalton,JoyceMeyerson,&J.DavidNeelin(Nov.2013)1.GettinganESGFAccount2.DownloadingtheCMIP5Data3.VisualizingNetCDFfiles1. Ge@ng an ESGF Account • Works best with Google Chrome or Mozilla FireFox • Don’t use Safari or Internet Explorer • Click Create Account pcmdi9.llnl.gov/esgf‐web‐fe/ 1. Ge@ng an ESGF Account • Fill out User RegistraVon 2. Login, Search, Download • Locate your OpenID idenVfier in the confirmaVon email. • e.g. hYps://pcmdi9.llnl.gov/esgf‐idp/openid/wal*** • Use this to login to ESGF 2. Login, Search, Download • Enter password 2. Login, Search, Download • Click search 2. Login, Search, Download • Select Project: CMIP5 2. Login, Search, Download • Select Experiment Family • Select Experiment RCP (future) ‐RCP8.5 ‐RCP6.0 ‐RCP4.5 ‐RCP2.6 Historical 2. Login, Search, Download • Select Model 2. Login, Search, Download • Select Time Frequency 2. Login, Search, Download • Select Variable 2. Login, Search, Download 2D Variable Short Names 2. Login, Search, Download 3D Variable Short Names 2. Login, Search, Download • Click Add To Cart • Then select Data Cart 2. Login, Search, Download • Click Show Files 2. Login, Search, Download • Search for the variable short name that you are looking for. – e.g. “tas” • Select Filter over text • Select HTTP to download directly. tas = Surface Air Temperature 2. Login, Search, Download • AlternaVvely, you can edit WGET scripts to automate the download process. • This is useful if you want to download the data to a remote locaVon. 2. Login, Search, Download • Also, you can use Globus Online to automate the download process. • Globus Online is the best opVon for massive data transfers. • It automaVcally restarts downloads if there is a problem with the connecVon. 2. Login, Search, Download • Need to download and run MyProxyLogin • Establishes proxy access to ESGF. 2. Login, Search, Download *** • Need to download and run MyProxyLogin • Establishes proxy access to ESGF. 2. Login, Search, Download • Edit wget script to specify only the variables you want. • Run script with bash. 3. Visualizing GCM output • NetCDF files contain dimensions and variables • Use command ncdump –h filename display the metadata Don’t forget the “‐h” 3. Visualizing GCM output • ncview filename allows you to plot the variables forward in Cme forward in Vme (animaVon) animaCon speed magnificaCon Click a point to plot Cme series 3. Visualizing GCM output How to get ncdump, ncview: 1. Unidata soLware page hYp:// 2. MacPorts (if you have a mac) First, get MacPorts: hYp:// Second, use MacPorts to get ncview: colby:DownloadsDaniel$colby:DownloadsDaniel$colby:DownloadsDaniel$portlist|grepncviewncview@2.1.1science/ncviewcolby:DownloadsDaniel$colby:DownloadsDaniel$colby:DownloadsDaniel$sudoportncview3. Visualizing GCM output How to view netcdf files in MATLAB: 1. Use built‐in netcdf commands (need newer version) hYp:// ncreadnccreatencwrite2. NCtoolbox hYp://github.com/nctoolbox/nctoolbox nc = ncdataset(‘example_file.nc’) ncdata nc.axes nc.aYributes