getattribs

att = getattribs(D::GDtype) -> Vector{String}

Extract attribute keys from a GMT data object as a vector of strings.

Arguments

  • D::GDtype: A GMT dataset or collection of datasets

Returns

  • Vector{String}: A vector of attribute key names

Details

If D is a GMTdataset, returns keys from its attrib dictionary. Otherwise, returns keys from the attrib dictionary of the first element in D.

Example

att = getattribs(D)

Source Code

View the source code for this function.

See Also

getattrib