I am reading the documentation of Python library xarray
After having opened multiple NetCDFs and explored their contents, I see that some files store their coordinates as a matrix and some store their coordinates as a single variable.
For example variables as a matrix:
import numpy lat = numpy.array([[-6.91,-6.91],[-6.90,-6.90]])
or for example as a one dimensional list:
lat = [-6.91,-6.90]
When setting the coordinates of a NetCDF using xarray,
It doesn't recognize the matrix of
lat as a dimension (as shown by the lack of the asterisk)
What is the benefit of storing it as a 2D matrix?