From 0d75c10b115305bb28e88833da91ad0fc02d6cb9 Mon Sep 17 00:00:00 2001 From: david-i-berry Date: Wed, 20 Sep 2023 20:27:08 +0200 Subject: [PATCH] Adjusted limits in AWS template. --- csv2bufr/templates/resources/aws-template.json | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/csv2bufr/templates/resources/aws-template.json b/csv2bufr/templates/resources/aws-template.json index dcc046a..7f0ea2d 100644 --- a/csv2bufr/templates/resources/aws-template.json +++ b/csv2bufr/templates/resources/aws-template.json @@ -31,8 +31,8 @@ {"eccodes_key": "#1#wigosLocalIdentifierCharacter", "value":"data:wsi_local"}, {"eccodes_key": "#1#latitude", "value": "data:latitude", "valid_min": "const:-90.0", "valid_max": "const:90.0"}, {"eccodes_key": "#1#longitude", "value": "data:longitude", "valid_min": "const:-180.0", "valid_max": "const:180.0"}, - {"eccodes_key": "#1#heightOfStationGroundAboveMeanSeaLevel", "value":"data:station_height_above_msl", "valid_min": "const:-500", "valid_max": "const:9000"}, - {"eccodes_key": "#1#heightOfBarometerAboveMeanSeaLevel", "value":"data:barometer_height_above_msl", "valid_min": "const:-500", "valid_max": "const:9000"}, + {"eccodes_key": "#1#heightOfStationGroundAboveMeanSeaLevel", "value":"data:station_height_above_msl", "valid_min": "const:-400", "valid_max": "const:9000"}, + {"eccodes_key": "#1#heightOfBarometerAboveMeanSeaLevel", "value":"data:barometer_height_above_msl", "valid_min": "const:-400", "valid_max": "const:9000"}, {"eccodes_key": "#1#blockNumber", "value": "data:wmo_block_number", "valid_min": "const:0", "valid_max": "const:99"}, {"eccodes_key": "#1#stationNumber", "value": "data:wmo_station_number", "valid_min": "const:0", "valid_max": "const:999"}, {"eccodes_key": "#1#stationType", "value": "data:station_type", "valid_min": "const:0", "valid_max": "const:3"}, @@ -43,11 +43,11 @@ {"eccodes_key": "#1#minute", "value": "data:minute", "valid_min": "const:0", "valid_max": "const:59"}, {"eccodes_key": "#1#nonCoordinatePressure", "value": "data:station_pressure", "valid_min": "const:50000", "valid_max": "const:150000"}, {"eccodes_key": "#1#pressureReducedToMeanSeaLevel", "value": "data:msl_pressure", "valid_min": "const:50000", "valid_max": "const:150000"}, - {"eccodes_key": "#1#nonCoordinateGeopotentialHeight", "value": "data:geopotential_height", "valid_min": "const:-4000", "valid_max": "const:1306710"}, + {"eccodes_key": "#1#nonCoordinateGeopotentialHeight", "value": "data:geopotential_height", "valid_min": "const:-1000", "valid_max": "const:130071"}, {"eccodes_key": "#1#heightOfSensorAboveLocalGroundOrDeckOfMarinePlatform", "value": "data:thermometer_height", "valid_min": "const:0", "valid_max": "const:655.35"}, {"eccodes_key": "#1#airTemperature", "value": "data:air_temperature", "valid_min": "const:193.15", "valid_max": "const:333.15"}, {"eccodes_key": "#1#dewpointTemperature", "value": "data:dewpoint_temperature", "valid_min": "const:193.15", "valid_max": "const:308.15"}, - {"eccodes_key": "#1#relativeHumidity", "value": "data:relative_humidity", "valid_min": "const:0", "valid_max": "const:150"}, + {"eccodes_key": "#1#relativeHumidity", "value": "data:relative_humidity", "valid_min": "const:0", "valid_max": "const:100"}, {"eccodes_key": "#1#methodOfStateOfGroundMeasurement", "value": "data:method_of_ground_state_measurement", "valid_min": "const:0", "valid_max": "const:15"}, {"eccodes_key": "#1#stateOfGround", "value": "data:ground_state", "valid_min": "const:0", "valid_max": "const:31"}, {"eccodes_key": "#1#methodOfSnowDepthMeasurement", "value": "data:method_of_snow_depth_measurement", "valid_min": "const:0", "valid_max": "const:15"}, @@ -70,13 +70,13 @@ {"eccodes_key": "#8#heightOfSensorAboveLocalGroundOrDeckOfMarinePlatform", "value": "data:rain_sensor_height", "valid_min": "const:0", "valid_max": "const:655.35"}, {"eccodes_key": "#17#timePeriod", "value": "const:-1", "valid_min": "const:-1", "valid_max": "const:-1"}, {"eccodes_key": "#1#totalPrecipitationOrTotalWaterEquivalent", "value": "data:total_precipitation_1_hour", "valid_min": "const:-0.1", "valid_max": "const:1638.2"}, - {"eccodes_key": "#18#timePeriod", "value": "const:-3", "valid_min": "const:0", "valid_max": "const:0"}, + {"eccodes_key": "#18#timePeriod", "value": "const:-3", "valid_min": "const:-3", "valid_max": "const:-3"}, {"eccodes_key": "#2#totalPrecipitationOrTotalWaterEquivalent", "value": "data:total_precipitation_3_hours", "valid_min": "const:-0.1", "valid_max": "const:1638.2"}, - {"eccodes_key": "#19#timePeriod", "value": "const:-6", "valid_min": "const:0", "valid_max": "const:0"}, + {"eccodes_key": "#19#timePeriod", "value": "const:-6", "valid_min": "const:-6", "valid_max": "const:-6"}, {"eccodes_key": "#3#totalPrecipitationOrTotalWaterEquivalent", "value": "data:total_precipitation_6_hours", "valid_min": "const:-0.1", "valid_max": "const:1638.2"}, - {"eccodes_key": "#20#timePeriod", "value": "const:-12", "valid_min": "const:0", "valid_max": "const:0"}, + {"eccodes_key": "#20#timePeriod", "value": "const:-12", "valid_min": "const:-12", "valid_max": "const:-12"}, {"eccodes_key": "#4#totalPrecipitationOrTotalWaterEquivalent", "value": "data:total_precipitation_12_hours", "valid_min": "const:-0.1", "valid_max": "const:1638.2"}, - {"eccodes_key": "#21#timePeriod", "value": "const:-24", "valid_min": "const:0", "valid_max": "const:0"}, + {"eccodes_key": "#21#timePeriod", "value": "const:-24", "valid_min": "const:-24", "valid_max": "const:-24"}, {"eccodes_key": "#5#totalPrecipitationOrTotalWaterEquivalent", "value": "data:total_precipitation_24_hours", "valid_min": "const:-0.1", "valid_max": "const:1638.2"} ] } \ No newline at end of file