plate_carree_ecliptic_sampler

toasty.samplers.plate_carree_ecliptic_sampler(data)[source]

Create a sampler function for all-sky data in a “plate carrée” projection using ecliptic coordinates.

Parameters
dataarray-like, at least 2D

The map to sample in plate carrée projection.

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