Description Usage Arguments Value Examples
The catchment averages are extracted from the SeNorge data. This dataset is available upon request. Need to run the function'grid_cell_list' in order to extract the catchment id of each grid cell. All results are written to files, one set of file for daily averages and one for long term mothly averages
1 2 3 4 5 | get_metdataforfloods(gridid = "inst/Example_data/GISData/CID.txt",
first_day = as.Date("1961/1/1"), last_day = as.Date("1990/12/31"),
station_file = "inst/Flooddata/Table_stations_periods.csv",
metfolder = "U:/metdata/", snowfolder = "U:/snowsim/",
hbvfolder = "Z:/gwbsim/", outfolder = "inst/Excample_data/Flooddata/")
|
gridid |
File with gridIDs of SeNorge grids for each catchment. Created by the function 'gridcell_list' |
first_day |
The first day of the time sequence |
last_day |
The last day of the time sequence |
station_file |
List of stations if only a subset from the gridid-list is needed |
metfolder |
folder where SeNorge Met-grids are stored |
snowfolder |
folder where the SeNorge snow grids are stored |
hbvfolder |
folder where the SeNorge water balance modellin grids are stored |
outfolder |
folder for witing the results |
snr_translation |
Translation to GIS-station numbers if necesessary |
list with tables of daily and average monthly values
1 2 3 | get_metdataforfloods(gridid='inst/Example_data/GISData/CID.txt',first_day=as.Date("1961/1/1"),last_day=as.Date("1961/12/31"),
station_file="inst/Excample_data/Flooddata/Table_stations_periods.csv",
metfolder="U:/metdata/",snowfolder="U:/snowsim/",hbvfolder="Z:/gwbsim/",outfolder="inst/Excample_data/Flooddata/")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.