cdms2.dataset:CdmsFile

CdmsFile.searchPattern(pattern, attribute, tag)[source]

Search for a pattern in a string-valued attribute. If attribute is None, search all string attributes.

If tag is not None, it must match the internal node tag.

Parameters
patternexpression pattern
attributeattribute name
tagnode tag
Returns
list of match pattern