Description Usage Arguments Details Value Author(s) See Also
Reshapes weather station data acquired using the 'worldmet' or 'weathercan' R packages into formats useful for meteoland
1 2 3 4  | reshapeworldmet(hourly_data, output = "SpatialPointsMeteorology", complete = TRUE,
                verbose = TRUE)
reshapeweathercan(hourly_data, daily_data = NULL, output = "SpatialPointsMeteorology",
                  complete = TRUE, verbose = TRUE)
 | 
hourly_data | 
 Hourly weather data. In the case of   | 
daily_data | 
 Daily weather data (only for   | 
output | 
 Kind of output desired. Either '  | 
complete | 
  A flag to indicate that missing variables should be completed using function   | 
verbose | 
 A flag to show information of the reshape process in the console output.  | 
Note that to have precipitation included in downloads from 'worldmet' you should set 'precip = TRUE' when calling function 'importNOAA'. In the case of weathercan, precipitation is only provided for daily data (i.e. setting 'interval="day"' when calling 'weather_dl'), whereas wind speed and relative humidity are only availave for hourly data (i.e., setting 'interval="hour"' when calling 'weather_dl'). Hence, in meteoland we recommend downloading both daily and hourly data and then calling function reshapeweathercan to merge the two sources.
An object of the class indicated in output.
Miquel De Cáceres Ainsa, CTFC
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.