Syntax: org(object = VAL [, org = BIL/BIP/BSQ])
The org() function reports or changes the data organization of an object. If used with only one argument, the data organization of the object specified is reported as a string. The return values are one of:
- "bil" - Band interleaved by line (XZY)
- "bip" - Band interleaved by pixel (ZXY)
- "bsq" - Band sequential (XYZ)
If the second, optional, argument is included, the object specified by the first argument is duplicated and converted to the specified organization.