SciTools / biggus

:no_entry: [DEPRECATED] Virtual large arrays and lazy evaluation.
http://biggus.readthedocs.io/
GNU Lesser General Public License v3.0
54 stars 27 forks source link

Add Array.__orthogonal_indexing__ #142

Closed rhattersley closed 9 years ago

rhattersley commented 9 years ago

See Unidata/netcdf4-python#385 for context.

pelson commented 9 years ago

Really? Does NumpyArrayAdapter not implement non-orthogonal indexing?

rhattersley commented 9 years ago

Does NumpyArrayAdapter not implement non-orthogonal indexing?

I'm a little wary of the double negative, so how about this: all biggus arrays provide orthogonal indexing. (The point of the NumpyArrayAdapater is to provide orthogonal indexing even though the underlying array doesn't.)

pelson commented 9 years ago

The point of the NumpyArrayAdapater is to provide orthogonal indexing even though the underlying array doesn't

Ah, OK. Thanks for the clarification.

pelson commented 9 years ago

Incidentally, is there a need for OrthoArrayAdapter?

rhattersley commented 9 years ago

is there a need for OrthoArrayAdapter?

It makes the indexing deferred.