get_rivers: Get Rivers

View source: R/Extractor functions.R

get_riversR Documentation

Get Rivers

Description

This function reads river NEMO-MEDUSA river runoff files and reshapes for StrathE2E.

Usage

get_rivers(File, Year, domain)

Arguments

File

The name (with path) of a netcdf file containing river runoff data.

Year

The year the file contains data for.

domain

The polygon used to capture point estimates relevant to the model domain.

Details

The river runoff file for a single year is imported. Points are checked to see if they fall in the model domain. The points which do are summed by months.

NOTE! The river run off files provided to MiMeMo have estimates in open ocean. Runoff is channeled to cells in the vicinity of river mouths so that single grid cells don't get the full amount. Of course river run off really comes from the coast, so you may need to modify your domain polygon.

Value

A dataframe containing the total river runoff into the model domain by month with a year column.

See Also

Other NEMO-MEDUSA variable extractors: get_air_dt(), get_air()


Jack-H-Laverick/MiMeMo.tools documentation built on March 6, 2023, 3:44 p.m.