-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Description
Lacking standards for this some netcdf files come with a complex dimension. Some python libraries support this:
https://unidata.github.io/netcdf4-python/#support-for-complex-numbers
But I don't think any julia libraries do?
It would be very general and flexible if we could do this at the DiskArrays level for any backend library, using reinterpret like Base julia arrays. This would turning small leading dimensions intro static arrays, tuples or structs like Complex.
Higher level packages like Rasters could have a keyword like reinterpet=:complex => Complex that would call reinterpret on load and swap the complex dimension to Complex numbers, or e.g. reinterpret=:band => RGB
Metadata
Metadata
Assignees
Labels
No labels