Main Content

matlab.io.hdfeos.gd.inqAttrs

Namespace: matlab.io.hdfeos.gd

Names of grid attributes

Syntax

attrList = inqAttrs(gridID)

Description

attrList = inqAttrs(gridID) returns the list of grid attribute names. attrList is a cell array.

This function corresponds to the GDinqattrs function in the HDF-EOS library C API.

Examples

import matlab.io.hdfeos.*
gfid = gd.open('grid.hdf');
gridID = gd.attach(gfid,'PolarGrid');
attrList = gd.inqAttrs(gridID);
gd.detach(gridID);
gd.close(gfid);