similar to: ncdf library

Displaying 20 results from an estimated 7000 matches similar to: "ncdf library"

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
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 Nov 05
0
NaN, ncdf
Dear All, Can anyone please let me know how exactly ncdf deals with NaN. I am trying to pass in a vector of data that has some NaN in it, into a variable in NetCDF. dimX <- dim.def.ncdf("X","count",(1:6)) dimY <- dim.def.ncdf("Y","count",(1:3)) var1 <-
2009 Apr 23
1
problem loading ncdf library on MAC
Hi there, I'm more or less new to R and have just installed R on my MAC laptop. I managed to install everything easily enough (R version 2.9) and a few packages, but when I try to load the ncdf package (in R) I get the following error: library(ncdf) Error in dyn.load(file, DLLpath = DLLpath, ...) : unable to load shared library
2011 Sep 12
1
Problem in put.var.ncdf
Dear all, I have a problem in writing a variable to a NetCDF-File. My code works pretty well until the step put.var.ncdf(): # Get variables #--------------------- data1 <- open.ncdf("PREC_me_03-1500.nc") prec1 <- get.var.ncdf(data1,"PRECT") dim.time <- get.var.ncdf(data1,"time2") close.ncdf(data1) # Calculation #--------------------- spi24.me <-
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
2010 Feb 25
0
missing values in 'ncdf', integer versus byte
I'm working with the ncdf package, and I'm seeing a behavior which I am unsure whether it is a bug or a feature. I am creating a variable, which I make with the precision of "byte" and also set a missing value, When I put into this variable, all my NA values are put in properly as the missing value. However, when I read it back, I get the missing value rather than NA.
2009 Apr 21
1
ncdf,RNetCDF
Friends, Someone please share your experience in installing ncdf and RNetCDF in fedora10. I am not able make it work as it throws me the following error. My R version is 2.8.0. > library(ncdf) unable to load shared library '/usr/lib/R/library/ncdf/libs/ncdf.so': /usr/lib/R/library/ncdf/libs/ncdf.so: cannot restore segment prot after reloc: Permission denied Error in library(ncdf)
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. **
2012 Aug 21
1
ncdf - writing variable to a file
Hello, I have a problem writing a variable to an existing file. Below is a part of my script and how it fails. I can't find "create.var.ncdf" in help Thanks for any help. Mark nc <- open.ncdf(ncname, readunlim=FALSE, write=TRUE ) missing <- 1.e+30 xdim <- nc$dim[["west_east"]] ydim <- nc$dim[["south_north"]] tdim <- nc$dim[["Time"]]
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
2011 Apr 03
1
installing ncdf on Ubuntu 10.04
Hello I'm trying to install the "ncdf" package on a Ubuntu 10.04 laptop. Can you offer suggestions to install this package? > install.packages("ncdf", repositories = TRUE) Installing package(s) into β€˜/home/steve/R/i486-pc-linux-gnu-library/2.12’ (as β€˜lib’ is unspecified) --- Please select a CRAN mirror for use in this session --- Loading Tcl/Tk interface ... done
2010 Oct 09
1
ncdf installation in R
Hi All, I am trying to install ncdf package on a Linux 64-bit machine. I successfully installed netcdf using this command, ./configure --prefix=/home/challar/netcdf/ --disable-netcdf4 I then tried to install ncdf package in R R CMD INSTALL --configure-args="-with-netcdf_incdir=/home/challar/netcdf/include -with-netcdf_libdir=/home/challar/netcdf/lib" ncdf_1.6.3.tar.gz I get this
2011 Sep 24
2
ncdf - install error
Dear all, I'm having issues with the installation of the ncdf package. It returns a non-zero exit status. Can anyone suggest what I should do next? FYI, I do not have problems installing other packages. Thanks. Muhammad * installing *source* package ?ncdf? ... checking for nc-config... /usr/local/bin/nc-config configure: creating ./config.status config.status: creating src/Makevars **
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
2008 Jan 22
1
install ncdf package on a 64-bit machine
Dear All, I recently got a 64bit machine and had netcdf-3.6.2 installed. Then I tried to install ncdf package but got the following error message when using netcdflib: gcc -std=gnu99 -I/home/ljin/share/R-2.6.1/include -I/home/ljin/share/R-2.6.1/include -I. -I/usr/local/include -fpic -g -O2 -c ncdf2.c -o ncdf2.o gcc -std=gnu99 -I/home/ljin/share/R-2.6.1/include
2009 Sep 15
1
releasing memory when using the ncdf package
Hello, I'm running R 2.7.2 in a windows XP environment and I run the following in an R console: library(ncdf) nc <-open.ncdf('c:/file.nc') aa <- get.var.ncdf(nc,'var1') This works fine, but 'aa' takes up about 100mb and I want to release the memory after using it. I try: rm(aa) close.ncdf(nc) and look at Windows Task Manager, but the memory hasn't been
2011 Jul 07
1
Select element out of several ncdf variables
Hi there I'm working with ncdf data. I have different dataset for 4 runs, 4 seasons and 3 timeslices (48 datasets in total). The datasets have the following dimensions: 96 longitudes, 48 latitudes and 30 time steps. To read all of them in, I wrote the following loop: runs <- c("03","04","05","06") years <- c(1851,1961,2061) seasons <-
2005 Jan 21
1
memory and swap space in ncdf
I've a linux system with 2Gb of memory which is not enough for reading a 446Mb netcdf file using ncdf: library(ncdf) ncold <- open.ncdf("gridone.grd") Error: cannot allocate vector of size 1822753 Kb When I look at the free memory in my system I can see that none of the Swap space is being used by R. I am a newbie in linux and R, I've read the Memory help pages but still
2004 Nov 12
1
Problems installing ncdf package into R
Hello Can someone please look into the problem with installing ncdf package into R. I get this message when I try install it: > install.packages("ncdf") trying URL `http://cran.r-project.org/bin/windows/contrib/2.0/PACKAGES' Content type `text/plain; charset=iso-8859-1' length 22827 bytes opened URL downloaded 22Kb Warning message: No package "ncdf" on CRAN. in: