NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

Re: [netcdfgroup] API for removing data variables?

Maybe it would be easier if you conceptualize the task instead as one
of copying only a subset (one) variable from the source file to the
destination file? In that event, R and NCO can accomplish the task
easily, and I assume python as well. If you have a particular API in
mind and don't see how to copy just one variable, feel free to ask
about that.

Regards,

--Dave


On Sat, Feb 4, 2012 at 4:51 PM, Tom Roche <Tom_Roche@xxxxxxxxx> wrote:
>
> I have a usecase which seems most easily satisfied by taking a netCDF
> (classic) file and ripping out all but one data variable, before
> adding a few layers to that datavar, and writing to a new file. (All
> the data variables share the same coordinate variables and their
> values, which are just integer indices.) However I'm not seeing tool
> support for *removing* data (or other) variables. This may be because
> I'm not very experienced--am I missing something? Note my platform is
> linux, and by "tool support" I mean either something I can either run
> commandline (e.g., NCO) or from a shell-like environment (e.g., the
> python or R REPLs).
>
> TIA, Tom Roche <Tom_Roche@xxxxxxxxx>
>
> _______________________________________________
> netcdfgroup mailing list
> netcdfgroup@xxxxxxxxxxxxxxxx
> For list information or to unsubscribe,  visit: 
> http://www.unidata.ucar.edu/mailing_lists/



-- 
David W. Pierce
Division of Climate, Atmospheric Science, and Physical Oceanography
Scripps Institution of Oceanography, La Jolla, California, USA
(858) 534-8276 (voice)  /  (858) 534-8561 (fax)    dpierce@xxxxxxxx



  • 2012 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: