-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Labels
Description
Some libraries include an __orthogonal_indexing__ property to indicate to the user whether or not a variable utilises orthogonal indexing. For instance, netCDF4, cfdm, and cf-python implements this API, and it's very useful because it tells downstream applications whether or not they themselves need to implement orthogonal indexing.
For these other libraries just mentioned, __orthogonal_indexing__ is always True, but for a pyfive Dataset, orthogonal indexing is dependent on the data layout - contiguous data does not support it, but chunked data does.
Therefore we could add an __orthogonal_indexing__ property that returns True or False depending on the data layout.