View source: R/Extractor functions.R
get_rivers | R Documentation |
This function reads river NEMO-MEDUSA river runoff files and reshapes for StrathE2E.
get_rivers(File, Year, domain)
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. |
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.
A dataframe containing the total river runoff into the model domain by month with a year column.
Other NEMO-MEDUSA variable extractors:
get_air_dt()
,
get_air()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.