Learn R Programming

SplitR (version 0.3)

get_met_gdas0p5: Get GDAS0.5 meteorology data files

Description

This function downloads GDAS0.5 meteorology data files from the NOAA FTP server and saves them to a specified folder. Files can be downloaded either by specifying a list of filenames (in the form of "RP[YYYY][MM].gbl") or through bulk download of a year of files.

Usage

get_met_gdas0p5(files = NULL, years = NULL, months = NULL, days = NULL,
  path_met_files)

Arguments

files

a vector list of exact filenames for the GDAS0.5 files.

years

a vector list of years for which GDAS0.5 files are to be obtained via FTP.

months

a vector list of months for which GDAS0.5 files are to be obtained via FTP.

days

a vector list of days for which GDAS0.5 files are to be obtained via FTP.

path_met_files

a full path should be provided for the location of the meteorological data files; downloaded files will be saved in this location.