BYTE_MULT = 256

RESERVED = 0
PAD_VALUE = 0
BUFR_EDITION = 2

MASTER_TABLE_CONST = 0
UPDATE_SEQUENCE_NUMBER_CONST = 0
MASTER_TABLE_VERSION_CONST = 12
LOCAL_TABLE_VERSION_CONST = 1
ORIGINATING_CENTER_CONST = 7
ORIGINATING_SUBCENTER_CONST = 3
DATA_TYPE_CONST = 11
DATA_SUBTYPE_CONST = 1

OBSERVATION = 1
NOT_OBSERVATION = 0
COMPRESS = 1
NOT_COMPRESS = 0

MAX_SECTION_LENGTH = 2**23 - 1

SECTION0_LENGTH = 8
SECTION1_LENGTH = 18
SECTION5_LENGTH = 4

SECTION2_BASE_LENGTH = 4
SECTION3_BASE_LENGTH = 7
SECTION4_BASE_LENGTH = 4

BIT_MASK = [0x80, 0x40, 0x20, 0x10, 0x08, 0x04, 0x02, 0x01]

MAX_FILE_NAME = 81
BUFR_FILE_LUN = 23

DATE_ARRAY_LEN = 5

