runOSCURS | R Documentation |
Function to make a series of OSCURS runs and download the results to a set of files.
runOSCURS(
fnBase = "OSCURS_",
path = ".",
nDays = 90,
stYrs = 2017,
stMDs = list(APR = 15, MAY = c(1, 15), JUN = 1),
stLLs = NULL,
link = "https://oceanview.pfeg.noaa.gov/oscurs/runOscurs9.php?",
wcsc = 1,
wad = 0,
gsf = 1,
randNum = round(stats::runif(1, 1, 1e+05)),
test = TRUE,
verbose = FALSE
)
fnBase |
|
path |
|
nDays |
|
stYrs |
|
stMDs |
|
stLLs |
|
link |
|
wcsc |
|
wad |
|
gsf |
|
randNum |
|
test |
|
verbose |
|
Runs the OSCURS model at the link given. An output file is created for each particle release of the form fnBase_year_month_day_latdegree_latminute_londegree_lonminute.csv, where lat and lon is the initial particle location.
The input parameter stLLs
should be a dataframe or tibble. The following columns are required:
LATITUDE - latitude in decimal degrees (-90 to 90)
LONGITUDE - longitude in decimal degrees (-180 to 180)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.