PaulMelloy / epiphytoolR

R Package that contains functions which can be used in modelling epiphytotic risk
https://paulmelloy.github.io/epiphytoolR/
Other
2 stars 3 forks source link

calc_estimated_weather only returning one station #12

Closed PaulMelloy closed 1 year ago

PaulMelloy commented 1 year ago

calc_estimated_weather() is only returning one station when more than one is requested

w_dat <- fread("cache/BOM_weather_station_coefs.csv")
w_dat <- calc_estimated_weather(w = w_dat,
                                lat = -33.8763,
                                lon = 136,
                                n_stations = 150)
PaulMelloy commented 1 year ago

did not read my own documentation. It should have been a vector. I have updated the function now to allow a single integer specifying the number of stations