Re: Add a variable into an old .nc file

From: Dennis Shea <shea_at_nyahnyahspammersnyahnyah>
Date: Wed, 23 Sep 2009 12:15:36 -0600

I suggest using the netCDF operator 'ncks'

    %> ncks -A file_containing_new_variable.nc old_file.nc

Lei Meng wrote:
> Hi,
> I was thinking to add a variable into an existing .nc file. I
> searched, but did not come up with useful information. Which function
> should I use to open a file and add new variables into it? Thanks,
> Lei
> ------------------------------------------------------------------------
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>

-- 
======================================================
Dennis J. Shea                  tel: 303-497-1361    |
P.O. Box 3000                   fax: 303-497-1333    |
Climate Analysis Section                             |
Climate & Global Dynamics Div.                       |
National Center for Atmospheric Research             |
Boulder, CO  80307                                   |
USA                        email: shea 'at' ucar.edu |
======================================================
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Wed Sep 23 2009 - 12:15:36 MDT

This archive was generated by hypermail 2.2.0 : Thu Sep 24 2009 - 13:55:09 MDT