description: Unit tests for swiftnav.sbp.ssr MsgSsrGriddedCorrectionBounds
generated_on: 2022-04-19 # manually generated
package: sbp.ssr
tests:

  - msg:
      c_decoded_fields:
        n_sats:
          handle_as: vararray-len
          relates_to: stec_sat_list
          value: 2
      fields:
        header:
          time:
            tow: 180
            wn: 3
          num_msgs: 1
          seq_num: 0
          update_interval: 10
          sol_id: 0
        ssr_iod_atmo: 15
        tile_set_id: 1
        tile_id: 10
        tropo_qi: 39
        grid_point_id: 1000
        tropo_delay_correction:
          hydro: 500
          wet: 100
          stddev: 200
        tropo_v_hydro_bound_mu: 150
        tropo_v_hydro_bound_sig: 100
        tropo_v_wet_bound_mu: 150
        tropo_v_wet_bound_sig: 100
        n_sats: 2
        stec_sat_list:
        - stec_residual:
            sv_id:
              satId: 5
              constellation: 10
            residual: 16
            stddev: 17
          stec_bound_mu: 18
          stec_bound_sig: 19
          stec_bound_mu_dot: 20
          stec_bound_sig_dot: 21
        - stec_residual:
            sv_id:
              satId: 6
              constellation: 10
            residual: 22
            stddev: 23
          stec_bound_mu: 24
          stec_bound_sig: 25
          stec_bound_mu_dot: 26
          stec_bound_sig_dot: 27
      module: sbp.ssr
      name: MsgSsrGriddedCorrectionBounds
    msg_type: '1534'
    raw_json: '{"header": {"time": {"tow": 180, "wn": 3}, "num_msgs": 1, "seq_num": 0, "update_interval": 10, "sol_id": 0},
    "ssr_iod_atmo": 15, "tile_set_id": 1, "tile_id": 10, "tropo_qi": 39, "grid_point_id": 1000, "tropo_delay_correction":
    {"hydro": 500, "wet": 100, "stddev": 200}, "tropo_v_hydro_bound_mu": 150, "tropo_v_hydro_bound_sig": 100,
    "tropo_v_wet_bound_mu": 150, "tropo_v_wet_bound_sig": 100, "n_sats": 2, "stec_sat_list":
    [{"stec_residual": {"sv_id": {"satId": 5, "constellation": 10}, "residual": 16, "stddev": 17}, "stec_bound_mu": 18,
    "stec_bound_sig": 19, "stec_bound_mu_dot": 20, "stec_bound_sig_dot": 21}, {"stec_residual": {"sv_id": {"satId": 6,
    "constellation": 10}, "residual": 22, "stddev": 23}, "stec_bound_mu": 24, "stec_bound_sig": 25, "stec_bound_mu_dot": 26,
    "stec_bound_sig_dot": 27}], "preamble": 85, "msg_type": 1534, "sender": 66, "length": 45,
    "payload": "tAAAAAMAAQAKAA8BAAoAJ+gD9AFkyJZklmQCBQoQABESExQVBgoWABcYGRob", "crc": 46828}'
    raw_packet: Vf4FQgAttAAAAAMAAQAKAA8BAAoAJ+gD9AFkyJZklmQCBQoQABESExQVBgoWABcYGRob7LY=
    sbp:
      preamble: '0x55'
      msg_type: '0x05FE'
      sender: '0x0042'
      length: 45
      payload: tAAAAAMAAQAKAA8BAAoAJ+gD9AFkyJZklmQCBQoQABESExQVBgoWABcYGRob
      crc: '0xB6EC'

  - msg:
      fields:
        header:
          time:
            tow: 180
            wn: 3
          num_msgs: 1
          seq_num: 0
          update_interval: 10
          sol_id: 0
        ssr_iod_atmo: 15
        tile_set_id: 1
        tile_id: 10
        tropo_qi: 39
        grid_point_id: 1000
        tropo_delay_correction:
          hydro: 500
          wet: 100
          stddev: 200
        tropo_v_hydro_bound_mu: 150
        tropo_v_hydro_bound_sig: 100
        tropo_v_wet_bound_mu: 150
        tropo_v_wet_bound_sig: 100
        n_sats: 0
        stec_sat_list: [ ]
      module: sbp.ssr
      name: MsgSsrGriddedCorrectionBounds
    msg_type: '1534'
    raw_json: '{"header": {"time": {"tow": 180, "wn": 3}, "num_msgs": 1, "seq_num": 0, "update_interval": 10, "sol_id": 0},
    "ssr_iod_atmo": 15, "tile_set_id": 1, "tile_id": 10, "tropo_qi": 39, "grid_point_id": 1000, "tropo_delay_correction":
    {"hydro": 500, "wet": 100, "stddev": 200}, "tropo_v_hydro_bound_mu": 150, "tropo_v_hydro_bound_sig": 100,
    "tropo_v_wet_bound_mu": 150, "tropo_v_wet_bound_sig": 100, "n_sats": 0, "stec_sat_list":
    [], "preamble": 85, "msg_type": 1534, "sender": 66, "length": 27,
    "payload": "tAAAAAMAAQAKAA8BAAoAJ+gD9AFkyJZklmQA", "crc": 9371}'
    raw_packet: Vf4FQgAbtAAAAAMAAQAKAA8BAAoAJ+gD9AFkyJZklmQAmyQ=
    sbp:
      preamble: '0x55'
      msg_type: '0x05FE'
      sender: '0x0042'
      length: 27
      payload: tAAAAAMAAQAKAA8BAAoAJ+gD9AFkyJZklmQA
      crc: '0x249B'
