Displaying 20 results from an estimated 400 matches similar to: "graphing netCDF files"
2008 Jan 15
1
error in my selection
Hi everybody,
Well, I really hoped that until now i know how to do a selection ..... but obviously i don't. So risking your laughing at me - here you go.
I have a table with lots of vegetation data, and one column specifies in which region the data is. There are only 2 regions, region 1 and region 3. I want to select all data that belong to region 1 and after do some xtabs on it. If i do
2009 Jan 29
1
In Rd: \describe \itemize and \item
I rebuilt a test version of my yaImpute package using Uwe Ligges' windows
build service.
I got this reply: Check result: OK
R version 2.9.0 Under development (unstable) (2009-01-27 r47756)
Here is the issue: I have the following construct in help files (this
example relates to "data"):
\format{
A data frame with 847 rows and 29 columns: \cr\cr
Ground based measurements of
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 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')
2009 Nov 10
3
NetCDF output in R
Dear CSAG R users,
I will be glad if someone can point out what I am doing wrong or not doing at all in this.
I am trying to write out netcdf file in R. I have 26 time step but only the first time step is written.
For example:
>library(ncdf)
>path <- '/home/work/'
>forecast <- open.ncdf(paste(path,'cam.1980.2005.nc',sep=""))
> fore <-
2009 Nov 10
3
NetCDF output in R
Dear CSAG R users,
I will be glad if someone can point out what I am doing wrong or not doing at all in this.
I am trying to write out netcdf file in R. I have 26 time step but only the first time step is written.
For example:
>library(ncdf)
>path <- '/home/work/'
>forecast <- open.ncdf(paste(path,'cam.1980.2005.nc',sep=""))
> fore <-
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
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.
**
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 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
2012 Jul 04
3
Please help
Dear All,
I am a research student in environment. I have only little programming knowledge. I am currently doing the last project about rainfall impact on ground water quality in an area. It happens that I have to use R to read rainfall data (3 dimension) from ASC file (*.asc), and then write them into one NCDF file (*.nc).
I have been working very hard on study R, but I
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
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)
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
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
**
2011 Dec 12
2
i can't read large NETCDF file like CRU
i use library(ncdf) to read this file as follow
library(ncdf)
sst.nc = open.ncdf(title)
lonall = get.var.ncdf(sst.nc,'lon')
latall = get.var.ncdf(sst.nc,'lat')
precip = get.var.ncdf(sst.nc,'pre')
close(sst.nc)
if i use this method my pc freeze and not respond until i restart it is
there
--
View this message in context:
2009 Apr 21
1
joined R-today
Friends,
I am a newbie to R. Just installed and started with R. I installed netcdf
library (netcdf-4.0.tar.gz) and then ncdf package of R from CRAN with the
following command.
R CMD INSTALL
--configure-args="-with-netcdf_incdir=/usr/local/netcdf/include
-with-netcdf_libdir=/usr/local/netcdf/lib" ncdf_1.6.tar.gz
The installation was successful. But when i try to use ncdf inside R, i
2011 Sep 07
3
Editing the variables attributes section in the netCDF header of netCDF files created using the package ncdf.
Hi,
I am using the package ncdf to create netCDF files and I want to mimic the the header of an exiting netCDF file created outside of R. Below is what the existing header looks like (part of it that is different):
netcdf ccd1984_05_08 {
dimensions:
lat = 1974 ;
lon = 1894 ;
time = UNLIMITED ; // (1 currently)
variables:
int time(time) ;
2012 Feb 15
5
Abrir multiples archivos
Hola,
Alguien podría ayudarme en la siguiente cuestión:
Trato de abrir múltiples archivos ncDF para dejarlos disponibles para
trabajar luego con ellos. Intento hacerlo con un blucle pero no
consigo lo que quiero. El código es el siguiente:
setwd("/Users/jaime/Desktop/2008")
a<-list.files()
a
library(ncdf)
for (i in 1:length(a)) {
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)