api_rain_raster: Interpolate rain data

Description Usage Arguments Value

View source: R/api_rain_raster.R

Description

This function interpolates rain data using idw (inverse distance weighted) interpolation

Usage

1
api_rain_raster(catch, gauges_catch, api, distGauges = 30, ID = 25283)

Arguments

catch

catch output of contributing_basins_res or contributing_basins_shape

gauges_catch

output of rain_gauges_catch

api

output of request_api_gauges

Value

a list with idwRaster: the interpolated rainfall raster files for each requested day and dailyRain_table: a dataframe with the mean precipitation of the catchment and the reservoir of each requested day.


SophiaDobko/assimReservoirs documentation built on June 4, 2020, 3:58 p.m.