Skip to content

Commit

Permalink
version 2.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
dannycbowman authored and cran-robot committed Jan 3, 2015
1 parent ffaec6a commit a7f14ce
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 13 deletions.
12 changes: 6 additions & 6 deletions DESCRIPTION
Expand Up @@ -2,13 +2,13 @@ Package: rNOMADS
Type: Package
Title: An Interface to the NOAA Operational Model Archive and
Distribution System
Version: 2.1.0
Date: 2015-01-01
Version: 2.1.1
Date: 2015-01-02
Authors@R: c(person(given="Daniel C.",family="Bowman", role=c("aut", "cre"),
email="daniel.bowman@unc.edu"))
Depends: R (>= 3.1.1), XML (>= 3.98.1.1), rvest (>= 0.1.0)
Depends: R (>= 3.1.1), rvest (>= 0.1.0)
Imports: scrapeR (>= 0.1.6), stringr (>= 0.6.2), fields (>= 6.7.6),
GEOmap (>= 2.1), MBA, RCurl (>= 1.95-4.1)
GEOmap (>= 2.1), MBA, RCurl (>= 1.95-4.1), XML (>= 3.98.1.1)
Description: An interface to the National Oceanic and Atmospheric Administration's Operational Model Archive and Distribution System (NOMADS) that allows R users to quickly and efficiently download global and regional weather model data for processing. rNOMADS currently supports a variety of models ranging from global weather data to an altitude of 40 km, to high resolution regional weather models, to wave and sea ice models. It can also retrieve archived NOMADS models. rNOMADS can retrieve binary data in grib format as well as import ascii data directly into R by interfacing with the GrADS-DODS system.
License: GPL (>= 3)
URL: https://r-forge.r-project.org/projects/rnomads/ (subversion
Expand All @@ -17,10 +17,10 @@ URL: https://r-forge.r-project.org/projects/rnomads/ (subversion
(GrADS-DODS examples)
http://www.unc.edu/~haksaeng/rNOMADS/rNOMADS_grib_examples.pdf
(grib examples)
Packaged: 2015-01-01 18:30:03 UTC; dantayaga
Packaged: 2015-01-02 22:56:10 UTC; dantayaga
Maintainer: Daniel C. Bowman <daniel.bowman@unc.edu>
MailingList: rnomads-user@lists.r-forge.r-project.org
Author: Daniel C. Bowman [aut, cre]
NeedsCompilation: no
Repository: CRAN
Date/Publication: 2015-01-01 19:50:38
Date/Publication: 2015-01-03 07:03:10
8 changes: 4 additions & 4 deletions MD5
@@ -1,8 +1,8 @@
b46a5029e81eee324861a02938814746 *DESCRIPTION
506c8824b59e5ae2f94769222626d5bb *NAMESPACE
e9a187a5ba2b8eea6eac9a6830fedb62 *NEWS
015847e021671a90f5a15efa032022b4 *DESCRIPTION
cac30678871f258448faf23d8167d362 *NAMESPACE
8f30e091fb38680ee7ea69d5dd329af7 *NEWS
3ddc31c9de1a822a5de8a24352acbae1 *R/GetArchiveGrib.R
8020a4b69d6501b25feac2416f654dc4 *R/GetDODS.R
ef898f48fc45a8ba156b18f2a476a45f *R/GetDODS.R
cfb79120a31c49156f63e668f7c80428 *R/GetRealTimeGrib.R
c248763b06b3e13c46565811b4e7b2dd *R/Models.R
b6964c6927a28e96302311336685d4d0 *R/RNomadsTools.R
Expand Down
3 changes: 2 additions & 1 deletion NAMESPACE
@@ -1,2 +1,3 @@
exportPattern("^[[:alpha:]]+")
import(XML, rvest)
import(rvest)
importFrom(XML, xpathApply)
3 changes: 3 additions & 0 deletions NEWS
Expand Up @@ -54,3 +54,6 @@ Fixed an insidious bug in BuildProfile that constructed profiles located over pl
Changed NOMADSRealTimeList() so that it scans the NOMADS Real Time model repository web site instead of depending on a hard-coded model list.
This means the rNOMADS real time model list will always be up to date.
I have not yet made the change for NOMADSArchiveList(); that will come in a future version.

2.1.1
Fixed an issue where the previous release broke North American Mesoscale model retrieval using DODS. Also fixed warnings during CRAN checks because of rvest/XML collisions.
4 changes: 2 additions & 2 deletions R/GetDODS.R
Expand Up @@ -16,7 +16,7 @@ GetDODSDates <- function(abbrev, archive = FALSE, request.sleep = 1) {
date.pattern <- "[1-2]\\d{3}[0-1]\\d{1}[0-3]\\d{1}$"

if(!archive) {
top.url <- NOMADSRealTimeList("dods", abbrev)$url
top.url <- unique(NOMADSRealTimeList("dods", abbrev)$url)
} else {
if(grepl("anl$", abbrev)) {
stop(paste("Archived analysis models are not stored by date.",
Expand All @@ -25,7 +25,7 @@ GetDODSDates <- function(abbrev, archive = FALSE, request.sleep = 1) {
"and the second is the model run from GetDODSModelRuns.")
)
} else {
top.url <- NOMADSArchiveList("dods",abbrev)$url
top.url <- unique(NOMADSArchiveList("dods",abbrev)$url)
if(top.url == "NONE") {
stop("The archived model you requested is not available on the NCEP DODS system.")
}
Expand Down

0 comments on commit a7f14ce

Please sign in to comment.