Re: [R] ncdf size error

2014-09-16 Thread Hernan A. Moreno Ramirez
dpie...@ucsd.edu Sent: Monday, September 15, 2014 7:00 PM To: Hernan A. Moreno Ramirez Cc: r-help@r-project.org Subject: Re: [R] ncdf size error On Mon, Sep 15, 2014 at 4:20 PM, Hernan A. Moreno Ramirez hmore...@uwyo.edu wrote: Hi I am using both ncdf and ncdf4 libraries and with both I keep

Re: [R] ncdf size error

2014-09-16 Thread David W. Pierce
(ncdf) ... rest of example omitted ... Hi Hernan, The file you are trying to make is violating size constraints imposed by the netcdf library/R interface, which is 2 GB in the R ncdf package. To get around this switch to the R ncdf4 package, which is the replacement for the ncdf package (I

Re: [R] ncdf size error

2014-09-16 Thread David W. Pierce
davidwilliampie...@gmail.com on behalf of David W. Pierce dpie...@ucsd.edu Sent: Tuesday, September 16, 2014 2:21 PM To: Hernan A. Moreno Ramirez Cc: r-help@r-project.org Subject: Re: [R] ncdf size error On Tue, Sep 16, 2014 at 11:36 AM, Hernan A. Moreno Ramirez hmore...@uwyo.edu wrote: Sure, here

Re: [R] ncdf size error

2014-09-16 Thread Hernan A. Moreno Ramirez
/ From: davidwilliampie...@gmail.com davidwilliampie...@gmail.com on behalf of David W. Pierce dpie...@ucsd.edu Sent: Tuesday, September 16, 2014 2:21 PM To: Hernan A. Moreno Ramirez Cc: r-help@r-project.org Subject: Re: [R] ncdf size error On Tue, Sep 16, 2014 at 11:36

[R] ncdf size error

2014-09-15 Thread Hernan A. Moreno Ramirez
Hi I am using both ncdf and ncdf4 libraries and with both I keep getting the same error: Error in R_nc_enddef: NetCDF: One or more variable sizes violate format constraints. Error in R_nc_sync: NetCDF: Operation not allowed in define mode. This happens when I try to create.ncdf() a file with more

Re: [R] ncdf size error

2014-09-15 Thread David W. Pierce
On Mon, Sep 15, 2014 at 4:20 PM, Hernan A. Moreno Ramirez hmore...@uwyo.edu wrote: Hi I am using both ncdf and ncdf4 libraries and with both I keep getting the same error: Error in R_nc_enddef: NetCDF: One or more variable sizes violate format constraints. Error in R_nc_sync: NetCDF: Operation

[R] ncdf - writing variable to a file

2012-08-21 Thread m p
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 -

Re: [R] ncdf - writing variable to a file

2012-08-21 Thread Peter Ehlers
On 2012-08-21 11:02, m p wrote: 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 You probably want 'create.ncdf'. Peter Ehlers Thanks for any help. Mark nc - open.ncdf(ncname,

Re: [R] [ncdf] programmatically copying a netCDF file

2012-01-13 Thread Tom Roche
Tom Roche Mon, Jan 9, 2012 at 3:54 PM, I need to copy most of a source file, modifying only part, and to write a target file. David William Pierce Thu, 12 Jan 2012 09:13:53 -0800 I'd advise against doing this. I think it's the wrong approach. Better to use 'cp' to make a bit-for-bit copy

Re: [R] [ncdf] programmatically copying a netCDF file

2012-01-12 Thread David William Pierce
Hi Tom, a few answers to your questions: On Mon, Jan 9, 2012 at 3:54 PM, Tom Roche tom_ro...@pobox.com wrote: :-) I guess I should have explained: I need to copy most of a source file, modifying only part, and to write a target file. So my motivation for this thread is, first, to be sure I

Re: [R] [ncdf] programmatically copying a netCDF file

2012-01-09 Thread Tom Roche
summary: Programmatically copying NetCDF mostly works: thanks for your assistance! However, 4 followup questions/responses (and motivation provided) below regarding problems encountered. details: Tom Roche Thu, 05 Jan 2012 18:29:35 -0500 I need to do surgery on a large netCDF file (technically

[R] [ncdf] programmatically copying a netCDF file

2012-01-05 Thread Tom Roche
How to programmatically (i.e., without no or minimal handcoding) copy a netCDF file? (Without calling system(cp whatever wherever) :-) Why I ask: I need to do surgery on a large netCDF file (technically an I/O API file which uses netCDF). My group believes a data-assimilation error caused a

Re: [R] [ncdf] programmatically copying a netCDF file

2012-01-05 Thread David William Pierce
On Thu, Jan 5, 2012 at 3:29 PM, Tom Roche tom_ro...@pobox.com wrote: How to programmatically (i.e., without no or minimal handcoding) copy a netCDF file? (Without calling system(cp whatever wherever) [...] So I'm wondering, can anyone point me to, or provide, code that copies a

Re: [R] ncdf - install error

2011-09-24 Thread David William Pierce
2011/9/24 Muhammad Rahiz muhammad.ra...@ouce.ox.ac.uk: 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. [...] /usr/bin/ld:

[R] ncdf - install error

2011-09-23 Thread Muhammad Rahiz
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...

Re: [R] ncdf - install error

2011-09-23 Thread Jeff Newmiller
Perhaps start by reading the posting guidelines. --- Jeff Newmiller The . . Go Live... DCN:jdnew...@dcn.davis.ca.us Basics: ##.#. ##.#. Live Go... Live: OO#.. Dead: OO#.. Playing Research Engineer (Solar/Batteries

Re: [R] ncdf installation in R

2010-10-18 Thread lev_lafayette
Sashi Challa wrote: 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 Hi Sashi, Just had a similar issue today. I would suggest the --disable-netcdf4 hasn't

Re: [R] ncdf installation in R

2010-10-18 Thread David Pierce
Sashi Challa wrote: I am trying to install ncdf package on a Linux 64-bit machine. [...] Hi Sashi, Just had a similar issue today. I would suggest the --disable-netcdf4 hasn't been picked up. Try installing an earlier version and using that path instead. See:

[R] ncdf installation in R

2010-10-08 Thread Sashi Challa
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

Re: [R] ncdf installation

2010-03-10 Thread Prof Brian Ripley
To include code in a shared object on x86_64 Linux it must be compiled with -fPIC (or -fpic), as the error message said quite explicitly. You seem only to have static netlib libraries: you need dynamic ones if you installed these from a binary package. However, '/apps/netcdf/4.0.1/gcc/lib'

[R] ncdf installation

2010-03-09 Thread Bala subramanian
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

[R] ncdf

2009-08-13 Thread Silke Troemel
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

Re: [R] ncdf

2009-08-13 Thread Stefan Grosse
On Thu, 13 Aug 2009 11:29:40 +0200 Silke Troemel silke.troe...@uni-bonn.de wrote: ST /usr/lib64/gcc/x86_64-suse-linux/4.0.2/../../../../x86_64-suse-linux/bin/ld: ST /usr/local/lib64/libnetcdf.a(attr.o): relocation R_X86_64_32S ST against `a local symbol' can not be used when making a shared ST

[R] ncdf package problem - put.var.ncdf

2009-08-05 Thread Steve Murray
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

[R] ncdf,RNetCDF

2009-04-21 Thread Bala subramanian
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':

Re: [R] ncdf,RNetCDF

2009-04-21 Thread Andris Jankevics
Hi, just quick googling gave me the hint that it can be ralated to SE Linux restrictions of Fedora linux. Just try to disable SE Linux feature. http://www.appistry.com/community/forums/content/cannot-restore-segment-prot-after-reloc-permission-denied Best regards, -- Andris subramanian

Re: [R] ncdf,RNetCDF

2009-04-21 Thread Bala subramanian
Hi Andris, THANK YOU SO MUCH. THIS WAS THE PROBLEM INDEED. When disable SE Linux, it worked fine. Thank you once again, Bala On Tue, Apr 21, 2009 at 4:01 PM, Andris Jankevics an...@osi.lv wrote: Hi, just quick googling gave me the hint that it can be ralated to SE Linux restrictions of