rubem.validation.raster_data_rules.RasterDataRules

class RasterDataRules(*values)[source]

Bases: Flag

Enumeration class representing different rules for raster data.

Attributes

FORBID_ALL_ZEROES

Raster pixels cannot consist entirely of 0.0 values.

FORBID_ALL_ONES

Raster pixels cannot consist entirely of 1.0 values.

FORBID_NO_DATA

None of the raster pixels must contain NO_DATA values.

FORBID_OUT_OF_RANGE

Raster pixels must be within the specified valid range.

FORBID_ALL_ONES = 2

Raster pixels cannot consist entirely of 1.0 values.

FORBID_ALL_ZEROES = 1

Raster pixels cannot consist entirely of 0.0 values.

FORBID_NO_DATA = 4

None of the raster pixels must contain NO_DATA values.

FORBID_OUT_OF_RANGE = 8

Raster pixels must be within the specified valid range.