Displaying 12 results from an estimated 12 matches similar to: "writeRaster with raster package"
2013 Jan 29
2
Netcdf and Raster Package Questions, Need .asc File for GIS
Hello R-Group,
I am new working with netcdf files and the raster package in R.I am
trying to read in a netcdf file using the package "ncdf".I am able to
get the lat, lon and parameter I need and can plot using
fill.contour.Ultimately, I am trying to create a .asc file to reafd into
GIS.I am using the package "raster" to read the parameter.When I read in
with
2018 Mar 28
0
netCDF to GeoTIFF by layer in r
Hi Ahmed,
When reading from a ncdf file you can use the 'varname', 'lvar' and 'level' arguments - see the 'Details' section in the docs
https://www.rdocumentation.org/packages/raster/versions/2.6-7/topics/raster <https://www.rdocumentation.org/packages/raster/versions/2.6-7/topics/raster>
We can't tell what is in the ncdf file from what you report other
2004 Oct 14
2
my future with dovecot (?any recipe?)
Hallo
I am very impressed from this howto's:
1) Postfix-Cyrus-Web-cyradm-HOWTO (mysql)
http://www.delouw.ch/linux/postfix.phtml
2) Pop-Toaster using Qmail-Vmailmgr-Courier-SquirrelMail
http://qvcs-guide.sourceforge.net/ (this work for me)
I hope to build anything like above, but with Dovecot:
[Postfix-tls-smtpauth-Dovecot-Mailadmin*-MySQL-SquirrelMail-https]
Postgresql is ok for
2018 Mar 28
2
Fwd: netCDF to GeoTIFF by layer in r
Hi
I have a netCDF file of volumetric soil water content at four
different soil layers and want to convert each soil layer in the
netCDF file to a GeoTIFF layer. This code converts the netCDF file to
one GeoTIFF layer, i.e. unclear which soil depth.
file.nc <- "C:/Soil_Weather_data/Agro/VMC21/VMC21.nc"
file.tiff <- "C:/Soil_Weather_data/Agro /VMC21/VMC21"
importnetcdf
2020 Feb 19
2
Pregunta sobre rLandsat
Hola grupo, estoy siguiendo una gu?a de la librer?a rLandsat que me la he descargado de:
devtools::install_github("socialcopsdev/rLandsat")
Y tras hacer los siguiente (obviamente tengo me he registrado previamente en la api correspondiente):
product_id = c("LC08_L1TP_145049_20180301_20180308_01_T1",
"LC08_L1TP_145049_20170330_20170414_01_T1",
2020 Feb 20
3
Pregunta sobre rLandsat
Hola Ángel:
Yo creo que tendrías que establecer el sistema de coordenadas de
referencia de tu objeto raster antes de salvarlo como GTiff. Algo así:
crs(r1) <-"+proj=utm +zone=14 +datum=WGS84"
Saludos,
Marcelino.
El 20/02/2020 a las 1:42, Angel Cervantes escribió:
> Hola a todos, quisiera pedirles su ayuda. Estoy tratando de crear un raster a partir de una tabla de datos
2023 Feb 21
1
Interpolación IDW
Emilio, muchas gracias. Tuve que rehacer el código para entender mejor
todo, pero me sale el siguiente error:
*Error in as.data.frame.default(x[[i]], optional = TRUE) : cannot coerce
class ?structure("RasterLayer", package = "raster")? to a data.frame*
El código es el siguiente:
*for (i in 1:nrows_mt) { data_it_mt <-
2013 Feb 14
0
How write raster files after manipulation?
I have 12 binary (raster) files
https://echange-fichiers.inra.fr/get?k=k3M2jatJyHy65Cs99G4 .
I would like to calculate the moving average for the 12 values for each
pixel in the 12 files.
For a simple vector we can get a moving average by using this :
x <- c(1,2,3,NA,NA,4,6,5,6,4,2,5)
movingmean <- rollapply(x, 3, FUN = mean, na.rm = T)
now I want
2012 Jul 17
0
Arcgis in R
Hi all,
I am very knew to this R and Arcgis combination. I have already spent days
attempting to find my answer but have failed, therefore could you please if
possible explain any answers in simple form.
I am trying to access Arcgis through R, following a few steps:
1) Set up working directory
2)connect to Python
3) import arcgis- however, when I get to the import stage it comes up with
an error
2013 Mar 21
0
Problems of exporting raster to ArcGIS
Hello:
I am using R raster package to replace ArcGIS when processing multiple shp files. However, when I export R raster back to ArcGIS, it couldn't recognize R raster file correctly. For example, I used {raster} package and got a RasterLayer as followed.
class : RasterLayer
dimensions : 8280, 18480, 153014400 (nrow, ncol, ncell)
resolution : 0.008333334, 0.008333334 (x, y)
2010 Oct 06
1
R getting slower until it breaks...
Hello R-users,
I'm currently facing a pretty hard problem which I'm hopping you'll be able to help me with. I'm using R to create images. That alone is not the problem, the problem is that I'm using R to create 168 000 images... My code (which is given below) use different package (raster and rgdal) to import a image (size 20gig) and divide it into 168 000 pictures that are
2007 Oct 10
4
gregexpr (PR#9965)
Full_Name: Peter Dolan
Version: 2.5.1
OS: Windows
Submission from: (NULL) (128.193.227.43)
gregexpr does not find all matching substrings if the substrings overlap:
> gregexpr("abab","ababab")
[[1]]
[1] 1
attr(,"match.length")
[1] 4
It does work correctly in Version 2.3.1 under linux.