Back to Browse

How to access and plot the NOAA surface temperature anomaly data in Python

1.3K views
Apr 17, 2024
15:16

Tutorial on how to access and plot the NOAA surface temperature anomaly data in Python. I would like to thank the authors of the data for making them openly available and FAIR. If you want to use the data publicly, you should also give credit to the authors of the dataset by including the following recommended citation (change the access data at the end): H.-M. Zhang, B. Huang, J. H. Lawrimore, M. J. Menne, and T. M. Smith (2019): NOAA Global Surface Temperature Dataset (NOAAGlobalTemp), Version 5.0. NOAA National Centers for Environmental Information. doi:10.25921/9qth-2p70 [2024-04-13]. 00:00 Accessing the data 02:13 Understanding the NetCDF file 04:50 Accessing the data 05:15 Data to CSV 06:02 Selecting one time slice 07:43 A quick, basic plot 08:28 A nicer plot Code here: https://nordatanet.github.io/Exploring_FAIR_data_with_Python/global_surface_temperature_anomalies.html ## Version 6 has since been released! Landing page for the data: https://www.ncei.noaa.gov/metadata/geoportal/rest/metadata/item/gov.noaa.ncdc:C01704/html Find the latest OPeNDAP link to the data here: https://www.ncei.noaa.gov/thredds/catalog/noaa-global-temp-v6/latest.html Matplotlib colour palettes: https://matplotlib.org/stable/users/explain/colors/colormaps.html Cartopy projections: https://scitools.org.uk/cartopy/docs/v0.15/crs/projections.html My playlist on working with NetCDF files in Python: https://www.youtube.com/playlist?list=PLpykv05eUR0rAuaLnybkZORnCwyND4CV4

Download

1 formats

Video Formats

360pmp425.2 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.