<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Same behavior on a Linux server with R 3.3.0 and rgdal 1.1-8.
Session details below. The reprojected raster is missing it's
western half.</p>
<p><img src="cid:part1.CD4AB2C5.68FEBE1D@mbacou.com" alt=""></p>
<p>```</p>
<p>R version 3.3.0 (2016-05-03)<br>
Platform: x86_64-redhat-linux-gnu (64-bit)<br>
Running under: CentOS release 6.8 (Final)<br>
<br>
locale:<br>
[1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C
LC_TIME=en_US.UTF-8 <br>
[4] LC_COLLATE=en_US.UTF-8 LC_MONETARY=en_US.UTF-8
LC_MESSAGES=en_US.UTF-8 <br>
[7] LC_PAPER=en_US.UTF-8 LC_NAME=C
LC_ADDRESS=C <br>
[10] LC_TELEPHONE=C LC_MEASUREMENT=en_US.UTF-8
LC_IDENTIFICATION=C <br>
<br>
attached base packages:<br>
[1] stats graphics grDevices utils datasets methods
base <br>
<br>
other attached packages:<br>
[1] rgdal_1.1-8 raster_2.5-2 sp_1.2-3 <br>
<br>
loaded via a namespace (and not attached):<br>
[1] tools_3.3.0 curl_0.9.7 Rcpp_0.12.4
grid_3.3.0 lattice_0.20-33<br>
</p>
<p>```<br>
</p>
<br>
<div class="moz-cite-prefix">On 7/5/2016 8:51 PM, Bacou, Melanie
wrote:<br>
</div>
<blockquote
cite="mid:3b868202-50f6-bd1c-c5ec-fd1030bb0cb0@mbacou.com"
type="cite">Here is my own sessionInfo (I do have problems using
`projectRaster()` across the antemeridian even with R 3.2.1 and
rgdal 1.1-10, but `gdalwarp` works for me).
<br>
<br>
```
<br>
<br>
R version 3.2.1 (2015-06-18)
<br>
Platform: x86_64-w64-mingw32/x64 (64-bit)
<br>
Running under: Windows 7 x64 (build 7601) Service Pack 1
<br>
<br>
locale:
<br>
[1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United
States.1252
<br>
[3] LC_MONETARY=English_United States.1252 LC_NUMERIC=C
<br>
[5] LC_TIME=English_United States.1252
<br>
<br>
attached base packages:
<br>
[1] stats graphics grDevices utils datasets methods base
<br>
<br>
other attached packages:
<br>
[1] rgdal_1.1-10 raster_2.5-8 sp_1.2-3 rj_2.0.5-2
<br>
<br>
loaded via a namespace (and not attached):
<br>
[1] rj.gd_2.0.0-1 Rcpp_0.12.5 grid_3.2.1 lattice_0.20-33
<br>
<br>
```
<br>
<br>
<br>
On 7/5/2016 2:25 PM, Roger Bivand wrote:
<br>
<blockquote type="cite">On Tue, 5 Jul 2016, Fischbach, Anthony
wrote:
<br>
<br>
<blockquote type="cite">By stepping back to the previous r
version (3.2.5) on my workstation
<br>
(sessionInfo and rgdal library call printed below),
<br>
I am able to obtain the results indicated by Benoit.
<br>
</blockquote>
<br>
Could you please repeat the sessionInfo and rgdal startup
messages for the failing R 3.3.1 run? Do you know whether the
issue arose between R 3.2.5 and R 3.3.0, or R 3.3.0 and R 3.3.1
(for the same version of rgdal)? The C and C++ compilers used
< 3.3.0 and >= 3.3.0 changed, so there is a difference in
the way that the binaries were built on Windows. I don't have
easy access to Windows, but could check further if you could
provide this information.
<br>
<br>
Roger
<br>
<br>
<blockquote type="cite">
<br>
Somewhere in this new r version and rasterProject function, we
are getting
<br>
a problem.
<br>
<br>
-Tony
<br>
---
<br>
sessionInfo()
<br>
R version 3.2.5 (2016-04-14)
<br>
Platform: x86_64-w64-mingw32/x64 (64-bit)
<br>
Running under: Windows 7 x64 (build 7601) Service Pack 1
<br>
<br>
locale:
<br>
[1] LC_COLLATE=English_United States.1252
LC_CTYPE=English_United
<br>
States.1252
<br>
[3] LC_MONETARY=English_United States.1252 LC_NUMERIC=C
<br>
<br>
[5] LC_TIME=English_United States.1252
<br>
<br>
attached base packages:
<br>
[1] stats graphics grDevices utils datasets methods
base
<br>
<br>
other attached packages:
<br>
[1] raster_2.5-2 sp_1.2-3
<br>
<br>
loaded via a namespace (and not attached):
<br>
[1] rgdal_1.1-10 Rcpp_0.12.5 grid_3.2.5 lattice_0.20-33
<br>
<blockquote type="cite">require(rgdal)
<br>
</blockquote>
Loading required package: rgdal
<br>
rgdal: version: 1.1-10, (SVN revision 622)
<br>
Geospatial Data Abstraction Library extensions to R
successfully loaded
<br>
Loaded GDAL runtime: GDAL 2.0.1, released 2015/09/15
<br>
Path to GDAL shared files: C:/Program
Files/R/R-3.2.5/library/rgdal/gdal
<br>
GDAL does not use iconv for recoding strings.
<br>
Loaded PROJ.4 runtime: Rel. 4.9.1, 04 March 2015, [PJ_VERSION:
491]
<br>
Path to PROJ.4 shared files: C:/Program
Files/R/R-3.2.5/library/rgdal/proj
<br>
Linking to sp version: 1.2-3
<br>
<blockquote type="cite">
<br>
</blockquote>
--- END ---
<br>
<br>
[[alternative HTML version deleted]]
<br>
<br>
_______________________________________________
<br>
R-sig-Geo mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:R-sig-Geo@r-project.org">R-sig-Geo@r-project.org</a>
<br>
<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>
<br>
<br>
</blockquote>
<br>
</blockquote>
<br>
</blockquote>
<br>
</body>
</html>