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 co

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 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 can do the copyi

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 (technica

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 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 netCDF file

[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