forked from rich-iannone/splitr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathget_met_edas40.Rd
44 lines (40 loc) · 1.22 KB
/
get_met_edas40.Rd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/get_met_edas40.R
\name{get_met_edas40}
\alias{get_met_edas40}
\title{Get EDAS40 meteorology data files}
\usage{
get_met_edas40(files = NULL, years = NULL, months = NULL,
path_met_files)
}
\arguments{
\item{files}{a vector list of exact filenames for the EDAS40 files.}
\item{years}{a vector list of years for which EDAS40 files are to be obtained
via FTP.}
\item{months}{a vector list of months for which EDAS40 files are to be
obtained via FTP.}
\item{path_met_files}{a full path for the download location of the
meteorological data files.}
}
\description{
This function downloads EDAS40 meteorology data files from the NOAA FTP
server and saves them to the working directory. Files can be downloaded
either by specifying a list of filenames (in the form of
\code{RP[YYYY][MM].gbl}) or through bulk download of months or years of
files.
}
\examples{
\dontrun{
# Download a year of EDAS40 data files to the
# working directory
get_met_edas40(
years = 2012,
path_met_files = getwd())
# Download EDAS40 data files for March, April,
# and May of 2015 to the working directory
get_met_edas40(
years = 2015,
months = c(3, 4, 5),
path_met_files = getwd())
}
}