This repository contains examples and documentation for some common workflows used by Catchment Processes (Section 317).
To run the example notebooks, login to NIVA's JupyterHub and clone this repository. All packages and datasets should be pre-installed. Please contact James Sample if you have any problems.
Note: To avoid duplication, some of the example notebooks linked below (e.g. the one for HydAPI) are hosted in a different repository (the dstoolkit_cookbook). You may need to clone that too.
Please use the issue tracker to report problems or request new features. Pull requests are also welcome!
Delineate watersheds for outflow points in Norway based on Kartverket's national 10 m resolution DTM. Reduced resolution versions (20 m and 40 m) are also available for faster processing and will be suitable for many applications.
To get started, see the example here.
For reference, notebooks describing development of the workflow are here:
Calculate land cover proportions for polygons in Norway based on either AR50 or Corine land cover data (Corine is are available for 2000, 2006, 2012 and 2018).
To get started, see the example here.
The Grid Time Series API provides the most up-to-date gridded weather and hydrology data available for Norway. It's part of seNorge 2018 and offers daily data from 1957 to present with 1 km x 1 km spatial resolution. The GTS API includes a wide range of weather and hydrology variables and it's probably the best gridded historic data currently available if your region of interest is entirely within Norway.
To get started, see the example here.
Gridded precipitation and temperature (min, mean and max) data for Norway, Sweden and Finland are available from Met.no's Thredds server. The data have a daily time step (1971 to present) and a spatial resolution of 1 km x 1 km. Two variants are available: Type1
(based on a residual kriging) and Type2
(based on Bayesian spatial interpolation), which are part of seNorge v1 and seNorge v2, respectively. This means they are slightly older than the datasets availble via the GTS API (above), which is part of seNorge 2018 (see here for more information).
Note that querying data via Thredds can be slow due to bandwidth limitations imposed by Met.no. Expect queries to take several hours. For this reason, it is recommended to use the GTS API if possible: it is faster, newer, and includes more variables. The main advantage of NGCD is that it provides consistent data for Norway, Sweden and Finland.
To get started, see the example here.
ERA5-Land is a global reanalysis dataset providing a consistent view of the evolution of land variables over several decades at an enhanced resolution compared to ERA5. The dataset has a resolution of 0.1 by 0.1 degrees and is available from the Copernicus Climate Data Store (CDS) as either hourly data or aggregated using monthly averages. See the links for further details.
An example notebook showing how to download and process ERA5-Land data is here.
Met.no's Frost API provides access to observed data recorded by weather stations in Norway (e.g. daily, monthly and annual measurements of temperature, precipitation and wind speed).
To do.
NVE's Hydrological API provides access to historical and real-time hydrological time series.
See the example notebook here for an introduction.