Create a sampler function for planetary data in a “plate carrée” projection.
This is the same as
plate_carree_sampler(), except that the X axis is mirrored: longitude increases to the right. This is generally what is desired for planetary surface maps (looking at a sphere from the outside) instead of sky maps (looking at a sphere from the inside).
- dataarray-like, at least 2D
The map to sample in plate carrée projection.
- A function that samples the image; the call signature is
vec2pix(lon, lat) -> data, where the inputs and output are 2D arrays
- and lon and lat are in radians.