DAYCLI BUFR encoder#

Pygeoapi process to encode json encoded DAYCLI data to BUFR.

API definition#

POST /processes/daycli-encoder/execution#

Process daycli-encoder execution

Process to convert DAYCLI data to BUFR

Request JSON Object:
  • type (string:enum) – Feature

  • geometry (object) –

  • geometry.type (string:enum, required) – Type of feature (Point).

  • geometry.coordinates[] (number) – The coordinates of the feature. (required)

  • properties (object) –

  • properties.metadata (object) –

  • properties.metadata.data_identification (object) –

  • properties.metadata.data_identification.originating_centre (integer) – The originating centre of the data. See Common Code Table C-11.

  • properties.metadata.data_identification.originating_subcentre (integer) – The originating sub-centre of the data. See Common Code Table C-12.

  • properties.metadata.station_identification (object) –

  • properties.metadata.station_identification.wigos_identifier (string) – The WIGOS identifier assigned to the station, e.g. ‘0-20000-0-AQBC’.

  • properties.metadata.station_location (object) –

  • properties.metadata.station_location.station_height_above_sea_level (number) – Height (meters) of the station ground above mean sea level.

  • properties.metadata.station_location.thermometer_height_above_local_ground (number) – Height (meters) of the thermometer above local ground.

  • properties.metadata.station_location.latitude (number) – Latitude (degrees N) of the station, -90 to 90.

  • properties.metadata.station_location.longitude (number) – Longitude (degrees E) of the station, -180 to 180.

  • properties.metadata.observing_practices (object) –

  • properties.metadata.observing_practices.minimum_temperature_day_offset (integer) – Offset in days relative to nominal reporting day for the start of the minimum temperature observation (-1 or 0).

  • properties.metadata.observing_practices.maximum_temperature_day_offset (integer) – Offset in days relative to nominal reporting day for the start of the maximum temperature observation (-1 or 0).

  • properties.metadata.observing_practices.mean_temperature_day_offset (integer) – Offset in days relative to nominal reporting day for the start of the mean temperature observation (-1 or 0).

  • properties.metadata.observing_practices.total_precipitation_day_offset (integer) – Offset in days relative to nominal reporting day for the start of the total precipitation observation (-1 or 0).

  • properties.metadata.observing_practices.total_snow_depth_day_offset (integer) – Offset in days relative to nominal reporting day for the start of the total snow depth observation (-1 or 0).

  • properties.metadata.observing_practices.fresh_snow_depth_day_offset (integer) – Offset in days relative to nominal reporting day for the start of the fresh snow depth observation (-1 or 0).

  • properties.metadata.observing_practices.minimum_temperature_start_time (string:time) – Start time (UTC) of the 24 hour period over which the minimum temperature is observed.

  • properties.metadata.observing_practices.maximum_temperature_start_time (string:time) – Start time (UTC) of the 24 hour period over which the maximum temperature is observed.

  • properties.metadata.observing_practices.mean_temperature_start_time (string:time) – Start time (UTC) of the 24 hour period over which the mean temperature is observed.

  • properties.metadata.observing_practices.total_precipitation_start_time (string:time) – Start time (UTC) of the 24 hour period over which the total precipitation is observed.

  • properties.metadata.observing_practices.total_snow_depth_start_time (string:time) – Start time (UTC) of the 24 hour period over which the total snow depth is observed.

  • properties.metadata.observing_practices.fresh_snow_depth_start_time (string:time) – Start time (UTC) of the 24 hour period over which the fresh snow depth is observed.

  • properties.metadata.observing_practices.method_of_calculating_mean_temperature (integer) – Method used to calculate daily average temperature.

  • properties.metadata.measurement_quality (object) –

  • properties.metadata.measurement_quality.thermometer_siting_classification (integer) – Sensor siting classification (see WMO-no. 8).

  • properties.metadata.measurement_quality.thermometer_measurement_quality (integer) – Sensor measurement quality classification (see WMO-no. 8).

  • properties.metadata.measurement_quality.rain_gauge_siting_classification (integer) – Sensor siting classification (see WMO-no. 8).

  • properties.metadata.measurement_quality.rain_gauge_measurement_quality (integer) – Sensor measurement quality classification (see WMO-no. 8).

  • properties.data[] (object) –

  • properties.data[].nominal_reporting_day (string:date) – Nominal reporting day (UTC) for the DAYCLI report.

  • properties.data[].total_accumulated_precipitation_flag (integer) – Quality control flag for total accumulated precipitation. See BUFR Code Table 0 31 021, code figure 5.

  • properties.data[].total_accumulated_precipitation (number) – Total accumulated precipitation (kg m-2) over indicated 24 hour period.

  • properties.data[].fresh_snow_depth_flag (integer) – Quality control flag for fresh snow depth. See BUFR Code Table 0 31 021. See BUFR Code Table 0 31 021, code figure 5.

  • properties.data[].fresh_snow_depth (number) – Fresh snow accumulation (m) over the indicated 24 hour period.

  • properties.data[].total_snow_depth_flag (integer) – Quality control flag for total snow depth. See BUFR Code Table 0 31 021. See BUFR Code Table 0 31 021, code figure 5.

  • properties.data[].total_snow_depth (number) – Total snow depth (m).

  • properties.data[].minimum_temperature_flag (integer) – Quality control flag for minimum temperature. See BUFR Code Table 0 31 021. See BUFR Code Table 0 31 021, code figure 5.

  • properties.data[].minimum_temperature (number) – Minimum temperature (degrees Celsius) observed over the indicated 24 hour period.

  • properties.data[].maximum_temperature_flag (integer) – Quality control flag for maximum temperature. See BUFR Code Table 0 31 021. See BUFR Code Table 0 31 021, code figure 5.

  • properties.data[].maximum_temperature (number) – Maximum temperature (degrees Celsius) observed over the indicated 24 hour period.

  • properties.data[].mean_temperature_flag (integer) – Quality control flag for mean temperature. See BUFR Code Table 0 31 021. See BUFR Code Table 0 31 021, code figure 5.

  • properties.data[].mean_temperature (number) – Mean temperature (degrees Celsius) calculated over the indicated 24 hour period and using the method specified by the ‘method_of_calculating_mean_temperature’ flag.

Response JSON Object:
  • messages[] (string) – BUFR encoding of input data, one day per message.

  • errors[] (string) – Error log.

Status Codes:

Implementation status#

Implemented.