-
Hi everyone, I am facing output pixel resolution related issue while accessing MODIS LST data. MODIS has 1 km (1000 m) per pixel resolution (this product MOD11A2), but when I access the data without specifying Here is a reproducible code, if anyone would like to try:
My TWO questions are: Any solution would be super helpful. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Using the scale parameter can be a valid approach, but note that the pixel scale (m/degree) varies with latitude. See: If you want more control over the pixel sizing and grid origin, you could pass a specific projection to |
Beta Was this translation helpful? Give feedback.
Using the scale parameter can be a valid approach, but note that the pixel scale (m/degree) varies with latitude. See:
https://en.wikipedia.org/wiki/Latitude#Meridian_distance_on_the_ellipsoid
At the latitude of the example region (~36 deg N), using scale=0.01 degrees will result in a pixel size that is approximately 1.1 km (N-S) by 0.9 km (E-W).
If you want more control over the pixel sizing and grid origin, you could pass a specific projection to
xr.open_dataset()
using theprojection
parameter.