Hi everyone,

There is a function in Matlab's netcdf toolbox, called "parent" which returns 
the parent netcdf object. Is the any way I can get the functionality in Octcdf?

It's usage is as follows:
cdf=netcdf('example.nc');
Par=parent(cdf('longitude'))
close(cdf);

which returns:
          NetCDF_File: 'example.nc'
          nDimensions: 2
          nVariables: 3
          nGlobalAttributes: 0
          RecordDimension: ''
          nRecords: 0
          Permission: 'nowrite'
          DefineMode: 'data'
          FillMode: 'fill'
          MaxNameLen: 0


Thanks,
Nands

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to