nansat icon indicating copy to clipboard operation
nansat copied to clipboard

Docstring is confusing in Domain method "get_pixelsize_meters"

Open jeong1park opened this issue 7 years ago • 1 comments

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).

jeong1park avatar Jan 30 '18 14:01 jeong1park

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

korvinos avatar Jan 30 '18 15:01 korvinos