osmose.forcing.percid_habitat

Real perch/pikeperch habitat as a BINARY thin-littoral set: a cell is habitat iff a meaningful fraction (>= tau) of it is shallow littoral AND salinity permits. Binary (not fractional) so the habitat SET/AREA genuinely shrinks and is read unambiguously by the engine’s map semantics. Salinity gate on spawning; relaxed ceiling on adult/juvenile. Land -> -99.

Functions

percid_stage_map(frac, ocean, salinity, tau)

vacuity_ok(real_map, upsampled_percid_footprint)