On Thu, Apr 22, 2010 at 1:36 PM,  <n...@itimes.com> wrote:
> Hi all.
>
> Is there any way to copy attributes from one netcdf file to another netcdf 
> file?
>
> Thanks,
> Nands

you can use ncatt to get a cell array of all attributes of a
variable/file and then copy the attributes one by one. The code of
ncdump.m might be instructive.

Cheers,
Alex

------------------------------------------------------------------------------
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to