gridMetadata.removeAttributes

Remove attributes from the metadata of a gridded dataset


Syntax



Description

obj = obj.removeAttributes(fields)
obj = obj.removeAttributes(field1, field2, .., fieldN)

Removes the listed fields from the metadata attributes of the current gridMetadata object.

obj = obj.removeAttributes(0)

Removes all metadata attributes from the current gridMetadata object.


Input Arguments

fields

string vector
A list of fields to remove from the metadata attributes.

fieldN

string scalar
The name of a field to remove from the metadata attributes.

Output Arguments

obj

gridMetadata object
The updated gridMetadata object