Opened 8 years ago
Closed 8 years ago
#1493 closed enhancement (fixed)
transpose function not checking indices
Reported by: | bbell | Owned by: | bbell |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | conversion | Version: | development |
Keywords: | transpose, netcdf, gdal | Cc: | Dimitar Misev |
Complexity: | Medium |
Description
Expected behaviour:
when using the query option for encode/decode of {"transpose": [x,y]}, x and y are integers meant to describe the dimensions being transposed. In case x and y are not the last dimensions, transpose should throw an exception, e.g. "Transposing an MDA currently only applies the last two dimensions. Verify your dimension choices and try the query again."
Current behaviour:
including {"transpose": [x,y]} transposes the last two dimensions regardless of the input for x and y, so long as they are integers.
Note:
See TracTickets
for help on using tickets.
fixed!