hourlyncep_convert: Reformats a data frame returned by 'microclima::hourlyNCEP()'

View source: R/misc.R

hourlyncep_convertR Documentation

Reformats a data frame returned by microclima::hourlyNCEP()

Description

Reformats a data frame returned by microclima::hourlyNCEP()

Usage

hourlyncep_convert(climdata, lat, long)

Arguments

climdata

data.frame as returned by microclima::hourlyNCEP()

lat

(declimal degrees)

long

(decimal degrees)

Details

The hourlyncep_convert function reformats the data.frame returned by microclima::hourlyNCEP() for use with microclimc

The function microclima::hourlyNCEP() downloads the required climate and radiation forcing data needed to run microclimate models from the NOAA-NCEP reanalysis project and interpolates 4x daily data to hourly. Thius function reformats those data, converting humdity and radiation values for use with the microclimc package.

Value

a data.frame of hourly weather variables (see e.g. weather).


ilyamaclean/microctools documentation built on Jan. 25, 2023, 5:29 a.m.