Reprojection issues, not sure what I am doing wrong #853
Replies: 2 comments
-
I came up with a rather unsophisticated solution, where I have padded the initial ds with Nan values for latitude -80 to -90, and then clip the ds for the min/max in ESPG:3857 before the reprojection. When I generate an image from this, and put it on top of a 3857 map, it seems fairly correct. However, I would be very happy if someone would comment on my approach.
|
Beta Was this translation helpful? Give feedback.
-
most likely because of |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am trying to reproject a (almost) global xarray from EPSG:4326 to EPSG:3857. The problem is that the 3857 projection looks strange when overlaid to a map, like if everything is 20 degrees too far south. When I look at the bounds for before-and-after, there seems to be something wrong with the min_y, since it's -80 in the initial ds, and -15... in the reprojected one, but looking at the image it seems like it's drawn all the way to -85, and everythings distorted somehow.
Anyone able to spot what i am doing wrong? Or maybe know how i can force the reprojection onto a full-bounded 3857 proj (-20037508, -20037508, 20037508, 20037508)?
After reprojection:


Before reprojection:
Beta Was this translation helpful? Give feedback.
All reactions