Create a sampler function for all-sky data in a “plate carrée” projection using ecliptic coordinates.
- dataarray-like, at least 2D
The map to sample in plate carrée projection.
- A function that samples the image. The call signature is
sampler(lon, lat) -> data, where the inputs and output are 2D arrays and
- lon and lat are in radians.