Skip to main content

probe_cell

Function probe_cell 

Source
pub fn probe_cell(
    grid: &Grid,
    longitude: f64,
    latitude: f64,
) -> Option<ProbeCell>
Expand description

The cell a point reads, or None when it is off the grid (a regional model’s rectangle, a projected footprint, a satellite disk). On a regular grid the rules are the shell probe’s and the fragment shader’s (web/src/features/probe/probe.ts::probeCell).