mpas_tools.mesh.attrs.cf_conventions
- mpas_tools.mesh.attrs.cf_conventions(conventions=None)[source]
Get a
Conventionsattribute for an MPAS mesh file that includes CFEntries in
conventions(including any CF version) are kept, andCF-1.8andMPASare added if they are missing.- Parameters:
conventions (str, optional) – The existing
Conventionsattribute, with entries separated by blanks or commas- Returns:
conventions (str) – The
Conventionsattribute with a CF entry first