A quick/dirty tech blog today, getting to know some of Matplotlib’s extra features for generating some attractive plots!
Using yearly ERA5 temperature data from 1979 to present obtained from the Copernicus Climate Data Store, the data was masked by country using shapefiles from Natural Earth and then an average was taken for the area (see previous blogs on area averaging for information on how to do this).
Continue reading “Using ERA5 data to plot temperature in West Africa”
For any data produced with the intention of being downloaded and used by other users, it important to include information on the dataset. For example, details on the data origins should be provided, such as who produced the dataset, who can be contacted about the data and when/where it was produced. In addition, properties on the dataset itself, such as variable names and units of measurement all help the end user in comprehending the data.
Continue reading “Metadata Generation for CSV Files”
In order to build and maintain a robust operational system, which relies on many datasets, file naming becomes an important factor in identifying and describing the data contained within.
Continue reading “Filename Verification with Python and JSON”
This post serves as a continuation on the techniques described in my last blog post. So please familiarise with those steps beforehand.
As before, load in the NUTS shapefiles, this time selecting NUTS2.
NUTS2 is higher resolution and as a result, there are many more shapefiles. NUTS2 contains polygons at a regional (sub-country) level. In total there are 332 shapes for the Eurostat EU region.
Continue reading “Calculating NUTS2 Regional Averages with Land Sea Mask”
This example will look at how to mask ERA5 data from the European region, downloaded from ECMWF Climate Data Store (CDS). The procedure heavily relies on functions provided by the scitools Iris package, although similar results could be obtained using a combination of packages like xarray and regionmask.
Continue reading “Calculating EU Country Averages with ERA5 and NUTS”
This example will examine how to plot time series wind measurements stored as NetCDF datasets, using Python3 (for info on installing Python3 and packages, see our previous blog).
Continue reading “Plotting NetCDF with Python”
In this series of technical blog posts, I will be looking at using open source tools to examine energy and climate data.
Continue reading “Installing Python3 and Packages (OSX/Unix)”
I am currently working for a non profit organisation, working on enhancing the interaction between the energy industry and the weather, climate and broader environmental sciences community.
Not coming from a climate science background, I had to become quickly accustomed to the terminology and technologies associated with this field of research. A commonly used file types produced to represent weather and climate data, are Network Common Data Files (aka NetCDF files).
Continue reading “Examining NetCDF Files in R”
Just completed the advanced Google analytics training at Google Academy!