Displaying 20 results from an estimated 20000 matches similar to: "catching errors in RNetCDF"
2011 Jan 12
2
RNetCDF: retrieving variable names and units
Dear List,
does anybody has experience with the RNetCDF package? I manage to open a connection and copy data from a ncdf file but would need a way to automatically retrieve variable names (ideally all of them from one file) and units from the file.
Any ideas?
Jannis
2011 Sep 05
1
Receive "unable to load shared object RNetCDF.o" during R INSTALL of RNetCDF
On a Red Hat Linux cluster I am seeing the following after multiple
other packages were successfully installed. The error seems to suggest
that RNetCDF.o was not copied to the appropriate lib folder. The admin
user performing the install has the required privileges to perform the
install. Words of wisdom are greatly appreciated:
R CMD INSTALL
2017 Aug 02
3
Remove attribute from netcdf4 object
Dear all
For a model I need to combine several netCDF files into one (which works fine). For better overview I'd like to delete/remove some of the attributes. Is there a simple way doing this?
I'm using the package netcdf4, which creates an object of class(nc) = "ncdf4". It seems that for earlier versions of netcdf objects, there was the function att.delete.nc{RNetCDF}. But
2013 Apr 12
1
Batch open netcdf files and get variables
Hi, I'm new to R. I have some daily soil moisture data for the year 1979 in netcdf format such as these
sm19790101.1.nc
sm19790102.1.nc
.
.
.
sm19791231.1.nc
I need to average a variable called "sm" to monthly resolution. I've done these
days = formatC(1:31, width=2, flag="0")
ncfiles = lapply(days, function(d){
filename = paste("sm197901", d,
2011 Jul 11
3
NetCDF, open *.nc
*Good day!*
I'm using Vista(x64) and R 2.13.0(x64) (with ncdf and RnetCDF packs)
*I have a problem:* I'm trying to open **.nc* file and I use this script
(http://r.789695.n4.nabble.com/Problem-downloading-and-opening-netcdf-file-td3046897.html#a3046965)
library(ncdf)
link <-
"http://ibis.grdl.noaa.gov/SAT/SeaLevelRise/slr/slr_sla_gbl_free_all_66.nc"
dest <-
2006 Mar 08
1
problem installing RNetCDF
Hello all,
I set 'UDUNITS_PATH' and 'NETCDF_PATH' successfully to my custom places and
then
% R CMD INSTALL RNetCDF_1.1-3.tar.gz
and got this:
...
checking for executable suffix...
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for main in -lnetcdf... yes
checking for main in -ludunits...
2011 Jun 17
0
Inconsistent results from var.get.nc in RNetCDF
Hello -
I am having trouble extracting data from NetCDF data files using
RNetCDF. The data files each have 3 dimensions (longitude, latitude,
and a date) and 3 variables (latitude, longitude, and a climate
variable).
Here is some of the output from print.nc for clarity:
-----
dimensions:
month = UNLIMITED ; // (1368 currently)
lat = 3105 ;
lon = 7025 ;
variables:
float
2011 Jul 14
1
Error: "non-numeric argument to binary operator"
Hi
I am posting in the topic related to the "non-numeric argument to binary
operator" as I got similar problem while running the netcdf code. I have
attached the file with this post. It is a climate data from NOAA site. The code
follows as:
library(survival)
library(RNetCDF)
library(ncdf)
setwd("c:/projects/netcdfcsfiles")
Conn42 =
2013 Apr 27
1
Loading of package RNetCDF fails
Dear Pavel Michna [maintainer of the package] (and copy to R-help
Mailing List)
When I try to load the package RNetCDF (after install from CRAN) I get
this message:
> library("RNetCDF",
lib.loc="/Library/Frameworks/R.framework/Versions/3.0/Resources/library")
Error : .onLoad a ?chou? dans loadNamespace() pour 'RNetCDF', d?tails :
appel : NULL
erreur : I/O error
2011 May 03
1
loading only parts of RData files?
Dear List members,
I would like to load R objects saved as RData file but ran into the problem that these objects are too large for my RAM ('Can not allocate vactor of size XX...'). Switching to a Linux machine is no option, neither is raising the memory limit.
I am now wondering whether it is possible to load only specific single objects saved in these *.RData files into the workspace.
2006 Apr 12
0
Solution: Making RNetCDF work on Fedora Linux
Dear R users who might like to use the package RNetCDF on Fedora Linux:
Fedora (versions 4 and 5) users might have noticed that the default
install of the netcdf and netcdf-devel packages from the Fedora Extra
archive is inconsistent with the R package RNetCDF. The attempt to
install RNetCDF results in a failure in the configure stage because the
header & library info for netcdf cannot
2005 Nov 30
1
RNetCDF seg fault
Dear RNetCDF developers,
I haven't been able to load RNetCDF in R for a while. I wonder if this
is a bug or a problem with my installation.
I'm using Debian testing.
> library(RNetCDF)
Segmentation fault
5:01pm(dongda)~>R --version
R 2.2.0 (2005-10-06).
Copyright (C) 2005 R Development Core Team
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to
2008 Mar 13
0
need automake/autoconf help to build RnetCDF and ncdf packages
Greetings all,
I recently tried to install RNetCDF from within R (install.packages)
on Fedora Core 8 (with netcdf 3.6.2 and netcdf-devel 3.6.2 already
installed). This resulted in an error because the netcdf header files
are installed in /usr/include/netcdf-3 rather than /usr/include which
is where RNetCDF looks for them. This problem was described in a 2006
post (see below), but no
2007 Mar 11
3
read.table for a subset of data
Hi R-experts,
I have data from four conditions of an experiment. I tried to create four
subsets of the data with read.table, for example,
read.table("Experiment.csv",subset=(condition=="1"))
. I found a similar post in the archive, but the answer to that post was
no. Any new ideas about reading subsets of data with read.table?
Thanks!
Feng
[[alternative HTML version
2006 Apr 25
0
need automake/autoconf help to build RnetCDF and ncdf packages
I imagine this "where are your header files" problem comes up in other
packages, so I'm asking this as a general R question. How should
configure scripts be re-written so they look in more places?
Briefly, the problem is that Fedora-Extras installs the header files
in a subdirectory /usr/include/netcdf-3 rather than /usr/include:
# rpm -ql netcdf-devel
/usr/include/netcdf-3
2010 Sep 23
1
strange behaviour of callNextMethod in S4 methods
Hello,
I experienced a strange behaviour of callNextMethod when used in either
initialize or any other S4 function method definition.
Help says callNextMethod calls the next inherited method for the current
function from where it is called with the same actual (non missing)
arguments. This is OK. The problem appears when some formal arguments
(in particular, S4 objects) of this function are
2012 Jul 23
2
translating IDL to R
I would appreciate
* guidance regarding translation of IDL routines to R, generally
* assistance translating two IDL routines to R, specifically
Why I ask:
I'm slowly learning how to do atmospheric modeling. One language that
has been been popular in this space is IDL
http://en.wikipedia.org/wiki/IDL_(programming_language)
which unfortunately is proprietary (not to mention butt-ugly, IMHO
2008 Dec 23
1
NetCDF within R: installation assistance
Greetings. I am attempting to add NetCDF libraries within R, and have
failed. We have R version 2.8, and are running on a 64-bit Redhat Linux
2.6.18 kernel:
Red Hat Enterprise Linux Client release 5.2 (Tikanga)
Linux halfmoon.ncdc.noaa.gov 2.6.18-92.1.22.el5 #1 SMP Fri Dec 5
09:28:22 EST 2008 x86_64 x86_64 x86_64 GNU/Linux
I have run the installation instructions found at
2012 Aug 28
4
[ncdf4] error converting GEIA data to netCDF
summary: I can successfully ncvar_put(...) data to a file, but when I
try to ncvar_get(...) the same data, I get
> Error in if (nc$var[[li]]$hasAddOffset) addOffset = nc$var[[li]]$addOffset else addOffset = 0 :
> argument is of length zero
How to fix or debug?
details:
R code @
https://github.com/TomRoche/GEIA_to_NetCDF
successfully (if crudely) uses R packages={ncdf4, maps, fields}
2004 Aug 02
0
New package: RNetCDF
Dear all,
I would like to announce the availability of a new package on CRAN:
RNetCDF: R Interface to NetCDF Datasets
This package provides an interface to Unidata's NetCDF library functions
(version 3) and furthermore access to Unidata's udunits calendar
conversions. The routines and the documentation follow the NetCDF and
udunits C interface, so the corresponding manuals can be