Tutorial 5: Dealing with pyWaPOR outputs
Completion requirements
After successfully running pyWaPOR, you will get the result in netCDF file format. You can extract the information you may like to include in a report or a presentation by processing the netCDF outputs. In this tutorial, we will use two python scripts to postprocess the results of the pyWaPOR and to export the data into TIFF files.
Access the data here
1. Notebook 1 Extracting information from NetCDF pyWaPOR output
In the first notebook, we will use xarray, rioxarray and geopandas python packages to extract the information you may like to include in a report or present the results for non-experts in the format they can easily understand such as maps, tables, etc. You can, for example, do the following:
-
- clip the dataset using a shapefile of your area of interest
- calculate timeseries of the variables for your area of interest
- calculate statistics of the dataset and many more