parse_attr.Rd
Parse a metadata attribute destined for a NetCDF file
parse_attr(attr)
attr | text representation of attribute in the following format: var_name:attr_name=attr_val If no var_name is specified, the attribute will be interpreted to be a global attribute. If no attr_val is specified, it will be set to NULL in the returned list. |
---|
a list representation of attribute, with items var, key, and val corresponding to var_name, attr_name, and attr_val