is_clipped() reports whether a clip polygon was supplied to
preprocess_species() when the model was built.
Value
A logical scalar: TRUE if a clip was applied, FALSE if the
model was preprocessed without clipping, or NA if the metadata is
missing (legacy models).
Details
Returns NA for models built before clip metadata was recorded — there
is no way to recover this information from older HDF5 / RDS files. Use
get_clip() to retrieve the polygon itself.
Examples
library(BirdFlowModels)
is_clipped(amewoo) # NA — fixture predates clip metadata
#> [1] NA
