defaults
— default values for GRIB¶
Contains defaults for GRIB encoding.
- epygram.extra.griberies.defaults.GRIB2_keyvalue = {1: {'productionStatusOfProcessedData': 2, 'tablesVersion': 15, 'typeOfProcessedData': 2}, 2: {}, 3: {'iScansNegatively': 0, 'jPointsAreConsecutive': 0, 'jScansPositively': 0, 'shapeOfTheEarth': 6}, 4: {'NB': 1, 'generatingProcessIdentifier': 255, 'hoursAfterDataCutoff': None, 'indicatorOfUnitForTimeIncrement': 13, 'indicatorOfUnitForTimeRange': 13, 'indicatorOfUnitOfTimeRange': 13, 'instrumentType': 0, 'minutesAfterDataCutoff': None, 'satelliteNumber': 0, 'satelliteSeries': 0, 'scaleFactorOfCentralWaveNumber': 0, 'scaleFactorOfFirstFixedSurface': 0, 'scaleFactorOfSecondFixedSurface': 0, 'typeOfGeneratingProcess': 2, 'typeOfSecondFixedSurface': 255}, 5: {'bitsPerValue': 12, 'packingType': 'grid_second_order'}}¶
GRIB2 key/value defaults, ordered by section
- epygram.extra.griberies.defaults.GRIB2_metadata_to_embark = ['typeOfGeneratingProcess', 'productionStatusOfProcessedData', 'typeOfProcessedData', 'generatingProcessIdentifier', 'typeOfTimeIncrement', 'indicatorOfUnitOfTimeRange', 'indicatorOfUnitForTimeRange', 'indicatorOfUnitForTimeIncrement', 'hoursAfterDataCutoff', 'minutesAfterDataCutoff', 'timeIncrement', 'bitsPerValue', 'dataRepresentationTemplateNumber', 'uvRelativeToGrid']¶
metadata to embark in field.misc_metadata
- epygram.extra.griberies.defaults.GRIB1_sample = 'GRIB1_grid_second_order'¶
GRIB1 sample (from epygram)
- epygram.extra.griberies.defaults.GRIB1_packing = {'bitsPerValue': 16, 'packingType': 'grid_second_order'}¶
packing
- epygram.extra.griberies.defaults.GRIB1_ordering = {'iScansNegatively': 0, 'jPointsAreConsecutive': 0, 'jScansPositively': 0}¶
ordering
- epygram.extra.griberies.defaults.GRIB1_keyvalue = {'generatingProcessIdentifier': 255}¶
GRIB1 key/value defaults, ordered by section