cdms2.dataset:CdmsFile¶
-
CdmsFile.
matchPattern
(self, pattern, attribute, tag)[source]¶ Match 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
- patternString expression.
- attributeAttribute Name. If None search all attributre.
- tagnode tag, if cdmsFile only match the current dataset otherwise match
all object matching the tag.
- Returns
- list of match patterns.