Contour serial number with precipitation intensity levels. More...

Collaboration diagram for Data Item I008/040 - Contour Identifier:

Data Structures

struct  ast_dataitem_008_040_t
 Data Item I008/040 - Contour Identifier. More...

Macros

#define ast_dataitem_008_040_get_size   ast_dataitem_get_size_fixed_2_byte
 Get size function for I008/040.

Enumerations

enum  ast_weather_contour_record_position_t { AST_WEATHER_CONTOUR_INTERMEDIATE = 0 , AST_WEATHER_CONTOUR_LAST = 1 , AST_WEATHER_CONTOUR_FIRST = 2 , AST_WEATHER_CONTOUR_FIRST_AND_ONLY = 3 }
 Position of the record within a contour (FST/LST). More...

Functions

ast_dataitem_008_040_t ast_dataitem_008_040_decode (const ast_dataitem_t di)
 Decode function for I008/040.
void ast_dataitem_008_040_get_summary (char *summary, const size_t summary_size, const ast_dataitem_t di)
 Get summary function for I008/040.
void ast_dataitem_008_040_get_detail_html (char *detail, const size_t detail_size, const ast_dataitem_t di)
 Get detail function for I008/040.

Detailed Description

Contour serial number with precipitation intensity levels.

Format:
Two-octet fixed length Data Item
Structure:
  • Bit 16 (ORG): Coordinate system (0=Local, 1=System)
  • Bits 15-13 (I1/I2/I3): Intensity levels (range 0 to 7)
  • Bits 12-11: Spare bits set to 0
  • Bits 10-9 (FST/LST): Contour position indicator:
    • 00 = Intermediate record of a contour
    • 01 = Last record of a contour
    • 10 = First record of a contour
    • 11 = First and only record (fully defining a contour)
  • Bits 8-1: Contour Serial Number

Macro Definition Documentation

◆ ast_dataitem_008_040_get_size

#define ast_dataitem_008_040_get_size   ast_dataitem_get_size_fixed_2_byte

Get size function for I008/040.

Enumeration Type Documentation

◆ ast_weather_contour_record_position_t

Position of the record within a contour (FST/LST).

Enumerator
AST_WEATHER_CONTOUR_INTERMEDIATE 

Intermediate record of a contour.

AST_WEATHER_CONTOUR_LAST 

Last record of a contour of at least two records.

AST_WEATHER_CONTOUR_FIRST 

First record of a contour of at least two records.

AST_WEATHER_CONTOUR_FIRST_AND_ONLY 

First and only record, fully defining a contour.

Function Documentation

◆ ast_dataitem_008_040_decode()

ast_dataitem_008_040_t ast_dataitem_008_040_decode ( const ast_dataitem_t di)

Decode function for I008/040.

◆ ast_dataitem_008_040_get_detail_html()

void ast_dataitem_008_040_get_detail_html ( char * detail,
const size_t detail_size,
const ast_dataitem_t di )

Get detail function for I008/040.

◆ ast_dataitem_008_040_get_summary()

void ast_dataitem_008_040_get_summary ( char * summary,
const size_t summary_size,
const ast_dataitem_t di )

Get summary function for I008/040.