uxarray.UxDataArray.data_mapping#
- property UxDataArray.data_mapping#
Returns which grid element a data variable is mapped to.
The mapping is inferred from the grid dimension present in the data variable:
"faces"if the data contains then_facedimension"edges"if the data contains then_edgedimension"nodes"if the data contains then_nodedimensionNoneif the data is not mapped to the grid
Notes
Additional locations described in the UGRID/spectral-element ecosystem (e.g.
"face_average","edge_orthogonal","edge_parallel","cgll","dgll") cannot be inferred from a data variable’s dimensions alone and are not currently distinguished here.- Returns:
One of
"faces","edges","nodes", orNone.- Return type:
str or None