similar to: Using 'unlist' (incorrectly?!) to collate a series of objects

Displaying 20 results from an estimated 5000 matches similar to: "Using 'unlist' (incorrectly?!) to collate a series of objects"

2009 Aug 04
0
Writing a NetCDF file in R
Dear all, I am attempting to convert 10 NetCDF files into a single NetCDF file, due to the data input requirements of a model I hope to use. I am using the ncdf package, version 1.6. The data are global-scale water values, on a monthly basis for 10 years (ie. 120 months of data in total; at present the data are separated by year, with 12 months of data in each file - mrunoff_1986 through to
2009 Aug 05
0
ncdf package problem - put.var.ncdf
Dear all, I am attempting to convert 10 NetCDF files into a single NetCDF file, due to the data input requirements of a model I hope to use. I am using the ncdf package, version 1.6. The data are global-scale water values, on a monthly basis for 10 years (ie. 120 months of data in total; at present the data are separated by year, with 12 months of data in each file - mrunoff_1986 through to
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
2013 Jul 19
1
Problem with distributing data in package.
Hi List, I am building a package for a client to help them create and perform analyses against netcdf files which contain 'a temporal stack' of grids. For my examples and test cases, I create an example dataset in code (as this is a lot more space efficient than providing raw data). The code creates a netcdf file in tempdir() and an object of class 'ncdf' in the global namespace.
2008 Jul 09
1
netCDF to TIFF
Greetings R users! I am working with the ENSEMBLE climate data (10 min resolution daily temperatures images for all of Europe 1950-2006). The data comes packaged in a single netCDF file. I would like to read the data in and export a subset (2002-2006) as geotiffs (one image per day). So far, I can successfully read in the data and view the images within an R display window. However, I have yet to
2009 Aug 20
1
Creating a list of combinations
Dear R Users, I have 120 objects stored in R's memory and I want to pass the names of these many objects to be held as just one single object. The naming convention is month, year in sequence for all months between January 1986 to December 1995 (e.g. Jan86, Feb86, Mar86... through to Dec95). I hope to pass all these names (and their data I guess) to an object called file_list, however,
2009 Jul 23
1
Creating a loop to read 3D dataset
Dear all, I have in my possession a netcdf from which I want to extract some data files. I have used the "ncdf" package to read the netcdf file and used the "get.var.ncdf" function to identify the variable i wish to use. The data is in the form of a time-series of geographical data points that relate to climatology variables. As such I have a large data frame,
2009 Mar 23
2
Looping of read.table and assignment
Dear all, I am trying to read in and assign data from 50 tables in an automated fashion. I have the following code, which I created with the help of textbooks and the internet, but it only seems to read in the final data file over and over again. For example, when I type:> table_1951 I get the same values in the table as when I type> table_2000 despite the values in the source tables
1997 Aug 20
1
R-alpha: R-0.50-a3(+) Method despatching bug ?
It is very wierd... Can some of you confirm the following behavior ? It is a new bug (feature ?) which was not yet in 0.49 ... noquote <- function(obj) { ## constructor for a useful "minor" class if(!inherits(obj,"noquote")) class(obj) <- c(class(obj),"noquote") obj } "[.noquote" <- function (x, subs) structure(unclass(x)[subs], class =
2020 Nov 05
1
Named class vector
The source to the noquote() function looks like this: noquote <- function(obj, right = FALSE) { ## constructor for a useful "minor" class if(!inherits(obj,"noquote")) class(obj) <- c(attr(obj, "class"), if(right) c(right = "noquote") else "noquote") obj } Notice what happens with right =
2013 Mar 07
0
install Netcdf library (linux)
Hi All, i'm on a debian linux 64bit, i'm tying to install the netcdf intraface, i tried both ncdf and ncdf4 but trying to build i received the error : (i have necdf installed on my machine and it is able to fiund it .. no missed .h) epy at epinux:~$ sudo R CMD INSTALL --configure-args="-with-netcdf_incdir=/usr/include -with-netcdf_libdir=/usr/lib" ncdf4_1.8.tar.gz *
2013 Mar 07
1
install error - Netcdf library (linux)
Hi All, i'm on a debian linux 64bit, i'm tying to install the netcdf intraface, i tried both ncdf and ncdf4 but trying to build i received the error : (i have necdf installed on my machine and it is able to fiund it .. no missed .h) epy at epinux:~$ sudo R CMD INSTALL --configure-args="-with-netcdf_incdir=/usr/include -with-netcdf_libdir=/usr/lib" ncdf4_1.8.tar.gz *
2010 Mar 09
1
ncdf installation
Friends, I tried to install ncdf package in ubuntu with the following command. R CMD INSTALL --configure-args="-with-netcdf_incdir=/apps/netcdf/4.0.1/gcc/include -with-netcdf_libdir=/apps/netcdf/4.0.1/gcc/lib" ncdf_1.6.tar.gz The installation was stopped throwing the following error. I tried to google it but didnt find any solution. someone kindly write me what is going wrong. **
2009 Apr 21
0
joined R-today [SELinux]
Redhat's Security Enhanced Linux (in some modes) generates messages like that when code in a shared library is not compiled to have position independent code. I.e., the -fpic or -fPIC flag was not supplied when compiling. Your build log showed that -fpic was used when compiling your code, but the 3rd party library, libnetcdf.a may not have been compiled this way. The command
2010 Jun 16
1
Help asked for automated generation of ncdf variables
Hi, I'm using the "ncdf" library for creating ncdf files. But I need to create about 100 variables per file (e.g. single rivers), So I do not like to create each variable separately. Unfortunately I found no way to make this work, as I'm unable to create a correct list of class "var.ncdf". ###code piece river=list(mode='var.ncdf', length=nriv)
2010 Sep 07
1
adding variable to netCDF file
I would like to open an existing netCDF file and add a variable to it. I am using the ncdf package. This test code gives the idea of what I am trying to do: library(ncdf) print('here we go') print('first, construct netCDF file') t<-dim.def.ncdf('t','',1:1,unlim=T,create_dimvar=F) print('defining first vars')
2010 Mar 24
1
install ncdf package
Dear R users I am attempting to add lncdf_1.6.tar.gz libraries within R, and have failed. I have R version 2.8.1, and are running on fedora 10 Kernel Linux 2.6.293.-60.fc10.x86_64. I've run R CMD INSTALL ncdf_1.6.tar.gz and I have the following --------------- * Installing to library '/usr/lib64/R/library' * Installing *source* package 'ncdf' ... checking for gcc... gcc
2010 Sep 23
1
NetCDF file: adding a variable
I am trying to create a NetCDF file with bathymetry (a matrix) and then to add a grid type (an integer) as variables. This is the relevant part of the code: library(ncdf) wfile="my_file.nc" msv=-10 grdtp=2 # Dimensions d1=dim.def.ncdf("lon","degrees",as.double(lon)) d2=dim.def.ncdf("lat","degrees",as.double(lat)) # Variables
2010 Oct 27
1
"non-numeric argument to binary operator" error while reading ncdf file
Hi everyone, I am a newbie in R and in this discussion list. I am trying to use R package "ncdf" to read values of temperature from a NCDF file. I did it before to another file using the function "get.var.ncdf", but now there is an error that I can not solve, and I would really appreciate if you could help me. I am using R version 2.11.1 (2010-05-31) in a machine with Linux
2009 Aug 13
1
ncdf
Dear all, working with R under Linux, I am not able to install the ncdf-package. The following appears: install.packages("ncdf") Warnung in install.packages("ncdf") : argument 'lib' is missing: using '/user/silke/R/x86_64-unknown-linux-gnu-library/2.6' --- Please select a CRAN mirror for use in this session --- Loading Tcl/Tk interface ... done versuche URL