nansat
nansat copied to clipboard
Docstring is confusing in Domain method "get_pixelsize_meters"
In its docstring, it is written as: "Returns the pixelsize (deltaX, deltaY) of the domain"
Normally, X indicates horizontal axis and Y does vertical axis. For SAR images, I expected that X is range axis and Y is azimuth axis, but the return values from "get_pixelsize_meters" are ordered in (azimuth, range).
It is actually quite unclear how to do that properly. domain.shape returns (y, x) size of the band. As I understand, it has been done to satisfy numpy (in case of shape). Seems like there is no standard at all for that. At least in nansat