matchGFS {PAMscapes}R Documentation

Match GFS Environmental Data

Description

Downloads and matches wind and precipitation data from the Global Forecast System (GFS) weather model. Data is downloaded from the National Center for Atmospheric Research data server https://rda.ucar.edu/datasets/ds084.1/

Usage

matchGFS(x)

Arguments

x

a dataframe with columns UTC, Latitude and Longitude to add environmental data to

Value

a dataframe with wind and precipitation rate columns added

Author(s)

Taiki Sakai taiki.sakai@noaa.gov

Examples

gps <- data.frame(Latitude=c(33.2, 33.5,33.6),
                  Longitude=c(-118.1, -118.4, -119),
                  UTC=as.POSIXct(
                    c('2022-04-28 05:00:00',
                      '2022-04-28 10:00:00',
                      '2022-04-28 20:00:00'), tz='UTC'))
gps <- matchGFS(gps)


[Package PAMscapes version 0.5.3 Index]