Re: [R-sig-Geo] Trouble installing rgdal

2020-07-03 Thread Roger Bivand
On Thu, 2 Jul 2020, Thomas Adams wrote: Roger, Thank you so much; after downloading the *.tar.gz file, the that did the trick, using: sudo R CMD INSTALL --configure-args=--with-proj_api="proj_api.h" rgdal_1.5-13.tar.gz Since you have GDAL: 3.0.0 and PROJ version: 6.1.0, you can drop --confi

Re: [R-sig-Geo] Trouble installing rgdal

2020-07-03 Thread Thomas Adams
Thank you, Roger! I'll re-install without using --configure-args=--with-proj_api="proj_api.h Best, Tom On Fri, Jul 3, 2020 at 5:45 AM Roger Bivand wrote: > On Thu, 2 Jul 2020, Thomas Adams wrote: > > > Roger, > > > > Thank you so much; after downloading the *.tar.gz file, the that did the > > t

Re: [R-sig-Geo] Trouble installing rgdal

2020-07-03 Thread Thomas Adams
Hi Roger, I just tried re-installing withou using the argument and got this: teaiii@teaiii-Leopard-WS:~$ sudo R CMD INSTALL rgdal_1.5-13.tar.gz * installing to library ‘/home/teaiii/R/x86_64-pc-linux-gnu-library/4.0’ * installing *source* package ‘rgdal’ ... ** using staged installation configure

Re: [R-sig-Geo] Trouble installing rgdal

2020-07-03 Thread Roger Bivand
On Fri, 3 Jul 2020, Thomas Adams wrote: Hi Roger, I just tried re-installing withou using the argument and got this: Very useful, thanks - painful but another case of staying too close to the front. proj_create_crs_to_crs_from_pj() was new in PROJ 6.2.0. I'll try to adapt to accommodate old

[R-sig-Geo] creating spatial metadata: best tools/approach?

2020-07-03 Thread Howard, Tim G (DEC) via R-sig-Geo
All, I need to create XML metadata for some of my outputs (mostly rasters) following the US government standard (FGDC): https://www.fgdc.gov/standards/projects/FGDC-standards-projects/metadata/base-metadata/index_html In researching what my options are in R, I have found EML: https://github.co

Re: [R-sig-Geo] Trouble installing rgdal

2020-07-03 Thread Roger Bivand
On Fri, 3 Jul 2020, Roger Bivand wrote: On Fri, 3 Jul 2020, Thomas Adams wrote: Hi Roger, I just tried re-installing withou using the argument and got this: Very useful, thanks - painful but another case of staying too close to the front. proj_create_crs_to_crs_from_pj() was new in PROJ

Re: [R-sig-Geo] Trouble installing rgdal

2020-07-03 Thread Thomas Adams
Roger, OK; I'll update GDAL and PROJ to 3.0.4 and 6.3.1 and get back to you... you anticipated my question... thank you! Best, Tom On Fri, Jul 3, 2020 at 11:24 AM Roger Bivand wrote: > On Fri, 3 Jul 2020, Roger Bivand wrote: > > > On Fri, 3 Jul 2020, Thomas Adams wrote: > > > >> Hi Roger, > >

[R-sig-Geo] Error trying to stack two raster bricks with different extension and resolution

2020-07-03 Thread JC Arronte
Hi All, I�m starting to work with the package raster and although I�ve been looking for solutions, I can�t find the way to solve my problem. I�ve two ncdf files downloaded from Copernicus with near-bottom sea temperature data. They correspond to two different periods of time (1998-2018 & 2019

Re: [R-sig-Geo] Error trying to stack two raster bricks with different extension and resolution

2020-07-03 Thread Bede-Fazekas Ákos
Dear Juan Carlos, maybe the simplest solution is 1) creating an empty raster at 3 km resolution and LAEA projection, using the desired extent, 2) then reprojecting both rasters to the projection/resolution/extent of this empty one using projectRaster(from, to) HTH, Ákos Bede-Fazekas Hungarian A