[Rnomads-user] unable to use GetDODSDates
Daniel Bowman
danny.c.bowman at gmail.com
Sat Jan 28 05:43:34 CET 2017
Hi Pradeep,
First, I apologize for taking so long to get back to you. DODS uses
port 9090. This port is often blocked, particularly if you're trying
to access DODS from a corporate network.
Please check if you have access to port 9090, and do let me know if
that fixes the problem.
Best,
Danny
On Tue, Jan 24, 2017 at 9:39 AM, pradeep nallabelli
<pradeep.nallabelli at gmail.com> wrote:
> am using the following code and unable to open connection.
> can you please let me know what can i do to fix this
>
>> library(rNOMADS)
> Loading required package: rvest
> Loading required package: xml2
>
> ****
> Welcome to rNOMADS!
> Questions? Send a message to rnomads-user at lists.r-forge.r-project.org
> Using rNOMADS as a data source for a publication? Please cite it!
> I'm an early career researcher and every citation matters.
> ****
>
>> library(GEOmap)
>>
>> abbrev <- "gfs_0p25"
>> #Get dates of model output
>> model.urls <- GetDODSDates(abbrev,archive=FALSE, request.sleep=20)
> Error in open.connection(x, "rb") : Timeout was reached
>> > sessionInfo()
> R version 3.3.2 (2016-10-31)
> Platform: x86_64-w64-mingw32/x64 (64-bit)
> Running under: Windows 7 x64 (build 7601) Service Pack 1
>
> locale:
> [1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United
> States.1252
> [3] LC_MONETARY=English_United States.1252 LC_NUMERIC=C
> [5] LC_TIME=English_United States.1252
>
> attached base packages:
> [1] stats graphics grDevices utils datasets methods base
>
> other attached packages:
> [1] GEOmap_2.3-8 rNOMADS_2.3.2 rvest_0.3.2 xml2_1.1.0
>
> loaded via a namespace (and not attached):
> [1] Rcpp_0.12.9 magrittr_1.5 maps_3.1.1 munsell_0.4.3
> colorspace_1.3-2
> [6] geosphere_1.5-5 lattice_0.20-34 R6_2.2.0 rjson_0.2.15
> jpeg_0.1-8
> [11] httr_1.2.1 stringr_1.1.0 plyr_1.8.4 fields_8.10
> tools_3.3.2
> [16] grid_3.3.2 spam_1.4-0 gtable_0.2.0 RPMG_2.2-1
> png_0.1-7
> [21] lazyeval_0.2.0 assertthat_0.1 tibble_1.2 ggmap_2.6.1
> mapproj_1.2-4
> [26] reshape2_1.4.2 ggplot2_2.2.1 splancs_2.01-39 curl_2.3
> sp_1.2-4
> [31] MBA_0.0-8 stringi_1.1.2 RgoogleMaps_1.4.1 scales_0.4.1
> proto_1.0.0
>>
>
> Thanks ,
> Pradeep
>
> _______________________________________________
> Rnomads-user mailing list
> Rnomads-user at lists.r-forge.r-project.org
> http://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rnomads-user
>
More information about the Rnomads-user
mailing list