<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#333333" bgcolor="#FFFFFF">
<p>I would assume `raster::getData("worldclim", ...)` uses WorldClim
version 2?</p>
<p>--Mel.<br>
</p>
<br>
<div class="moz-cite-prefix">On 09/25/2017 05:14 PM, Andy Bunn
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:D5EEBF24.71642%25andy.bunn@wwu.edu">
<pre wrap="">Great. Thanks Marcelino. I have all the data dowloaded. I'm surprised that
there isn't a dedicated package for worldclim yet ‹ making one that ties
in with packages like BIEN would be great. Perhaps I'll work on it someday.
-A
On 9/25/17, 11:32 AM, "Marcelino de la Cruz Rot"
<a class="moz-txt-link-rfc2396E" href="mailto:marcelino.delacruz@urjc.es"><marcelino.delacruz@urjc.es></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hello Andy,
I've been using raster to play with WordlClim 2.0 and it works fine. For
example:
# Download 2.5' arc P data of worldclim 2.0
# The file is 68.5 MB so it takes some time to download
P_url<-
<a class="moz-txt-link-rfc2396E" href="http://biogeo.ucdavis.edu/data/worldclim/v2.0/tif/base/wc2.0_2.5m_prec.zip">"http://biogeo.ucdavis.edu/data/worldclim/v2.0/tif/base/wc2.0_2.5m_prec.zi
p"</a>
download.file(P_url, destfile="wc2.0_2.5m_prec.zip")
unzip("wc2.0_2.5m_prec.zip")
# Generate a stack object with all monthly precipitation layers
P_filenames<- paste("wc2.0_2.5m_prec_", c(paste(0,1:9, sep=""), 11,12),
".tif",sep="")
prec2.5<- stack(P_filenames)
# Compute annual precipitation as a raster layer
P2.5<- sum(prec2.5)
# etc.
Cheers,
Marcelino
El 25/09/2017 a las 19:42, Andy Bunn escribió:
</pre>
<blockquote type="cite">
<pre wrap="">Hello all, is anybody aware of a R package that gracefully works with
version 2 of the WorldClim data?
<a class="moz-txt-link-freetext" href="http://worldclim.org/version2">http://worldclim.org/version2</a>
I have all the data extracted locally but I'm wondering if there is
something akin to getData in raster that will work with version 2 and
not
1.4 as (the brilliant) raster package currently does.
Many thanks, Andy
_______________________________________________
R-sig-Geo mailing list
<a class="moz-txt-link-abbreviated" href="mailto:R-sig-Geo@r-project.org">R-sig-Geo@r-project.org</a>
<a class="moz-txt-link-freetext" href="https://stat.ethz.ch/mailman/listinfo/r-sig-geo">https://stat.ethz.ch/mailman/listinfo/r-sig-geo</a>
.
</pre>
</blockquote>
<pre wrap="">
--
Marcelino de la Cruz Rot
Depto. de Biología y Geología
Física y Química Inorgánica
Universidad Rey Juan Carlos
Móstoles España
</pre>
</blockquote>
<pre wrap="">
_______________________________________________
R-sig-Geo mailing list
<a class="moz-txt-link-abbreviated" href="mailto:R-sig-Geo@r-project.org">R-sig-Geo@r-project.org</a>
<a class="moz-txt-link-freetext" href="https://stat.ethz.ch/mailman/listinfo/r-sig-geo">https://stat.ethz.ch/mailman/listinfo/r-sig-geo</a>
</pre>
</blockquote>
<br>
</body>
</html>