#!/usr/bin/env pytest
###############################################################################
#
# Project:  GDAL/OGR Test Suite
# Purpose:  Test SAR_CEOS driver.
# Author:   Even Rouault <even dot rouault at spatialys.com>
#
###############################################################################
# Copyright (c) 2009, Even Rouault <even dot rouault at spatialys.com>
#
# SPDX-License-Identifier: MIT
###############################################################################

import gdaltest
import pytest

from osgeo import gdal

###############################################################################


@gdaltest.disable_exceptions()
def test_sar_ceos_app_1():
    tst = gdaltest.GDALTest(
        "SAR_CEOS", "data/sar_ceos/ottawa_patch.img", 1, -1, filename_absolute=1
    )
    tst.testOpen()


@gdaltest.disable_exceptions()
def test_sar_ceos_asf_2():
    tst = gdaltest.GDALTest(
        "SAR_CEOS", "data/sar_ceos/R1_26161_FN1_F164.D", 1, -1, filename_absolute=1
    )
    tst.testOpen()


@pytest.mark.network
@pytest.mark.require_curl
def test_sar_ceos_alos2_L1_1():
    url = "https://www.eorc.jaxa.jp/ALOS-2/en/doc/sampledata/stripmap3m/stripmap3m_L1.1_CEOS.zip"

    if gdaltest.gdalurlopen(url, timeout=5) is None:
        pytest.skip(f"Could not read from {url}")

    with gdaltest.error_raised(gdal.CE_None):
        ds = gdal.Open(
            f"/vsizip//vsicurl/{url}/ud2_L1.1_CEOS/IMG-HH-ALOS2403684200-200620-UBSL1.1__D"
        )

    assert ds.RasterXSize == 25600
    assert ds.RasterYSize == 32971
    assert ds.RasterCount == 1
    assert ds.GetRasterBand(1).DataType == gdal.GDT_CFloat32
    md = ds.GetMetadata()
    count_removed = 0
    for key in list(md.keys()):
        if key.startswith("CEOS_PLATFORM_POS_VECTOR_"):
            del md[key]
            count_removed += 1
    assert count_removed == int(md["CEOS_PLATFORM_POS_NUMBER_POINTS"]) * 6
    assert md == {
        "CEOS_LOGICAL_VOLUME_ID": "AL2SAR20140212",
        "CEOS_PROCESSING_FACILITY": "SCMO",
        "CEOS_PROCESSING_AGENCY": "JAXA",
        "CEOS_PROCESSING_COUNTRY": "JAPAN",
        "CEOS_SOFTWARE_ID": "0.00",
        "CEOS_VOLSET_ID": "ALOS2  SAR",
        "CEOS_ACQUISITION_TIME": "20200620103907093",
        "CEOS_ELLIPSOID": "GRS80",
        "CEOS_SEMI_MAJOR": "6378.1370000",
        "CEOS_SEMI_MINOR": "6356.7523141",
        "CEOS_MISSION_ID": "ALOS2",
        "CEOS_SENSOR_ID": "ALOS2 -L -0115-",
        "CEOS_ORBIT_NUMBER": "40368",
        "CEOS_SENSOR_CLOCK_ANGLE": "-90.000",
        "CEOS_INC_ANGLE": "35.631",
        "CEOS_FACILITY": "SCMO",
        "CEOS_LINE_SPACING_METERS": "1.4304222",
        "CEOS_PIXEL_SPACING_METERS": "2.1960598",
        "CEOS_PLATFORM_POS_ORBITAL_ELEMENTS_DESIGNATOR": "1",
        "CEOS_PLATFORM_POS_ORBITAL_ELEMENT_1": "-4495304.2025414",
        "CEOS_PLATFORM_POS_ORBITAL_ELEMENT_2": "4098995.0010040",
        "CEOS_PLATFORM_POS_ORBITAL_ELEMENT_3": "-3475116.6432402",
        "CEOS_PLATFORM_POS_ORBITAL_ELEMENT_4": "3779.0951666",
        "CEOS_PLATFORM_POS_ORBITAL_ELEMENT_5": "-1344.2028438",
        "CEOS_PLATFORM_POS_ORBITAL_ELEMENT_6": "-6474.0225670",
        "CEOS_PLATFORM_POS_NUMBER_POINTS": "28",
        "CEOS_PLATFORM_POS_YEAR_POINT_1": "2020",
        "CEOS_PLATFORM_POS_MONTH_POINT_1": "6",
        "CEOS_PLATFORM_POS_DAY_POINT_1": "20",
        "CEOS_PLATFORM_POS_DAY_IN_YEAR_POINT_1": "172",
        "CEOS_PLATFORM_POS_SECONDS_OF_DAY_POINT_1": "3.750600000000000E+04",
        "CEOS_PLATFORM_POS_TIME_INTERVAL_SECONDS": "6.000000000000000E+01",
        "CEOS_PLATFORM_POS_REF_COORD_SYS": "ECR",
        "CEOS_PLATFORM_POS_ALONG_TRACK_POS_ERROR_METERS": "0.0000000",
        "CEOS_PLATFORM_POS_ACROSS_TRACK_POS_ERROR_METERS": "0.0000000",
        "CEOS_PLATFORM_POS_RADIAL_POS_ERROR_METERS": "0.0000000",
        "CEOS_PLATFORM_POS_ALONG_TRACK_VELOCITY_ERROR_METERS_PER_SEC": "0.0000000",
        "CEOS_PLATFORM_POS_ACROSS_TRACK_VELOCITY_ERROR_METERS_PER_SEC": "0.0000000",
        "CEOS_PLATFORM_POS_RADIAL_VELOCITY_ERROR_METERS_PER_SEC": "0.0000000",
        "CEOS_PLATFORM_POS_LEAP_SECOND": "0",
        "CEOS_PLATFORM_ATT_NUMBER_POINTS": "22",
        "CEOS_PLATFORM_ATT_DAY_OF_YEAR_POINT_1": "172",
        "CEOS_PLATFORM_ATT_MILLISECOND_OF_DAY_POINT_1": "38336000",
        "CEOS_PLATFORM_ATT_PITCH_QUALITY_FLAG_POINT_1": "0",
        "CEOS_PLATFORM_ATT_ROLL_QUALITY_FLAG_POINT_1": "0",
        "CEOS_PLATFORM_ATT_YAW_QUALITY_FLAG_POINT_1": "0",
        "CEOS_PLATFORM_ATT_PITCH_DEG_POINT_1": "6.202595E-06",
        "CEOS_PLATFORM_ATT_ROLL_DEG_POINT_1": "-1.278537E-05",
        "CEOS_PLATFORM_ATT_YAW_DEG_POINT_1": "3.438530E+00",
        "CEOS_PLATFORM_ATT_PITCH_RATE_QUALITY_FLAG_POINT_1": "0",
        "CEOS_PLATFORM_ATT_ROL_RATE_QUALITY_FLAG_POINT_1": "0",
        "CEOS_PLATFORM_ATT_YAW_RATE_QUALITY_FLAG_POINT_1": "0",
        "CEOS_PLATFORM_ATT_PITCH_RATE_POINT_1": "0.000000E+00",
        "CEOS_PLATFORM_ATT_ROLL_RATE_POINT_1": "0.000000E+00",
        "CEOS_PLATFORM_ATT_YAW_RATE_POINT_1": "0.000000E+00",
        "CEOS_PLATFORM_ATT_DAY_OF_YEAR_POINT_2": "172",
        "CEOS_PLATFORM_ATT_MILLISECOND_OF_DAY_POINT_2": "38337000",
        "CEOS_PLATFORM_ATT_PITCH_QUALITY_FLAG_POINT_2": "0",
        "CEOS_PLATFORM_ATT_ROLL_QUALITY_FLAG_POINT_2": "0",
        "CEOS_PLATFORM_ATT_YAW_QUALITY_FLAG_POINT_2": "0",
        "CEOS_PLATFORM_ATT_PITCH_DEG_POINT_2": "6.216268E-06",
        "CEOS_PLATFORM_ATT_ROLL_DEG_POINT_2": "-1.288045E-05",
        "CEOS_PLATFORM_ATT_YAW_DEG_POINT_2": "3.436685E+00",
        "CEOS_PLATFORM_ATT_PITCH_RATE_QUALITY_FLAG_POINT_2": "0",
        "CEOS_PLATFORM_ATT_ROL_RATE_QUALITY_FLAG_POINT_2": "0",
        "CEOS_PLATFORM_ATT_YAW_RATE_QUALITY_FLAG_POINT_2": "0",
        "CEOS_PLATFORM_ATT_PITCH_RATE_POINT_2": "0.000000E+00",
        "CEOS_PLATFORM_ATT_ROLL_RATE_POINT_2": "0.000000E+00",
        "CEOS_PLATFORM_ATT_YAW_RATE_POINT_2": "0.000000E+00",
        "CEOS_PLATFORM_ATT_DAY_OF_YEAR_POINT_3": "172",
        "CEOS_PLATFORM_ATT_MILLISECOND_OF_DAY_POINT_3": "38338000",
        "CEOS_PLATFORM_ATT_PITCH_QUALITY_FLAG_POINT_3": "0",
        "CEOS_PLATFORM_ATT_ROLL_QUALITY_FLAG_POINT_3": "0",
        "CEOS_PLATFORM_ATT_YAW_QUALITY_FLAG_POINT_3": "0",
        "CEOS_PLATFORM_ATT_PITCH_DEG_POINT_3": "6.227618E-06",
        "CEOS_PLATFORM_ATT_ROLL_DEG_POINT_3": "-1.296451E-05",
        "CEOS_PLATFORM_ATT_YAW_DEG_POINT_3": "3.434836E+00",
        "CEOS_PLATFORM_ATT_PITCH_RATE_QUALITY_FLAG_POINT_3": "0",
        "CEOS_PLATFORM_ATT_ROL_RATE_QUALITY_FLAG_POINT_3": "0",
        "CEOS_PLATFORM_ATT_YAW_RATE_QUALITY_FLAG_POINT_3": "0",
        "CEOS_PLATFORM_ATT_PITCH_RATE_POINT_3": "0.000000E+00",
        "CEOS_PLATFORM_ATT_ROLL_RATE_POINT_3": "0.000000E+00",
        "CEOS_PLATFORM_ATT_YAW_RATE_POINT_3": "0.000000E+00",
        "CEOS_PLATFORM_ATT_DAY_OF_YEAR_POINT_4": "172",
        "CEOS_PLATFORM_ATT_MILLISECOND_OF_DAY_POINT_4": "38339000",
        "CEOS_PLATFORM_ATT_PITCH_QUALITY_FLAG_POINT_4": "0",
        "CEOS_PLATFORM_ATT_ROLL_QUALITY_FLAG_POINT_4": "0",
        "CEOS_PLATFORM_ATT_YAW_QUALITY_FLAG_POINT_4": "0",
        "CEOS_PLATFORM_ATT_PITCH_DEG_POINT_4": "6.236850E-06",
        "CEOS_PLATFORM_ATT_ROLL_DEG_POINT_4": "-1.303754E-05",
        "CEOS_PLATFORM_ATT_YAW_DEG_POINT_4": "3.432983E+00",
        "CEOS_PLATFORM_ATT_PITCH_RATE_QUALITY_FLAG_POINT_4": "0",
        "CEOS_PLATFORM_ATT_ROL_RATE_QUALITY_FLAG_POINT_4": "0",
        "CEOS_PLATFORM_ATT_YAW_RATE_QUALITY_FLAG_POINT_4": "0",
        "CEOS_PLATFORM_ATT_PITCH_RATE_POINT_4": "0.000000E+00",
        "CEOS_PLATFORM_ATT_ROLL_RATE_POINT_4": "0.000000E+00",
        "CEOS_PLATFORM_ATT_YAW_RATE_POINT_4": "0.000000E+00",
        "CEOS_PLATFORM_ATT_DAY_OF_YEAR_POINT_5": "172",
        "CEOS_PLATFORM_ATT_MILLISECOND_OF_DAY_POINT_5": "38340000",
        "CEOS_PLATFORM_ATT_PITCH_QUALITY_FLAG_POINT_5": "0",
        "CEOS_PLATFORM_ATT_ROLL_QUALITY_FLAG_POINT_5": "0",
        "CEOS_PLATFORM_ATT_YAW_QUALITY_FLAG_POINT_5": "0",
        "CEOS_PLATFORM_ATT_PITCH_DEG_POINT_5": "6.244122E-06",
        "CEOS_PLATFORM_ATT_ROLL_DEG_POINT_5": "-1.309949E-05",
        "CEOS_PLATFORM_ATT_YAW_DEG_POINT_5": "3.431125E+00",
        "CEOS_PLATFORM_ATT_PITCH_RATE_QUALITY_FLAG_POINT_5": "0",
        "CEOS_PLATFORM_ATT_ROL_RATE_QUALITY_FLAG_POINT_5": "0",
        "CEOS_PLATFORM_ATT_YAW_RATE_QUALITY_FLAG_POINT_5": "0",
        "CEOS_PLATFORM_ATT_PITCH_RATE_POINT_5": "0.000000E+00",
        "CEOS_PLATFORM_ATT_ROLL_RATE_POINT_5": "0.000000E+00",
        "CEOS_PLATFORM_ATT_YAW_RATE_POINT_5": "0.000000E+00",
        "CEOS_PLATFORM_ATT_DAY_OF_YEAR_POINT_6": "172",
        "CEOS_PLATFORM_ATT_MILLISECOND_OF_DAY_POINT_6": "38341000",
        "CEOS_PLATFORM_ATT_PITCH_QUALITY_FLAG_POINT_6": "0",
        "CEOS_PLATFORM_ATT_ROLL_QUALITY_FLAG_POINT_6": "0",
        "CEOS_PLATFORM_ATT_YAW_QUALITY_FLAG_POINT_6": "0",
        "CEOS_PLATFORM_ATT_PITCH_DEG_POINT_6": "6.249630E-06",
        "CEOS_PLATFORM_ATT_ROLL_DEG_POINT_6": "-1.315034E-05",
        "CEOS_PLATFORM_ATT_YAW_DEG_POINT_6": "3.429263E+00",
        "CEOS_PLATFORM_ATT_PITCH_RATE_QUALITY_FLAG_POINT_6": "0",
        "CEOS_PLATFORM_ATT_ROL_RATE_QUALITY_FLAG_POINT_6": "0",
        "CEOS_PLATFORM_ATT_YAW_RATE_QUALITY_FLAG_POINT_6": "0",
        "CEOS_PLATFORM_ATT_PITCH_RATE_POINT_6": "0.000000E+00",
        "CEOS_PLATFORM_ATT_ROLL_RATE_POINT_6": "0.000000E+00",
        "CEOS_PLATFORM_ATT_YAW_RATE_POINT_6": "0.000000E+00",
        "CEOS_PLATFORM_ATT_DAY_OF_YEAR_POINT_7": "172",
        "CEOS_PLATFORM_ATT_MILLISECOND_OF_DAY_POINT_7": "38342000",
        "CEOS_PLATFORM_ATT_PITCH_QUALITY_FLAG_POINT_7": "0",
        "CEOS_PLATFORM_ATT_ROLL_QUALITY_FLAG_POINT_7": "0",
        "CEOS_PLATFORM_ATT_YAW_QUALITY_FLAG_POINT_7": "0",
        "CEOS_PLATFORM_ATT_PITCH_DEG_POINT_7": "6.253556E-06",
        "CEOS_PLATFORM_ATT_ROLL_DEG_POINT_7": "-1.319005E-05",
        "CEOS_PLATFORM_ATT_YAW_DEG_POINT_7": "3.427396E+00",
        "CEOS_PLATFORM_ATT_PITCH_RATE_QUALITY_FLAG_POINT_7": "0",
        "CEOS_PLATFORM_ATT_ROL_RATE_QUALITY_FLAG_POINT_7": "0",
        "CEOS_PLATFORM_ATT_YAW_RATE_QUALITY_FLAG_POINT_7": "0",
        "CEOS_PLATFORM_ATT_PITCH_RATE_POINT_7": "0.000000E+00",
        "CEOS_PLATFORM_ATT_ROLL_RATE_POINT_7": "0.000000E+00",
        "CEOS_PLATFORM_ATT_YAW_RATE_POINT_7": "0.000000E+00",
        "CEOS_PLATFORM_ATT_DAY_OF_YEAR_POINT_8": "172",
        "CEOS_PLATFORM_ATT_MILLISECOND_OF_DAY_POINT_8": "38343000",
        "CEOS_PLATFORM_ATT_PITCH_QUALITY_FLAG_POINT_8": "0",
        "CEOS_PLATFORM_ATT_ROLL_QUALITY_FLAG_POINT_8": "0",
        "CEOS_PLATFORM_ATT_YAW_QUALITY_FLAG_POINT_8": "0",
        "CEOS_PLATFORM_ATT_PITCH_DEG_POINT_8": "6.256079E-06",
        "CEOS_PLATFORM_ATT_ROLL_DEG_POINT_8": "-1.321859E-05",
        "CEOS_PLATFORM_ATT_YAW_DEG_POINT_8": "3.425525E+00",
        "CEOS_PLATFORM_ATT_PITCH_RATE_QUALITY_FLAG_POINT_8": "0",
        "CEOS_PLATFORM_ATT_ROL_RATE_QUALITY_FLAG_POINT_8": "0",
        "CEOS_PLATFORM_ATT_YAW_RATE_QUALITY_FLAG_POINT_8": "0",
        "CEOS_PLATFORM_ATT_PITCH_RATE_POINT_8": "0.000000E+00",
        "CEOS_PLATFORM_ATT_ROLL_RATE_POINT_8": "0.000000E+00",
        "CEOS_PLATFORM_ATT_YAW_RATE_POINT_8": "0.000000E+00",
        "CEOS_PLATFORM_ATT_DAY_OF_YEAR_POINT_9": "172",
        "CEOS_PLATFORM_ATT_MILLISECOND_OF_DAY_POINT_9": "38344000",
        "CEOS_PLATFORM_ATT_PITCH_QUALITY_FLAG_POINT_9": "0",
        "CEOS_PLATFORM_ATT_ROLL_QUALITY_FLAG_POINT_9": "0",
        "CEOS_PLATFORM_ATT_YAW_QUALITY_FLAG_POINT_9": "0",
        "CEOS_PLATFORM_ATT_PITCH_DEG_POINT_9": "6.257373E-06",
        "CEOS_PLATFORM_ATT_ROLL_DEG_POINT_9": "-1.323592E-05",
        "CEOS_PLATFORM_ATT_YAW_DEG_POINT_9": "3.423650E+00",
        "CEOS_PLATFORM_ATT_PITCH_RATE_QUALITY_FLAG_POINT_9": "0",
        "CEOS_PLATFORM_ATT_ROL_RATE_QUALITY_FLAG_POINT_9": "0",
        "CEOS_PLATFORM_ATT_YAW_RATE_QUALITY_FLAG_POINT_9": "0",
        "CEOS_PLATFORM_ATT_PITCH_RATE_POINT_9": "0.000000E+00",
        "CEOS_PLATFORM_ATT_ROLL_RATE_POINT_9": "0.000000E+00",
        "CEOS_PLATFORM_ATT_YAW_RATE_POINT_9": "0.000000E+00",
        "CEOS_PLATFORM_ATT_DAY_OF_YEAR_POINT_10": "172",
        "CEOS_PLATFORM_ATT_MILLISECOND_OF_DAY_POINT_10": "38345000",
        "CEOS_PLATFORM_ATT_PITCH_QUALITY_FLAG_POINT_10": "0",
        "CEOS_PLATFORM_ATT_ROLL_QUALITY_FLAG_POINT_10": "0",
        "CEOS_PLATFORM_ATT_YAW_QUALITY_FLAG_POINT_10": "0",
        "CEOS_PLATFORM_ATT_PITCH_DEG_POINT_10": "6.257640E-06",
        "CEOS_PLATFORM_ATT_ROLL_DEG_POINT_10": "-1.324203E-05",
        "CEOS_PLATFORM_ATT_YAW_DEG_POINT_10": "3.421771E+00",
        "CEOS_PLATFORM_ATT_PITCH_RATE_QUALITY_FLAG_POINT_10": "0",
        "CEOS_PLATFORM_ATT_ROL_RATE_QUALITY_FLAG_POINT_10": "0",
        "CEOS_PLATFORM_ATT_YAW_RATE_QUALITY_FLAG_POINT_10": "0",
        "CEOS_PLATFORM_ATT_PITCH_RATE_POINT_10": "0.000000E+00",
        "CEOS_PLATFORM_ATT_ROLL_RATE_POINT_10": "0.000000E+00",
        "CEOS_PLATFORM_ATT_YAW_RATE_POINT_10": "0.000000E+00",
        "CEOS_PLATFORM_ATT_DAY_OF_YEAR_POINT_11": "172",
        "CEOS_PLATFORM_ATT_MILLISECOND_OF_DAY_POINT_11": "38346000",
        "CEOS_PLATFORM_ATT_PITCH_QUALITY_FLAG_POINT_11": "0",
        "CEOS_PLATFORM_ATT_ROLL_QUALITY_FLAG_POINT_11": "0",
        "CEOS_PLATFORM_ATT_YAW_QUALITY_FLAG_POINT_11": "0",
        "CEOS_PLATFORM_ATT_PITCH_DEG_POINT_11": "6.257043E-06",
        "CEOS_PLATFORM_ATT_ROLL_DEG_POINT_11": "-1.323686E-05",
        "CEOS_PLATFORM_ATT_YAW_DEG_POINT_11": "3.419887E+00",
        "CEOS_PLATFORM_ATT_PITCH_RATE_QUALITY_FLAG_POINT_11": "0",
        "CEOS_PLATFORM_ATT_ROL_RATE_QUALITY_FLAG_POINT_11": "0",
        "CEOS_PLATFORM_ATT_YAW_RATE_QUALITY_FLAG_POINT_11": "0",
        "CEOS_PLATFORM_ATT_PITCH_RATE_POINT_11": "0.000000E+00",
        "CEOS_PLATFORM_ATT_ROLL_RATE_POINT_11": "0.000000E+00",
        "CEOS_PLATFORM_ATT_YAW_RATE_POINT_11": "0.000000E+00",
        "CEOS_PLATFORM_ATT_DAY_OF_YEAR_POINT_12": "172",
        "CEOS_PLATFORM_ATT_MILLISECOND_OF_DAY_POINT_12": "38347000",
        "CEOS_PLATFORM_ATT_PITCH_QUALITY_FLAG_POINT_12": "0",
        "CEOS_PLATFORM_ATT_ROLL_QUALITY_FLAG_POINT_12": "0",
        "CEOS_PLATFORM_ATT_YAW_QUALITY_FLAG_POINT_12": "0",
        "CEOS_PLATFORM_ATT_PITCH_DEG_POINT_12": "6.255769E-06",
        "CEOS_PLATFORM_ATT_ROLL_DEG_POINT_12": "-1.322040E-05",
        "CEOS_PLATFORM_ATT_YAW_DEG_POINT_12": "3.417999E+00",
        "CEOS_PLATFORM_ATT_PITCH_RATE_QUALITY_FLAG_POINT_12": "0",
        "CEOS_PLATFORM_ATT_ROL_RATE_QUALITY_FLAG_POINT_12": "0",
        "CEOS_PLATFORM_ATT_YAW_RATE_QUALITY_FLAG_POINT_12": "0",
        "CEOS_PLATFORM_ATT_PITCH_RATE_POINT_12": "0.000000E+00",
        "CEOS_PLATFORM_ATT_ROLL_RATE_POINT_12": "0.000000E+00",
        "CEOS_PLATFORM_ATT_YAW_RATE_POINT_12": "0.000000E+00",
        "CEOS_PLATFORM_ATT_DAY_OF_YEAR_POINT_13": "172",
        "CEOS_PLATFORM_ATT_MILLISECOND_OF_DAY_POINT_13": "38348000",
        "CEOS_PLATFORM_ATT_PITCH_QUALITY_FLAG_POINT_13": "0",
        "CEOS_PLATFORM_ATT_ROLL_QUALITY_FLAG_POINT_13": "0",
        "CEOS_PLATFORM_ATT_YAW_QUALITY_FLAG_POINT_13": "0",
        "CEOS_PLATFORM_ATT_PITCH_DEG_POINT_13": "6.254007E-06",
        "CEOS_PLATFORM_ATT_ROLL_DEG_POINT_13": "-1.319260E-05",
        "CEOS_PLATFORM_ATT_YAW_DEG_POINT_13": "3.416106E+00",
        "CEOS_PLATFORM_ATT_PITCH_RATE_QUALITY_FLAG_POINT_13": "0",
        "CEOS_PLATFORM_ATT_ROL_RATE_QUALITY_FLAG_POINT_13": "0",
        "CEOS_PLATFORM_ATT_YAW_RATE_QUALITY_FLAG_POINT_13": "0",
        "CEOS_PLATFORM_ATT_PITCH_RATE_POINT_13": "0.000000E+00",
        "CEOS_PLATFORM_ATT_ROLL_RATE_POINT_13": "0.000000E+00",
        "CEOS_PLATFORM_ATT_YAW_RATE_POINT_13": "0.000000E+00",
        "CEOS_PLATFORM_ATT_DAY_OF_YEAR_POINT_14": "172",
        "CEOS_PLATFORM_ATT_MILLISECOND_OF_DAY_POINT_14": "38349000",
        "CEOS_PLATFORM_ATT_PITCH_QUALITY_FLAG_POINT_14": "0",
        "CEOS_PLATFORM_ATT_ROLL_QUALITY_FLAG_POINT_14": "0",
        "CEOS_PLATFORM_ATT_YAW_QUALITY_FLAG_POINT_14": "0",
        "CEOS_PLATFORM_ATT_PITCH_DEG_POINT_14": "6.251938E-06",
        "CEOS_PLATFORM_ATT_ROLL_DEG_POINT_14": "-1.315344E-05",
        "CEOS_PLATFORM_ATT_YAW_DEG_POINT_14": "3.414210E+00",
        "CEOS_PLATFORM_ATT_PITCH_RATE_QUALITY_FLAG_POINT_14": "0",
        "CEOS_PLATFORM_ATT_ROL_RATE_QUALITY_FLAG_POINT_14": "0",
        "CEOS_PLATFORM_ATT_YAW_RATE_QUALITY_FLAG_POINT_14": "0",
        "CEOS_PLATFORM_ATT_PITCH_RATE_POINT_14": "0.000000E+00",
        "CEOS_PLATFORM_ATT_ROLL_RATE_POINT_14": "0.000000E+00",
        "CEOS_PLATFORM_ATT_YAW_RATE_POINT_14": "0.000000E+00",
        "CEOS_PLATFORM_ATT_DAY_OF_YEAR_POINT_15": "172",
        "CEOS_PLATFORM_ATT_MILLISECOND_OF_DAY_POINT_15": "38350000",
        "CEOS_PLATFORM_ATT_PITCH_QUALITY_FLAG_POINT_15": "0",
        "CEOS_PLATFORM_ATT_ROLL_QUALITY_FLAG_POINT_15": "0",
        "CEOS_PLATFORM_ATT_YAW_QUALITY_FLAG_POINT_15": "0",
        "CEOS_PLATFORM_ATT_PITCH_DEG_POINT_15": "6.249736E-06",
        "CEOS_PLATFORM_ATT_ROLL_DEG_POINT_15": "-1.310289E-05",
        "CEOS_PLATFORM_ATT_YAW_DEG_POINT_15": "3.412308E+00",
        "CEOS_PLATFORM_ATT_PITCH_RATE_QUALITY_FLAG_POINT_15": "0",
        "CEOS_PLATFORM_ATT_ROL_RATE_QUALITY_FLAG_POINT_15": "0",
        "CEOS_PLATFORM_ATT_YAW_RATE_QUALITY_FLAG_POINT_15": "0",
        "CEOS_PLATFORM_ATT_PITCH_RATE_POINT_15": "0.000000E+00",
        "CEOS_PLATFORM_ATT_ROLL_RATE_POINT_15": "0.000000E+00",
        "CEOS_PLATFORM_ATT_YAW_RATE_POINT_15": "0.000000E+00",
        "CEOS_PLATFORM_ATT_DAY_OF_YEAR_POINT_16": "172",
        "CEOS_PLATFORM_ATT_MILLISECOND_OF_DAY_POINT_16": "38351000",
        "CEOS_PLATFORM_ATT_PITCH_QUALITY_FLAG_POINT_16": "0",
        "CEOS_PLATFORM_ATT_ROLL_QUALITY_FLAG_POINT_16": "0",
        "CEOS_PLATFORM_ATT_YAW_QUALITY_FLAG_POINT_16": "0",
        "CEOS_PLATFORM_ATT_PITCH_DEG_POINT_16": "6.247592E-06",
        "CEOS_PLATFORM_ATT_ROLL_DEG_POINT_16": "-1.304091E-05",
        "CEOS_PLATFORM_ATT_YAW_DEG_POINT_16": "3.410403E+00",
        "CEOS_PLATFORM_ATT_PITCH_RATE_QUALITY_FLAG_POINT_16": "0",
        "CEOS_PLATFORM_ATT_ROL_RATE_QUALITY_FLAG_POINT_16": "0",
        "CEOS_PLATFORM_ATT_YAW_RATE_QUALITY_FLAG_POINT_16": "0",
        "CEOS_PLATFORM_ATT_PITCH_RATE_POINT_16": "0.000000E+00",
        "CEOS_PLATFORM_ATT_ROLL_RATE_POINT_16": "0.000000E+00",
        "CEOS_PLATFORM_ATT_YAW_RATE_POINT_16": "0.000000E+00",
        "CEOS_PLATFORM_ATT_DAY_OF_YEAR_POINT_17": "172",
        "CEOS_PLATFORM_ATT_MILLISECOND_OF_DAY_POINT_17": "38352000",
        "CEOS_PLATFORM_ATT_PITCH_QUALITY_FLAG_POINT_17": "0",
        "CEOS_PLATFORM_ATT_ROLL_QUALITY_FLAG_POINT_17": "0",
        "CEOS_PLATFORM_ATT_YAW_QUALITY_FLAG_POINT_17": "0",
        "CEOS_PLATFORM_ATT_PITCH_DEG_POINT_17": "6.245683E-06",
        "CEOS_PLATFORM_ATT_ROLL_DEG_POINT_17": "-1.296748E-05",
        "CEOS_PLATFORM_ATT_YAW_DEG_POINT_17": "3.408493E+00",
        "CEOS_PLATFORM_ATT_PITCH_RATE_QUALITY_FLAG_POINT_17": "0",
        "CEOS_PLATFORM_ATT_ROL_RATE_QUALITY_FLAG_POINT_17": "0",
        "CEOS_PLATFORM_ATT_YAW_RATE_QUALITY_FLAG_POINT_17": "0",
        "CEOS_PLATFORM_ATT_PITCH_RATE_POINT_17": "0.000000E+00",
        "CEOS_PLATFORM_ATT_ROLL_RATE_POINT_17": "0.000000E+00",
        "CEOS_PLATFORM_ATT_YAW_RATE_POINT_17": "0.000000E+00",
        "CEOS_PLATFORM_ATT_DAY_OF_YEAR_POINT_18": "172",
        "CEOS_PLATFORM_ATT_MILLISECOND_OF_DAY_POINT_18": "38353000",
        "CEOS_PLATFORM_ATT_PITCH_QUALITY_FLAG_POINT_18": "0",
        "CEOS_PLATFORM_ATT_ROLL_QUALITY_FLAG_POINT_18": "0",
        "CEOS_PLATFORM_ATT_YAW_QUALITY_FLAG_POINT_18": "0",
        "CEOS_PLATFORM_ATT_PITCH_DEG_POINT_18": "6.244191E-06",
        "CEOS_PLATFORM_ATT_ROLL_DEG_POINT_18": "-1.288255E-05",
        "CEOS_PLATFORM_ATT_YAW_DEG_POINT_18": "3.406579E+00",
        "CEOS_PLATFORM_ATT_PITCH_RATE_QUALITY_FLAG_POINT_18": "0",
        "CEOS_PLATFORM_ATT_ROL_RATE_QUALITY_FLAG_POINT_18": "0",
        "CEOS_PLATFORM_ATT_YAW_RATE_QUALITY_FLAG_POINT_18": "0",
        "CEOS_PLATFORM_ATT_PITCH_RATE_POINT_18": "0.000000E+00",
        "CEOS_PLATFORM_ATT_ROLL_RATE_POINT_18": "0.000000E+00",
        "CEOS_PLATFORM_ATT_YAW_RATE_POINT_18": "0.000000E+00",
        "CEOS_PLATFORM_ATT_DAY_OF_YEAR_POINT_19": "172",
        "CEOS_PLATFORM_ATT_MILLISECOND_OF_DAY_POINT_19": "38354000",
        "CEOS_PLATFORM_ATT_PITCH_QUALITY_FLAG_POINT_19": "0",
        "CEOS_PLATFORM_ATT_ROLL_QUALITY_FLAG_POINT_19": "0",
        "CEOS_PLATFORM_ATT_YAW_QUALITY_FLAG_POINT_19": "0",
        "CEOS_PLATFORM_ATT_PITCH_DEG_POINT_19": "6.243300E-06",
        "CEOS_PLATFORM_ATT_ROLL_DEG_POINT_19": "-1.278610E-05",
        "CEOS_PLATFORM_ATT_YAW_DEG_POINT_19": "3.404661E+00",
        "CEOS_PLATFORM_ATT_PITCH_RATE_QUALITY_FLAG_POINT_19": "0",
        "CEOS_PLATFORM_ATT_ROL_RATE_QUALITY_FLAG_POINT_19": "0",
        "CEOS_PLATFORM_ATT_YAW_RATE_QUALITY_FLAG_POINT_19": "0",
        "CEOS_PLATFORM_ATT_PITCH_RATE_POINT_19": "0.000000E+00",
        "CEOS_PLATFORM_ATT_ROLL_RATE_POINT_19": "0.000000E+00",
        "CEOS_PLATFORM_ATT_YAW_RATE_POINT_19": "0.000000E+00",
        "CEOS_PLATFORM_ATT_DAY_OF_YEAR_POINT_20": "172",
        "CEOS_PLATFORM_ATT_MILLISECOND_OF_DAY_POINT_20": "38355000",
        "CEOS_PLATFORM_ATT_PITCH_QUALITY_FLAG_POINT_20": "0",
        "CEOS_PLATFORM_ATT_ROLL_QUALITY_FLAG_POINT_20": "0",
        "CEOS_PLATFORM_ATT_YAW_QUALITY_FLAG_POINT_20": "0",
        "CEOS_PLATFORM_ATT_PITCH_DEG_POINT_20": "6.243201E-06",
        "CEOS_PLATFORM_ATT_ROLL_DEG_POINT_20": "-1.267810E-05",
        "CEOS_PLATFORM_ATT_YAW_DEG_POINT_20": "3.402738E+00",
        "CEOS_PLATFORM_ATT_PITCH_RATE_QUALITY_FLAG_POINT_20": "0",
        "CEOS_PLATFORM_ATT_ROL_RATE_QUALITY_FLAG_POINT_20": "0",
        "CEOS_PLATFORM_ATT_YAW_RATE_QUALITY_FLAG_POINT_20": "0",
        "CEOS_PLATFORM_ATT_PITCH_RATE_POINT_20": "0.000000E+00",
        "CEOS_PLATFORM_ATT_ROLL_RATE_POINT_20": "0.000000E+00",
        "CEOS_PLATFORM_ATT_YAW_RATE_POINT_20": "0.000000E+00",
        "CEOS_PLATFORM_ATT_DAY_OF_YEAR_POINT_21": "172",
        "CEOS_PLATFORM_ATT_MILLISECOND_OF_DAY_POINT_21": "38356000",
        "CEOS_PLATFORM_ATT_PITCH_QUALITY_FLAG_POINT_21": "0",
        "CEOS_PLATFORM_ATT_ROLL_QUALITY_FLAG_POINT_21": "0",
        "CEOS_PLATFORM_ATT_YAW_QUALITY_FLAG_POINT_21": "0",
        "CEOS_PLATFORM_ATT_PITCH_DEG_POINT_21": "6.244066E-06",
        "CEOS_PLATFORM_ATT_ROLL_DEG_POINT_21": "-1.255851E-05",
        "CEOS_PLATFORM_ATT_YAW_DEG_POINT_21": "3.400811E+00",
        "CEOS_PLATFORM_ATT_PITCH_RATE_QUALITY_FLAG_POINT_21": "0",
        "CEOS_PLATFORM_ATT_ROL_RATE_QUALITY_FLAG_POINT_21": "0",
        "CEOS_PLATFORM_ATT_YAW_RATE_QUALITY_FLAG_POINT_21": "0",
        "CEOS_PLATFORM_ATT_PITCH_RATE_POINT_21": "0.000000E+00",
        "CEOS_PLATFORM_ATT_ROLL_RATE_POINT_21": "0.000000E+00",
        "CEOS_PLATFORM_ATT_YAW_RATE_POINT_21": "0.000000E+00",
        "CEOS_PLATFORM_ATT_DAY_OF_YEAR_POINT_22": "172",
        "CEOS_PLATFORM_ATT_MILLISECOND_OF_DAY_POINT_22": "38357000",
        "CEOS_PLATFORM_ATT_PITCH_QUALITY_FLAG_POINT_22": "0",
        "CEOS_PLATFORM_ATT_ROLL_QUALITY_FLAG_POINT_22": "0",
        "CEOS_PLATFORM_ATT_YAW_QUALITY_FLAG_POINT_22": "0",
        "CEOS_PLATFORM_ATT_PITCH_DEG_POINT_22": "6.246064E-06",
        "CEOS_PLATFORM_ATT_ROLL_DEG_POINT_22": "-1.242731E-05",
        "CEOS_PLATFORM_ATT_YAW_DEG_POINT_22": "3.398880E+00",
        "CEOS_PLATFORM_ATT_PITCH_RATE_QUALITY_FLAG_POINT_22": "0",
        "CEOS_PLATFORM_ATT_ROL_RATE_QUALITY_FLAG_POINT_22": "0",
        "CEOS_PLATFORM_ATT_YAW_RATE_QUALITY_FLAG_POINT_22": "0",
        "CEOS_PLATFORM_ATT_PITCH_RATE_POINT_22": "0.000000E+00",
        "CEOS_PLATFORM_ATT_ROLL_RATE_POINT_22": "0.000000E+00",
        "CEOS_PLATFORM_ATT_YAW_RATE_POINT_22": "0.000000E+00",
        "CEOS_RADIOMETRIC_CALIBRATION_FACTOR": "32.0000000",
        "CEOS_RADIOMETRIC_DT_1_1_REAL": "1.0000000",
        "CEOS_RADIOMETRIC_DT_1_1_IMAG": "1.0000000",
        "CEOS_RADIOMETRIC_DT_1_2_REAL": "0.0000000",
        "CEOS_RADIOMETRIC_DT_1_2_IMAG": "0.0000000",
        "CEOS_RADIOMETRIC_DT_2_1_REAL": "0.0000000",
        "CEOS_RADIOMETRIC_DT_2_1_IMAG": "0.0000000",
        "CEOS_RADIOMETRIC_DT_2_2_REAL": "1.0000000",
        "CEOS_RADIOMETRIC_DT_2_2_IMAG": "1.0000000",
        "CEOS_RADIOMETRIC_DR_1_1_REAL": "1.0000000",
        "CEOS_RADIOMETRIC_DR_1_1_IMAG": "1.0000000",
        "CEOS_RADIOMETRIC_DR_1_2_REAL": "0.0000000",
        "CEOS_RADIOMETRIC_DR_1_2_IMAG": "0.0000000",
        "CEOS_RADIOMETRIC_DR_2_1_REAL": "0.0000000",
        "CEOS_RADIOMETRIC_DR_2_1_IMAG": "0.0000000",
        "CEOS_RADIOMETRIC_DR_2_2_REAL": "1.0000000",
        "CEOS_RADIOMETRIC_DR_2_2_IMAG": "1.0000000",
        "CEOS_FACILITY_5_LAT_LON_TO_LINE_COEFFICIENTS": "-1.8971561155E-09 2.0117687015E-07 -4.1741111537E-06 -2.1857402867E-04 "
        "-1.5366264557E-01 -1.2957050688E-08 -1.3571057654E-05 -7.7803398555E-04 "
        "1.6220421908E-01 -2.0550519734E+01 1.8739873395E-06 -3.2425792337E-04 "
        "-9.1681130432E-02 -6.9629780194E+00 3.7874314432E+02 -1.2144087479E-05 "
        "7.5784090321E-03 -1.6190147420E+00 -3.1328531007E+02 -4.4825677786E+04 "
        "2.4958369561E-03 -3.6010334565E-01 -5.8001870698E+01 -2.5388884066E+03 "
        "-4.3460399019E+05",
        "CEOS_FACILITY_5_LAT_LON_TO_PIXEL_COEFFICIENTS": "-3.7573748021E-08 2.0805402528E-06 -3.6464247433E-05 4.1408948682E-02 "
        "-6.4395870408E+00 7.6747382695E-07 -4.1716930977E-04 -2.9110921465E-02 "
        "2.6658648491E+00 -2.0696097814E+02 5.2523385018E-05 -7.2021248192E-03 "
        "-1.7725977159E+00 -1.9367881390E+02 3.0677744388E+03 4.5006094711E-04 "
        "5.5872743244E-02 -2.5404689389E+01 -4.0432640243E+03 -4.7333230510E+05 "
        "4.2509916703E-02 -2.2059300730E+00 -8.7259166225E+02 -4.3551798318E+04 "
        "3.3817619533E+06",
        "CEOS_FACILITY_5_ORIGIN_LAT": "0.0000000000E+00",
        "CEOS_FACILITY_5_ORIGIN_LINE": "0.0000000000E+00",
        "CEOS_FACILITY_5_ORIGIN_LON": "0.0000000000E+00",
        "CEOS_FACILITY_5_ORIGIN_PIXEL": "0.0000000000E+00",
        "CEOS_FACILITY_5_PIXEL_LINE_TO_LAT_COEFFICIENTS": "8.8358627951E-42 -5.8500888881E-37 1.1912075754E-32 2.9105800027E-29 "
        "4.1437651572E-22 -4.5592995713E-37 3.0185147972E-32 -6.1921779136E-28 "
        "-1.3074207661E-23 -7.9280032876E-17 7.2204186370E-33 -4.7780062357E-28 "
        "1.0648224733E-23 2.5483897017E-18 1.2858878042E-11 -3.4389428017E-29 "
        "2.2336620169E-24 -1.9003183876E-19 8.5974106699E-14 -4.0280009054E-06 "
        "5.9029954606E-26 3.7911662658E-21 4.9110708295E-14 -1.8553402894E-05 "
        "-3.0225529890E+01",
        "CEOS_FACILITY_5_PIXEL_LINE_TO_LON_COEFFICIENTS": "1.3220197756E-41 -8.8347044762E-37 1.7856221782E-32 -9.0886281736E-28 "
        "-2.2779304863E-21 -7.0278360480E-37 4.6965812165E-32 -9.0826795976E-28 "
        "1.4371812244E-22 4.3590718983E-16 1.1648730091E-32 -7.7976362735E-28 "
        "8.3660876567E-24 -1.7998779581E-17 -6.6196027958E-11 -6.0004050660E-29 "
        "4.6481314571E-24 2.4403393052E-18 5.6848484428E-12 2.6644455260E-05 "
        "-9.8082400082E-28 -1.3942484182E-19 -2.8326378649E-13 -3.8158582674E-06 "
        "1.4149189777E+02",
        "CEOS_FACILITY_5_XY_PROJECTED_TO_LINE_COEFFICIENTS": "",
        "CEOS_FACILITY_5_XY_PROJECTED_TO_PIXEL_COEFFICIENTS": "",
    }
    assert ds.GetGCPCount() == 0


@pytest.mark.network
@pytest.mark.require_curl
def test_sar_ceos_alos2_L1_5():
    url = "https://www.eorc.jaxa.jp/ALOS/en/alos-2/datause/sample_data/010_fuji/0000021462_001001_ALOS2004060740-140620.zip"

    if gdaltest.gdalurlopen(url, timeout=5) is None:
        pytest.skip(f"Could not read from {url}")

    with gdaltest.error_raised(gdal.CE_None):
        ds = gdal.Open(
            f"/vsizip//vsicurl/{url}/IMG-HH-ALOS2004060740-140620-UBDL1.5GUA"
        )

    assert ds.RasterXSize == 27233
    assert ds.RasterYSize == 32294
    assert ds.RasterCount == 1
    assert ds.GetRasterBand(1).DataType == gdal.GDT_UInt16
    md = ds.GetMetadata()
    count_removed = 0
    for key in list(md.keys()):
        if key.startswith("CEOS_PLATFORM_POS_VECTOR_"):
            del md[key]
            count_removed += 1
    assert count_removed == int(md["CEOS_PLATFORM_POS_NUMBER_POINTS"]) * 6
    assert md == {
        "CEOS_LOGICAL_VOLUME_ID": "AL2SAR20150316",
        "CEOS_PROCESSING_FACILITY": "EICS",
        "CEOS_PROCESSING_AGENCY": "JAXA",
        "CEOS_PROCESSING_COUNTRY": "JAPAN",
        "CEOS_SOFTWARE_ID": "002.011",
        "CEOS_VOLSET_ID": "ALOS2  SAR",
        "CEOS_ACQUISITION_TIME": "20140620135638128",
        "CEOS_TRUE_HEADING": "-16.4281130",
        "CEOS_ELLIPSOID": "GRS80",
        "CEOS_SEMI_MAJOR": "6378.1370000",
        "CEOS_SEMI_MINOR": "6356.7523141",
        "CEOS_MISSION_ID": "ALOS2",
        "CEOS_SENSOR_ID": "ALOS2 -L -0115-",
        "CEOS_ORBIT_NUMBER": "406",
        "CEOS_PLATFORM_LATITUDE": "36.752",
        "CEOS_PLATFORM_LONGITUDE": "144.846",
        "CEOS_PLATFORM_HEADING": "-4.505",
        "CEOS_SENSOR_CLOCK_ANGLE": "-90.000",
        "CEOS_INC_ANGLE": "45.765",
        "CEOS_FACILITY": "EICS",
        "CEOS_LINE_SPACING_METERS": "2.5000000",
        "CEOS_PIXEL_SPACING_METERS": "2.5000000",
        "CEOS_PLATFORM_POS_ORBITAL_ELEMENTS_DESIGNATOR": "2",
        "CEOS_PLATFORM_POS_ORBITAL_ELEMENT_1": "-4599506.9661446",
        "CEOS_PLATFORM_POS_ORBITAL_ELEMENT_2": "3239047.3068862",
        "CEOS_PLATFORM_POS_ORBITAL_ELEMENT_3": "4175598.6998697",
        "CEOS_PLATFORM_POS_ORBITAL_ELEMENT_4": "4610.3919334",
        "CEOS_PLATFORM_POS_ORBITAL_ELEMENT_5": "-1161.4866522",
        "CEOS_PLATFORM_POS_ORBITAL_ELEMENT_6": "5961.8042818",
        "CEOS_PLATFORM_POS_NUMBER_POINTS": "28",
        "CEOS_PLATFORM_POS_YEAR_POINT_1": "2014",
        "CEOS_PLATFORM_POS_MONTH_POINT_1": "6",
        "CEOS_PLATFORM_POS_DAY_POINT_1": "20",
        "CEOS_PLATFORM_POS_DAY_IN_YEAR_POINT_1": "171",
        "CEOS_PLATFORM_POS_SECONDS_OF_DAY_POINT_1": "4.938000000000000E+04",
        "CEOS_PLATFORM_POS_TIME_INTERVAL_SECONDS": "6.000000000000000E+01",
        "CEOS_PLATFORM_POS_REF_COORD_SYS": "ECR",
        "CEOS_PLATFORM_POS_ALONG_TRACK_POS_ERROR_METERS": "100.0000000",
        "CEOS_PLATFORM_POS_ACROSS_TRACK_POS_ERROR_METERS": "100.0000000",
        "CEOS_PLATFORM_POS_RADIAL_POS_ERROR_METERS": "100.0000000",
        "CEOS_PLATFORM_POS_ALONG_TRACK_VELOCITY_ERROR_METERS_PER_SEC": "0.3000000",
        "CEOS_PLATFORM_POS_ACROSS_TRACK_VELOCITY_ERROR_METERS_PER_SEC": "0.3000000",
        "CEOS_PLATFORM_POS_RADIAL_VELOCITY_ERROR_METERS_PER_SEC": "0.3000000",
        "CEOS_PLATFORM_POS_LEAP_SECOND": "0",
        "CEOS_PLATFORM_ATT_NUMBER_POINTS": "22",
        "CEOS_PLATFORM_ATT_DAY_OF_YEAR_POINT_1": "171",
        "CEOS_PLATFORM_ATT_MILLISECOND_OF_DAY_POINT_1": "50187753",
        "CEOS_PLATFORM_ATT_PITCH_QUALITY_FLAG_POINT_1": "0",
        "CEOS_PLATFORM_ATT_ROLL_QUALITY_FLAG_POINT_1": "0",
        "CEOS_PLATFORM_ATT_YAW_QUALITY_FLAG_POINT_1": "0",
        "CEOS_PLATFORM_ATT_PITCH_DEG_POINT_1": "-9.814170E-02",
        "CEOS_PLATFORM_ATT_ROLL_DEG_POINT_1": "2.980515E+01",
        "CEOS_PLATFORM_ATT_YAW_DEG_POINT_1": "-3.069356E+00",
        "CEOS_PLATFORM_ATT_PITCH_RATE_QUALITY_FLAG_POINT_1": "0",
        "CEOS_PLATFORM_ATT_ROL_RATE_QUALITY_FLAG_POINT_1": "0",
        "CEOS_PLATFORM_ATT_YAW_RATE_QUALITY_FLAG_POINT_1": "0",
        "CEOS_PLATFORM_ATT_PITCH_RATE_POINT_1": "5.179095E-05",
        "CEOS_PLATFORM_ATT_ROLL_RATE_POINT_1": "-2.359042E-05",
        "CEOS_PLATFORM_ATT_YAW_RATE_POINT_1": "2.413681E-03",
        "CEOS_PLATFORM_ATT_DAY_OF_YEAR_POINT_2": "171",
        "CEOS_PLATFORM_ATT_MILLISECOND_OF_DAY_POINT_2": "50188753",
        "CEOS_PLATFORM_ATT_PITCH_QUALITY_FLAG_POINT_2": "0",
        "CEOS_PLATFORM_ATT_ROLL_QUALITY_FLAG_POINT_2": "0",
        "CEOS_PLATFORM_ATT_YAW_QUALITY_FLAG_POINT_2": "0",
        "CEOS_PLATFORM_ATT_PITCH_DEG_POINT_2": "-9.808991E-02",
        "CEOS_PLATFORM_ATT_ROLL_DEG_POINT_2": "2.980513E+01",
        "CEOS_PLATFORM_ATT_YAW_DEG_POINT_2": "-3.066943E+00",
        "CEOS_PLATFORM_ATT_PITCH_RATE_QUALITY_FLAG_POINT_2": "0",
        "CEOS_PLATFORM_ATT_ROL_RATE_QUALITY_FLAG_POINT_2": "0",
        "CEOS_PLATFORM_ATT_YAW_RATE_QUALITY_FLAG_POINT_2": "0",
        "CEOS_PLATFORM_ATT_PITCH_RATE_POINT_2": "5.179095E-05",
        "CEOS_PLATFORM_ATT_ROLL_RATE_POINT_2": "-2.359042E-05",
        "CEOS_PLATFORM_ATT_YAW_RATE_POINT_2": "2.413681E-03",
        "CEOS_PLATFORM_ATT_DAY_OF_YEAR_POINT_3": "171",
        "CEOS_PLATFORM_ATT_MILLISECOND_OF_DAY_POINT_3": "50189753",
        "CEOS_PLATFORM_ATT_PITCH_QUALITY_FLAG_POINT_3": "0",
        "CEOS_PLATFORM_ATT_ROLL_QUALITY_FLAG_POINT_3": "0",
        "CEOS_PLATFORM_ATT_YAW_QUALITY_FLAG_POINT_3": "0",
        "CEOS_PLATFORM_ATT_PITCH_DEG_POINT_3": "-9.805699E-02",
        "CEOS_PLATFORM_ATT_ROLL_DEG_POINT_3": "2.980511E+01",
        "CEOS_PLATFORM_ATT_YAW_DEG_POINT_3": "-3.064507E+00",
        "CEOS_PLATFORM_ATT_PITCH_RATE_QUALITY_FLAG_POINT_3": "0",
        "CEOS_PLATFORM_ATT_ROL_RATE_QUALITY_FLAG_POINT_3": "0",
        "CEOS_PLATFORM_ATT_YAW_RATE_QUALITY_FLAG_POINT_3": "0",
        "CEOS_PLATFORM_ATT_PITCH_RATE_POINT_3": "3.292762E-05",
        "CEOS_PLATFORM_ATT_ROLL_RATE_POINT_3": "-2.048631E-05",
        "CEOS_PLATFORM_ATT_YAW_RATE_POINT_3": "2.436050E-03",
        "CEOS_PLATFORM_ATT_DAY_OF_YEAR_POINT_4": "171",
        "CEOS_PLATFORM_ATT_MILLISECOND_OF_DAY_POINT_4": "50190753",
        "CEOS_PLATFORM_ATT_PITCH_QUALITY_FLAG_POINT_4": "0",
        "CEOS_PLATFORM_ATT_ROLL_QUALITY_FLAG_POINT_4": "0",
        "CEOS_PLATFORM_ATT_YAW_QUALITY_FLAG_POINT_4": "0",
        "CEOS_PLATFORM_ATT_PITCH_DEG_POINT_4": "-9.804768E-02",
        "CEOS_PLATFORM_ATT_ROLL_DEG_POINT_4": "2.980512E+01",
        "CEOS_PLATFORM_ATT_YAW_DEG_POINT_4": "-3.062059E+00",
        "CEOS_PLATFORM_ATT_PITCH_RATE_QUALITY_FLAG_POINT_4": "0",
        "CEOS_PLATFORM_ATT_ROL_RATE_QUALITY_FLAG_POINT_4": "0",
        "CEOS_PLATFORM_ATT_YAW_RATE_QUALITY_FLAG_POINT_4": "0",
        "CEOS_PLATFORM_ATT_PITCH_RATE_POINT_4": "9.307624E-06",
        "CEOS_PLATFORM_ATT_ROLL_RATE_POINT_4": "1.055094E-05",
        "CEOS_PLATFORM_ATT_YAW_RATE_POINT_4": "2.447910E-03",
        "CEOS_PLATFORM_ATT_DAY_OF_YEAR_POINT_5": "171",
        "CEOS_PLATFORM_ATT_MILLISECOND_OF_DAY_POINT_5": "50191753",
        "CEOS_PLATFORM_ATT_PITCH_QUALITY_FLAG_POINT_5": "0",
        "CEOS_PLATFORM_ATT_ROLL_QUALITY_FLAG_POINT_5": "0",
        "CEOS_PLATFORM_ATT_YAW_QUALITY_FLAG_POINT_5": "0",
        "CEOS_PLATFORM_ATT_PITCH_DEG_POINT_5": "-9.803618E-02",
        "CEOS_PLATFORM_ATT_ROLL_DEG_POINT_5": "2.980515E+01",
        "CEOS_PLATFORM_ATT_YAW_DEG_POINT_5": "-3.059608E+00",
        "CEOS_PLATFORM_ATT_PITCH_RATE_QUALITY_FLAG_POINT_5": "0",
        "CEOS_PLATFORM_ATT_ROL_RATE_QUALITY_FLAG_POINT_5": "0",
        "CEOS_PLATFORM_ATT_YAW_RATE_QUALITY_FLAG_POINT_5": "0",
        "CEOS_PLATFORM_ATT_PITCH_RATE_POINT_5": "1.149351E-05",
        "CEOS_PLATFORM_ATT_ROLL_RATE_POINT_5": "3.234327E-05",
        "CEOS_PLATFORM_ATT_YAW_RATE_POINT_5": "2.450902E-03",
        "CEOS_PLATFORM_ATT_DAY_OF_YEAR_POINT_6": "171",
        "CEOS_PLATFORM_ATT_MILLISECOND_OF_DAY_POINT_6": "50192753",
        "CEOS_PLATFORM_ATT_PITCH_QUALITY_FLAG_POINT_6": "0",
        "CEOS_PLATFORM_ATT_ROLL_QUALITY_FLAG_POINT_6": "0",
        "CEOS_PLATFORM_ATT_YAW_QUALITY_FLAG_POINT_6": "0",
        "CEOS_PLATFORM_ATT_PITCH_DEG_POINT_6": "-9.798245E-02",
        "CEOS_PLATFORM_ATT_ROLL_DEG_POINT_6": "2.980518E+01",
        "CEOS_PLATFORM_ATT_YAW_DEG_POINT_6": "-3.057167E+00",
        "CEOS_PLATFORM_ATT_PITCH_RATE_QUALITY_FLAG_POINT_6": "0",
        "CEOS_PLATFORM_ATT_ROL_RATE_QUALITY_FLAG_POINT_6": "0",
        "CEOS_PLATFORM_ATT_YAW_RATE_QUALITY_FLAG_POINT_6": "0",
        "CEOS_PLATFORM_ATT_PITCH_RATE_POINT_6": "5.372973E-05",
        "CEOS_PLATFORM_ATT_ROLL_RATE_POINT_6": "3.066942E-05",
        "CEOS_PLATFORM_ATT_YAW_RATE_POINT_6": "2.441247E-03",
        "CEOS_PLATFORM_ATT_DAY_OF_YEAR_POINT_7": "171",
        "CEOS_PLATFORM_ATT_MILLISECOND_OF_DAY_POINT_7": "50193753",
        "CEOS_PLATFORM_ATT_PITCH_QUALITY_FLAG_POINT_7": "0",
        "CEOS_PLATFORM_ATT_ROLL_QUALITY_FLAG_POINT_7": "0",
        "CEOS_PLATFORM_ATT_YAW_QUALITY_FLAG_POINT_7": "0",
        "CEOS_PLATFORM_ATT_PITCH_DEG_POINT_7": "-9.794661E-02",
        "CEOS_PLATFORM_ATT_ROLL_DEG_POINT_7": "2.980517E+01",
        "CEOS_PLATFORM_ATT_YAW_DEG_POINT_7": "-3.054721E+00",
        "CEOS_PLATFORM_ATT_PITCH_RATE_QUALITY_FLAG_POINT_7": "0",
        "CEOS_PLATFORM_ATT_ROL_RATE_QUALITY_FLAG_POINT_7": "0",
        "CEOS_PLATFORM_ATT_YAW_RATE_QUALITY_FLAG_POINT_7": "0",
        "CEOS_PLATFORM_ATT_PITCH_RATE_POINT_7": "3.584789E-05",
        "CEOS_PLATFORM_ATT_ROLL_RATE_POINT_7": "-1.272396E-05",
        "CEOS_PLATFORM_ATT_YAW_RATE_POINT_7": "2.445874E-03",
        "CEOS_PLATFORM_ATT_DAY_OF_YEAR_POINT_8": "171",
        "CEOS_PLATFORM_ATT_MILLISECOND_OF_DAY_POINT_8": "50194753",
        "CEOS_PLATFORM_ATT_PITCH_QUALITY_FLAG_POINT_8": "0",
        "CEOS_PLATFORM_ATT_ROLL_QUALITY_FLAG_POINT_8": "0",
        "CEOS_PLATFORM_ATT_YAW_QUALITY_FLAG_POINT_8": "0",
        "CEOS_PLATFORM_ATT_PITCH_DEG_POINT_8": "-9.792975E-02",
        "CEOS_PLATFORM_ATT_ROLL_DEG_POINT_8": "2.980515E+01",
        "CEOS_PLATFORM_ATT_YAW_DEG_POINT_8": "-3.052268E+00",
        "CEOS_PLATFORM_ATT_PITCH_RATE_QUALITY_FLAG_POINT_8": "0",
        "CEOS_PLATFORM_ATT_ROL_RATE_QUALITY_FLAG_POINT_8": "0",
        "CEOS_PLATFORM_ATT_YAW_RATE_QUALITY_FLAG_POINT_8": "0",
        "CEOS_PLATFORM_ATT_PITCH_RATE_POINT_8": "1.686022E-05",
        "CEOS_PLATFORM_ATT_ROLL_RATE_POINT_8": "-1.749910E-05",
        "CEOS_PLATFORM_ATT_YAW_RATE_POINT_8": "2.452267E-03",
        "CEOS_PLATFORM_ATT_DAY_OF_YEAR_POINT_9": "171",
        "CEOS_PLATFORM_ATT_MILLISECOND_OF_DAY_POINT_9": "50195753",
        "CEOS_PLATFORM_ATT_PITCH_QUALITY_FLAG_POINT_9": "0",
        "CEOS_PLATFORM_ATT_ROLL_QUALITY_FLAG_POINT_9": "0",
        "CEOS_PLATFORM_ATT_YAW_QUALITY_FLAG_POINT_9": "0",
        "CEOS_PLATFORM_ATT_PITCH_DEG_POINT_9": "-9.788476E-02",
        "CEOS_PLATFORM_ATT_ROLL_DEG_POINT_9": "2.980515E+01",
        "CEOS_PLATFORM_ATT_YAW_DEG_POINT_9": "-3.049807E+00",
        "CEOS_PLATFORM_ATT_PITCH_RATE_QUALITY_FLAG_POINT_9": "0",
        "CEOS_PLATFORM_ATT_ROL_RATE_QUALITY_FLAG_POINT_9": "0",
        "CEOS_PLATFORM_ATT_YAW_RATE_QUALITY_FLAG_POINT_9": "0",
        "CEOS_PLATFORM_ATT_PITCH_RATE_POINT_9": "4.498282E-05",
        "CEOS_PLATFORM_ATT_ROLL_RATE_POINT_9": "-3.469852E-06",
        "CEOS_PLATFORM_ATT_YAW_RATE_POINT_9": "2.461063E-03",
        "CEOS_PLATFORM_ATT_DAY_OF_YEAR_POINT_10": "171",
        "CEOS_PLATFORM_ATT_MILLISECOND_OF_DAY_POINT_10": "50196753",
        "CEOS_PLATFORM_ATT_PITCH_QUALITY_FLAG_POINT_10": "0",
        "CEOS_PLATFORM_ATT_ROLL_QUALITY_FLAG_POINT_10": "0",
        "CEOS_PLATFORM_ATT_YAW_QUALITY_FLAG_POINT_10": "0",
        "CEOS_PLATFORM_ATT_PITCH_DEG_POINT_10": "-9.787458E-02",
        "CEOS_PLATFORM_ATT_ROLL_DEG_POINT_10": "2.980517E+01",
        "CEOS_PLATFORM_ATT_YAW_DEG_POINT_10": "-3.047329E+00",
        "CEOS_PLATFORM_ATT_PITCH_RATE_QUALITY_FLAG_POINT_10": "0",
        "CEOS_PLATFORM_ATT_ROL_RATE_QUALITY_FLAG_POINT_10": "0",
        "CEOS_PLATFORM_ATT_YAW_RATE_QUALITY_FLAG_POINT_10": "0",
        "CEOS_PLATFORM_ATT_PITCH_RATE_POINT_10": "1.018205E-05",
        "CEOS_PLATFORM_ATT_ROLL_RATE_POINT_10": "2.509409E-05",
        "CEOS_PLATFORM_ATT_YAW_RATE_POINT_10": "2.477999E-03",
        "CEOS_PLATFORM_ATT_DAY_OF_YEAR_POINT_11": "171",
        "CEOS_PLATFORM_ATT_MILLISECOND_OF_DAY_POINT_11": "50197753",
        "CEOS_PLATFORM_ATT_PITCH_QUALITY_FLAG_POINT_11": "0",
        "CEOS_PLATFORM_ATT_ROLL_QUALITY_FLAG_POINT_11": "0",
        "CEOS_PLATFORM_ATT_YAW_QUALITY_FLAG_POINT_11": "0",
        "CEOS_PLATFORM_ATT_PITCH_DEG_POINT_11": "-9.783178E-02",
        "CEOS_PLATFORM_ATT_ROLL_DEG_POINT_11": "2.980521E+01",
        "CEOS_PLATFORM_ATT_YAW_DEG_POINT_11": "-3.044846E+00",
        "CEOS_PLATFORM_ATT_PITCH_RATE_QUALITY_FLAG_POINT_11": "0",
        "CEOS_PLATFORM_ATT_ROL_RATE_QUALITY_FLAG_POINT_11": "0",
        "CEOS_PLATFORM_ATT_YAW_RATE_QUALITY_FLAG_POINT_11": "0",
        "CEOS_PLATFORM_ATT_PITCH_RATE_POINT_11": "4.279964E-05",
        "CEOS_PLATFORM_ATT_ROLL_RATE_POINT_11": "3.844131E-05",
        "CEOS_PLATFORM_ATT_YAW_RATE_POINT_11": "2.483635E-03",
        "CEOS_PLATFORM_ATT_DAY_OF_YEAR_POINT_12": "171",
        "CEOS_PLATFORM_ATT_MILLISECOND_OF_DAY_POINT_12": "50198753",
        "CEOS_PLATFORM_ATT_PITCH_QUALITY_FLAG_POINT_12": "0",
        "CEOS_PLATFORM_ATT_ROLL_QUALITY_FLAG_POINT_12": "0",
        "CEOS_PLATFORM_ATT_YAW_QUALITY_FLAG_POINT_12": "0",
        "CEOS_PLATFORM_ATT_PITCH_DEG_POINT_12": "-9.781605E-02",
        "CEOS_PLATFORM_ATT_ROLL_DEG_POINT_12": "2.980520E+01",
        "CEOS_PLATFORM_ATT_YAW_DEG_POINT_12": "-3.042377E+00",
        "CEOS_PLATFORM_ATT_PITCH_RATE_QUALITY_FLAG_POINT_12": "0",
        "CEOS_PLATFORM_ATT_ROL_RATE_QUALITY_FLAG_POINT_12": "0",
        "CEOS_PLATFORM_ATT_YAW_RATE_QUALITY_FLAG_POINT_12": "0",
        "CEOS_PLATFORM_ATT_PITCH_RATE_POINT_12": "1.573026E-05",
        "CEOS_PLATFORM_ATT_ROLL_RATE_POINT_12": "-1.664327E-05",
        "CEOS_PLATFORM_ATT_YAW_RATE_POINT_12": "2.468297E-03",
        "CEOS_PLATFORM_ATT_DAY_OF_YEAR_POINT_13": "171",
        "CEOS_PLATFORM_ATT_MILLISECOND_OF_DAY_POINT_13": "50199753",
        "CEOS_PLATFORM_ATT_PITCH_QUALITY_FLAG_POINT_13": "0",
        "CEOS_PLATFORM_ATT_ROLL_QUALITY_FLAG_POINT_13": "0",
        "CEOS_PLATFORM_ATT_YAW_QUALITY_FLAG_POINT_13": "0",
        "CEOS_PLATFORM_ATT_PITCH_DEG_POINT_13": "-9.778355E-02",
        "CEOS_PLATFORM_ATT_ROLL_DEG_POINT_13": "2.980516E+01",
        "CEOS_PLATFORM_ATT_YAW_DEG_POINT_13": "-3.039915E+00",
        "CEOS_PLATFORM_ATT_PITCH_RATE_QUALITY_FLAG_POINT_13": "0",
        "CEOS_PLATFORM_ATT_ROL_RATE_QUALITY_FLAG_POINT_13": "0",
        "CEOS_PLATFORM_ATT_YAW_RATE_QUALITY_FLAG_POINT_13": "0",
        "CEOS_PLATFORM_ATT_PITCH_RATE_POINT_13": "3.249686E-05",
        "CEOS_PLATFORM_ATT_ROLL_RATE_POINT_13": "-3.765637E-05",
        "CEOS_PLATFORM_ATT_YAW_RATE_POINT_13": "2.462043E-03",
        "CEOS_PLATFORM_ATT_DAY_OF_YEAR_POINT_14": "171",
        "CEOS_PLATFORM_ATT_MILLISECOND_OF_DAY_POINT_14": "50200753",
        "CEOS_PLATFORM_ATT_PITCH_QUALITY_FLAG_POINT_14": "0",
        "CEOS_PLATFORM_ATT_ROLL_QUALITY_FLAG_POINT_14": "0",
        "CEOS_PLATFORM_ATT_YAW_QUALITY_FLAG_POINT_14": "0",
        "CEOS_PLATFORM_ATT_PITCH_DEG_POINT_14": "-9.774572E-02",
        "CEOS_PLATFORM_ATT_ROLL_DEG_POINT_14": "2.980516E+01",
        "CEOS_PLATFORM_ATT_YAW_DEG_POINT_14": "-3.037474E+00",
        "CEOS_PLATFORM_ATT_PITCH_RATE_QUALITY_FLAG_POINT_14": "0",
        "CEOS_PLATFORM_ATT_ROL_RATE_QUALITY_FLAG_POINT_14": "0",
        "CEOS_PLATFORM_ATT_YAW_RATE_QUALITY_FLAG_POINT_14": "0",
        "CEOS_PLATFORM_ATT_PITCH_RATE_POINT_14": "3.783361E-05",
        "CEOS_PLATFORM_ATT_ROLL_RATE_POINT_14": "2.499381E-06",
        "CEOS_PLATFORM_ATT_YAW_RATE_POINT_14": "2.441357E-03",
        "CEOS_PLATFORM_ATT_DAY_OF_YEAR_POINT_15": "171",
        "CEOS_PLATFORM_ATT_MILLISECOND_OF_DAY_POINT_15": "50201753",
        "CEOS_PLATFORM_ATT_PITCH_QUALITY_FLAG_POINT_15": "0",
        "CEOS_PLATFORM_ATT_ROLL_QUALITY_FLAG_POINT_15": "0",
        "CEOS_PLATFORM_ATT_YAW_QUALITY_FLAG_POINT_15": "0",
        "CEOS_PLATFORM_ATT_PITCH_DEG_POINT_15": "-9.770723E-02",
        "CEOS_PLATFORM_ATT_ROLL_DEG_POINT_15": "2.980514E+01",
        "CEOS_PLATFORM_ATT_YAW_DEG_POINT_15": "-3.034992E+00",
        "CEOS_PLATFORM_ATT_PITCH_RATE_QUALITY_FLAG_POINT_15": "0",
        "CEOS_PLATFORM_ATT_ROL_RATE_QUALITY_FLAG_POINT_15": "0",
        "CEOS_PLATFORM_ATT_YAW_RATE_QUALITY_FLAG_POINT_15": "0",
        "CEOS_PLATFORM_ATT_PITCH_RATE_POINT_15": "3.849438E-05",
        "CEOS_PLATFORM_ATT_ROLL_RATE_POINT_15": "-1.728468E-05",
        "CEOS_PLATFORM_ATT_YAW_RATE_POINT_15": "2.481778E-03",
        "CEOS_PLATFORM_ATT_DAY_OF_YEAR_POINT_16": "171",
        "CEOS_PLATFORM_ATT_MILLISECOND_OF_DAY_POINT_16": "50202753",
        "CEOS_PLATFORM_ATT_PITCH_QUALITY_FLAG_POINT_16": "0",
        "CEOS_PLATFORM_ATT_ROLL_QUALITY_FLAG_POINT_16": "0",
        "CEOS_PLATFORM_ATT_YAW_QUALITY_FLAG_POINT_16": "0",
        "CEOS_PLATFORM_ATT_PITCH_DEG_POINT_16": "-9.771569E-02",
        "CEOS_PLATFORM_ATT_ROLL_DEG_POINT_16": "2.980518E+01",
        "CEOS_PLATFORM_ATT_YAW_DEG_POINT_16": "-3.032504E+00",
        "CEOS_PLATFORM_ATT_PITCH_RATE_QUALITY_FLAG_POINT_16": "0",
        "CEOS_PLATFORM_ATT_ROL_RATE_QUALITY_FLAG_POINT_16": "0",
        "CEOS_PLATFORM_ATT_YAW_RATE_QUALITY_FLAG_POINT_16": "0",
        "CEOS_PLATFORM_ATT_PITCH_RATE_POINT_16": "-8.458604E-06",
        "CEOS_PLATFORM_ATT_ROLL_RATE_POINT_16": "3.291496E-05",
        "CEOS_PLATFORM_ATT_YAW_RATE_POINT_16": "2.488112E-03",
        "CEOS_PLATFORM_ATT_DAY_OF_YEAR_POINT_17": "171",
        "CEOS_PLATFORM_ATT_MILLISECOND_OF_DAY_POINT_17": "50203753",
        "CEOS_PLATFORM_ATT_PITCH_QUALITY_FLAG_POINT_17": "0",
        "CEOS_PLATFORM_ATT_ROLL_QUALITY_FLAG_POINT_17": "0",
        "CEOS_PLATFORM_ATT_YAW_QUALITY_FLAG_POINT_17": "0",
        "CEOS_PLATFORM_ATT_PITCH_DEG_POINT_17": "-9.764476E-02",
        "CEOS_PLATFORM_ATT_ROLL_DEG_POINT_17": "2.980518E+01",
        "CEOS_PLATFORM_ATT_YAW_DEG_POINT_17": "-3.029967E+00",
        "CEOS_PLATFORM_ATT_PITCH_RATE_QUALITY_FLAG_POINT_17": "0",
        "CEOS_PLATFORM_ATT_ROL_RATE_QUALITY_FLAG_POINT_17": "0",
        "CEOS_PLATFORM_ATT_YAW_RATE_QUALITY_FLAG_POINT_17": "0",
        "CEOS_PLATFORM_ATT_PITCH_RATE_POINT_17": "7.092902E-05",
        "CEOS_PLATFORM_ATT_ROLL_RATE_POINT_17": "7.255795E-06",
        "CEOS_PLATFORM_ATT_YAW_RATE_POINT_17": "2.537049E-03",
        "CEOS_PLATFORM_ATT_DAY_OF_YEAR_POINT_18": "171",
        "CEOS_PLATFORM_ATT_MILLISECOND_OF_DAY_POINT_18": "50204753",
        "CEOS_PLATFORM_ATT_PITCH_QUALITY_FLAG_POINT_18": "0",
        "CEOS_PLATFORM_ATT_ROLL_QUALITY_FLAG_POINT_18": "0",
        "CEOS_PLATFORM_ATT_YAW_QUALITY_FLAG_POINT_18": "0",
        "CEOS_PLATFORM_ATT_PITCH_DEG_POINT_18": "-9.759558E-02",
        "CEOS_PLATFORM_ATT_ROLL_DEG_POINT_18": "2.980519E+01",
        "CEOS_PLATFORM_ATT_YAW_DEG_POINT_18": "-3.027485E+00",
        "CEOS_PLATFORM_ATT_PITCH_RATE_QUALITY_FLAG_POINT_18": "0",
        "CEOS_PLATFORM_ATT_ROL_RATE_QUALITY_FLAG_POINT_18": "0",
        "CEOS_PLATFORM_ATT_YAW_RATE_QUALITY_FLAG_POINT_18": "0",
        "CEOS_PLATFORM_ATT_PITCH_RATE_POINT_18": "4.917696E-05",
        "CEOS_PLATFORM_ATT_ROLL_RATE_POINT_18": "8.024168E-06",
        "CEOS_PLATFORM_ATT_YAW_RATE_POINT_18": "2.482187E-03",
        "CEOS_PLATFORM_ATT_DAY_OF_YEAR_POINT_19": "171",
        "CEOS_PLATFORM_ATT_MILLISECOND_OF_DAY_POINT_19": "50205753",
        "CEOS_PLATFORM_ATT_PITCH_QUALITY_FLAG_POINT_19": "0",
        "CEOS_PLATFORM_ATT_ROLL_QUALITY_FLAG_POINT_19": "0",
        "CEOS_PLATFORM_ATT_YAW_QUALITY_FLAG_POINT_19": "0",
        "CEOS_PLATFORM_ATT_PITCH_DEG_POINT_19": "-9.753164E-02",
        "CEOS_PLATFORM_ATT_ROLL_DEG_POINT_19": "2.980515E+01",
        "CEOS_PLATFORM_ATT_YAW_DEG_POINT_19": "-3.024988E+00",
        "CEOS_PLATFORM_ATT_PITCH_RATE_QUALITY_FLAG_POINT_19": "0",
        "CEOS_PLATFORM_ATT_ROL_RATE_QUALITY_FLAG_POINT_19": "0",
        "CEOS_PLATFORM_ATT_YAW_RATE_QUALITY_FLAG_POINT_19": "0",
        "CEOS_PLATFORM_ATT_PITCH_RATE_POINT_19": "6.394413E-05",
        "CEOS_PLATFORM_ATT_ROLL_RATE_POINT_19": "-3.676540E-05",
        "CEOS_PLATFORM_ATT_YAW_RATE_POINT_19": "2.497424E-03",
        "CEOS_PLATFORM_ATT_DAY_OF_YEAR_POINT_20": "171",
        "CEOS_PLATFORM_ATT_MILLISECOND_OF_DAY_POINT_20": "50206753",
        "CEOS_PLATFORM_ATT_PITCH_QUALITY_FLAG_POINT_20": "0",
        "CEOS_PLATFORM_ATT_ROLL_QUALITY_FLAG_POINT_20": "0",
        "CEOS_PLATFORM_ATT_YAW_QUALITY_FLAG_POINT_20": "0",
        "CEOS_PLATFORM_ATT_PITCH_DEG_POINT_20": "-9.748316E-02",
        "CEOS_PLATFORM_ATT_ROLL_DEG_POINT_20": "2.980516E+01",
        "CEOS_PLATFORM_ATT_YAW_DEG_POINT_20": "-3.022489E+00",
        "CEOS_PLATFORM_ATT_PITCH_RATE_QUALITY_FLAG_POINT_20": "0",
        "CEOS_PLATFORM_ATT_ROL_RATE_QUALITY_FLAG_POINT_20": "0",
        "CEOS_PLATFORM_ATT_YAW_RATE_QUALITY_FLAG_POINT_20": "0",
        "CEOS_PLATFORM_ATT_PITCH_RATE_POINT_20": "4.847624E-05",
        "CEOS_PLATFORM_ATT_ROLL_RATE_POINT_20": "2.944351E-06",
        "CEOS_PLATFORM_ATT_YAW_RATE_POINT_20": "2.498976E-03",
        "CEOS_PLATFORM_ATT_DAY_OF_YEAR_POINT_21": "171",
        "CEOS_PLATFORM_ATT_MILLISECOND_OF_DAY_POINT_21": "50207753",
        "CEOS_PLATFORM_ATT_PITCH_QUALITY_FLAG_POINT_21": "0",
        "CEOS_PLATFORM_ATT_ROLL_QUALITY_FLAG_POINT_21": "0",
        "CEOS_PLATFORM_ATT_YAW_QUALITY_FLAG_POINT_21": "0",
        "CEOS_PLATFORM_ATT_PITCH_DEG_POINT_21": "-9.744661E-02",
        "CEOS_PLATFORM_ATT_ROLL_DEG_POINT_21": "2.980517E+01",
        "CEOS_PLATFORM_ATT_YAW_DEG_POINT_21": "-3.020003E+00",
        "CEOS_PLATFORM_ATT_PITCH_RATE_QUALITY_FLAG_POINT_21": "0",
        "CEOS_PLATFORM_ATT_ROL_RATE_QUALITY_FLAG_POINT_21": "0",
        "CEOS_PLATFORM_ATT_YAW_RATE_QUALITY_FLAG_POINT_21": "0",
        "CEOS_PLATFORM_ATT_PITCH_RATE_POINT_21": "3.654587E-05",
        "CEOS_PLATFORM_ATT_ROLL_RATE_POINT_21": "1.150114E-05",
        "CEOS_PLATFORM_ATT_YAW_RATE_POINT_21": "2.485676E-03",
        "CEOS_PLATFORM_ATT_DAY_OF_YEAR_POINT_22": "171",
        "CEOS_PLATFORM_ATT_MILLISECOND_OF_DAY_POINT_22": "50208753",
        "CEOS_PLATFORM_ATT_PITCH_QUALITY_FLAG_POINT_22": "0",
        "CEOS_PLATFORM_ATT_ROLL_QUALITY_FLAG_POINT_22": "0",
        "CEOS_PLATFORM_ATT_YAW_QUALITY_FLAG_POINT_22": "0",
        "CEOS_PLATFORM_ATT_PITCH_DEG_POINT_22": "-9.739426E-02",
        "CEOS_PLATFORM_ATT_ROLL_DEG_POINT_22": "2.980519E+01",
        "CEOS_PLATFORM_ATT_YAW_DEG_POINT_22": "-3.017486E+00",
        "CEOS_PLATFORM_ATT_PITCH_RATE_QUALITY_FLAG_POINT_22": "0",
        "CEOS_PLATFORM_ATT_ROL_RATE_QUALITY_FLAG_POINT_22": "0",
        "CEOS_PLATFORM_ATT_YAW_RATE_QUALITY_FLAG_POINT_22": "0",
        "CEOS_PLATFORM_ATT_PITCH_RATE_POINT_22": "5.235056E-05",
        "CEOS_PLATFORM_ATT_ROLL_RATE_POINT_22": "2.172217E-05",
        "CEOS_PLATFORM_ATT_YAW_RATE_POINT_22": "2.516806E-03",
        "CEOS_RADIOMETRIC_CALIBRATION_FACTOR": "-83.0000000",
        "CEOS_RADIOMETRIC_DT_1_1_REAL": "1.0000000",
        "CEOS_RADIOMETRIC_DT_1_1_IMAG": "0.0000000",
        "CEOS_RADIOMETRIC_DT_1_2_REAL": "0.0000000",
        "CEOS_RADIOMETRIC_DT_1_2_IMAG": "0.0000000",
        "CEOS_RADIOMETRIC_DT_2_1_REAL": "0.0000000",
        "CEOS_RADIOMETRIC_DT_2_1_IMAG": "0.0000000",
        "CEOS_RADIOMETRIC_DT_2_2_REAL": "1.0000000",
        "CEOS_RADIOMETRIC_DT_2_2_IMAG": "0.0000000",
        "CEOS_RADIOMETRIC_DR_1_1_REAL": "1.0000000",
        "CEOS_RADIOMETRIC_DR_1_1_IMAG": "0.0000000",
        "CEOS_RADIOMETRIC_DR_1_2_REAL": "0.0000000",
        "CEOS_RADIOMETRIC_DR_1_2_IMAG": "0.0000000",
        "CEOS_RADIOMETRIC_DR_2_1_REAL": "0.0000000",
        "CEOS_RADIOMETRIC_DR_2_1_IMAG": "0.0000000",
        "CEOS_RADIOMETRIC_DR_2_2_REAL": "1.0000000",
        "CEOS_RADIOMETRIC_DR_2_2_IMAG": "0.0000000",
        "CEOS_FACILITY_5_LAT_LON_TO_LINE_COEFFICIENTS": "-1.3666695178E-04 -1.1517338911E-06 1.0131870127E-05 5.1121379438E-05 "
        "3.1278985131E-04 -3.7582955422E-06 2.9829435075E-06 4.4910735649E-04 "
        "-2.0545481315E-03 -1.2832192662E-02 3.8113923476E-05 -1.5308418292E-04 "
        "1.1227550666E-01 -5.0554711850E-01 -3.1116948873E+00 3.0232162348E-04 "
        "-2.7053075827E-03 -2.2198262486E+00 1.0053411509E+01 -4.4373208730E+04 "
        "-1.4080072917E-02 1.2687387636E-01 -1.8417634163E+02 8.3054253974E+02 "
        "1.6146000000E+04",
        "CEOS_FACILITY_5_LAT_LON_TO_PIXEL_COEFFICIENTS": "-5.5997790772E-05 -8.9223711203E-06 1.1886794851E-05 1.4321496857E-04 "
        "-3.2329687220E-04 -6.6580843302E-06 2.6224938057E-05 -1.7982410153E-04 "
        "2.2449294453E-02 -5.0081894208E-02 6.6301715549E-06 3.1109782887E-04 "
        "-2.0440781321E-03 -5.5362399462E+00 1.2509173532E+01 6.4530187805E-05 "
        "-6.8837176224E-02 4.6520416913E-01 -4.5021343251E+02 1.0151179127E+03 "
        "5.7346969405E-04 6.0534593365E-01 -4.1126559248E+00 3.6304981876E+04 "
        "1.3616000000E+04",
        "CEOS_FACILITY_5_ORIGIN_LAT": "3.5458948600E+01",
        "CEOS_FACILITY_5_ORIGIN_LINE": "0.0000000000E+00",
        "CEOS_FACILITY_5_ORIGIN_LON": "1.3874174052E+02",
        "CEOS_FACILITY_5_ORIGIN_PIXEL": "0.0000000000E+00",
        "CEOS_FACILITY_5_PIXEL_LINE_TO_LAT_COEFFICIENTS": "-2.3104926291E-42 1.5207208304E-37 -3.0954155926E-33 1.9035511700E-29 "
        "2.5684501457E-25 1.3472207479E-37 -8.8635822717E-33 1.8022065555E-28 "
        "-1.0023482162E-24 -1.0122896620E-19 -2.4748629115E-33 1.6306528915E-28 "
        "-4.0259431886E-24 2.6297133860E-18 -3.1741938070E-12 1.4426831385E-29 "
        "-1.0112760235E-24 1.5815329866E-19 -5.0117521039E-13 6.0868938817E-07 "
        "-5.6861032722E-27 7.1632069301E-21 -4.9032669931E-14 -2.2516472821E-05 "
        "3.5814915020E+01",
        "CEOS_FACILITY_5_PIXEL_LINE_TO_LON_COEFFICIENTS": "7.7716570251E-42 -5.2356604290E-37 1.1022181706E-32 -7.2455640457E-29 "
        "-2.4976585106E-26 -4.1481591039E-37 2.7979355435E-32 -5.9139995226E-28 "
        "5.4987057984E-24 -1.4387459137E-18 6.6614987331E-33 -4.5049450740E-28 "
        "9.9271124613E-24 -5.2786874679E-19 4.1451125993E-13 -2.9685253220E-29 "
        "4.5924558251E-25 4.2663463205E-18 -7.7880715031E-12 2.7644355071E-05 "
        "-6.8795714033E-26 1.5505039237E-19 -4.1448467246E-13 7.4731174851E-07 "
        "1.3835500140E+02",
        "CEOS_FACILITY_5_XY_PROJECTED_TO_LINE_COEFFICIENTS": "-1.1834230433E+06 2.2231972754E+04 1.6049805520E+04 -1.0503649446E+03 "
        "1.5996154068E+02 2.0743547365E+02 -4.6328458867E-02 3.8334016452E+00 "
        "-1.4725483878E+00 -1.2674734992E+00",
        "CEOS_FACILITY_5_XY_PROJECTED_TO_PIXEL_COEFFICIENTS": "-3.7535305593E+06 1.6276152656E+04 -1.2253827471E+04 -4.4500918447E+02 "
        "1.3084952314E+03 4.6850620168E+02 -7.5655420654E+00 1.9148164082E+00 "
        "-2.3156491623E+00 -1.2986112720E+00",
        "CEOS_AZIMUTH_FM_RATE_FIRST_PIXEL_HZ_PER_MS": "-522034",
        "CEOS_AZIMUTH_FM_RATE_FIRST_PIXEL_LAST_LINE_HZ_PER_MS": "-522034",
        "CEOS_AZIMUTH_FM_RATE_LAST_PIXEL_HZ_PER_MS": "-522034",
        "CEOS_AZIMUTH_FM_RATE_LAST_PIXEL_LAST_LINE_HZ_PER_MS": "-522034",
        "CEOS_AZIMUTH_FM_RATE_MID_PIXEL_HZ_PER_MS": "-522034",
        "CEOS_AZIMUTH_FM_RATE_MID_PIXEL_LAST_LINE_HZ_PER_MS": "-522034",
        "CEOS_DOPPLER_CENTROID_FIRST_PIXEL_HZ": "-36.997",
        "CEOS_DOPPLER_CENTROID_FIRST_PIXEL_LAST_LINE_HZ": "-36.997",
        "CEOS_DOPPLER_CENTROID_LAST_PIXEL_HZ": "-36.997",
        "CEOS_DOPPLER_CENTROID_LAST_PIXEL_LAST_LINE_HZ": "-36.997",
        "CEOS_DOPPLER_CENTROID_MID_PIXEL_HZ": "-36.997",
        "CEOS_DOPPLER_CENTROID_MID_PIXEL_LAST_LINE_HZ": "-36.997",
        "CEOS_SLANT_RANGE_FIRST_PIXEL_LAST_LINE_METERS": "852424",
        "CEOS_SLANT_RANGE_FIRST_PIXEL_METERS": "852424",
        "CEOS_SLANT_RANGE_LAST_PIXEL_LAST_LINE_METERS": "852424",
        "CEOS_SLANT_RANGE_LAST_PIXEL_METERS": "852424",
        "CEOS_SLANT_RANGE_MID_PIXEL_LAST_LINE_METERS": "852424",
        "CEOS_SLANT_RANGE_MID_PIXEL_METERS": "852424",
    }
    assert ds.GetGCPCount() == 15


@pytest.mark.network
@pytest.mark.require_curl
def test_sar_ceos_alos4_L1_1():
    url = "https://www.eorc.jaxa.jp/ALOS/en/alos-4/sample_product/2025_May/Tokyo/L11/ALOS40182880250307UWD-RD0109_1.1__-.zip"

    if gdaltest.gdalurlopen(url, timeout=5) is None:
        pytest.skip(f"Could not read from {url}")

    with gdaltest.error_raised(gdal.CE_None):
        ds = gdal.Open(
            f"/vsizip//vsicurl/{url}/ALOS40182880250307UWD-RD0109_1.1__-/ALOS40182880250307UWD-RD0109_1.1__-/IMG-HH-ALOS40182880250307UWD-RD0109-1.1__-"
        )

    assert ds.RasterXSize == 19652
    assert ds.RasterYSize == 40633
    assert ds.RasterCount == 1
    assert ds.GetRasterBand(1).DataType == gdal.GDT_CFloat32
    md = ds.GetMetadata()
    count_removed = 0
    for key in list(md.keys()):
        if key.startswith("CEOS_PLATFORM_POS_VECTOR_"):
            del md[key]
            count_removed += 1
    assert count_removed == int(md["CEOS_PLATFORM_POS_NUMBER_POINTS"]) * 6
    assert md == {
        "CEOS_LOGICAL_VOLUME_ID": "AL4SAR20250509",
        "CEOS_PROCESSING_FACILITY": "EICS",
        "CEOS_PROCESSING_AGENCY": "JAXA",
        "CEOS_PROCESSING_COUNTRY": "JAPAN",
        "CEOS_SOFTWARE_ID": "100.101",
        "CEOS_VOLSET_ID": "ALOS4  SAR",
        "CEOS_ACQUISITION_TIME": "20250307024249121",
        "CEOS_ELLIPSOID": "GRS80",
        "CEOS_SEMI_MAJOR": "6378.1370000",
        "CEOS_SEMI_MINOR": "6356.7523141",
        "CEOS_MISSION_ID": "ALOS4",
        "CEOS_SENSOR_ID": "ALOS4 -L -0215",
        "CEOS_ORBIT_NUMBER": "3682",
        "CEOS_SENSOR_CLOCK_ANGLE": "90.000",
        "CEOS_INC_ANGLE": "42.502",
        "CEOS_FACILITY": "EICS",
        "CEOS_PLATFORM_ATT_DAY_OF_YEAR_POINT_1": "66",
        "CEOS_PLATFORM_ATT_DAY_OF_YEAR_POINT_10": "66",
        "CEOS_PLATFORM_ATT_DAY_OF_YEAR_POINT_11": "66",
        "CEOS_PLATFORM_ATT_DAY_OF_YEAR_POINT_12": "66",
        "CEOS_PLATFORM_ATT_DAY_OF_YEAR_POINT_2": "66",
        "CEOS_PLATFORM_ATT_DAY_OF_YEAR_POINT_3": "66",
        "CEOS_PLATFORM_ATT_DAY_OF_YEAR_POINT_4": "66",
        "CEOS_PLATFORM_ATT_DAY_OF_YEAR_POINT_5": "66",
        "CEOS_PLATFORM_ATT_DAY_OF_YEAR_POINT_6": "66",
        "CEOS_PLATFORM_ATT_DAY_OF_YEAR_POINT_7": "66",
        "CEOS_PLATFORM_ATT_DAY_OF_YEAR_POINT_8": "66",
        "CEOS_PLATFORM_ATT_DAY_OF_YEAR_POINT_9": "66",
        "CEOS_PLATFORM_ATT_MILLISECOND_OF_DAY_POINT_1": "9763773",
        "CEOS_PLATFORM_ATT_MILLISECOND_OF_DAY_POINT_10": "9772773",
        "CEOS_PLATFORM_ATT_MILLISECOND_OF_DAY_POINT_11": "9773773",
        "CEOS_PLATFORM_ATT_MILLISECOND_OF_DAY_POINT_12": "9774773",
        "CEOS_PLATFORM_ATT_MILLISECOND_OF_DAY_POINT_2": "9764773",
        "CEOS_PLATFORM_ATT_MILLISECOND_OF_DAY_POINT_3": "9765773",
        "CEOS_PLATFORM_ATT_MILLISECOND_OF_DAY_POINT_4": "9766773",
        "CEOS_PLATFORM_ATT_MILLISECOND_OF_DAY_POINT_5": "9767773",
        "CEOS_PLATFORM_ATT_MILLISECOND_OF_DAY_POINT_6": "9768773",
        "CEOS_PLATFORM_ATT_MILLISECOND_OF_DAY_POINT_7": "9769773",
        "CEOS_PLATFORM_ATT_MILLISECOND_OF_DAY_POINT_8": "9770773",
        "CEOS_PLATFORM_ATT_MILLISECOND_OF_DAY_POINT_9": "9771773",
        "CEOS_PLATFORM_ATT_NUMBER_POINTS": "12",
        "CEOS_PLATFORM_ATT_PITCH_DEG_POINT_1": "6.303275E-02",
        "CEOS_PLATFORM_ATT_PITCH_DEG_POINT_10": "6.340894E-02",
        "CEOS_PLATFORM_ATT_PITCH_DEG_POINT_11": "6.344428E-02",
        "CEOS_PLATFORM_ATT_PITCH_DEG_POINT_12": "6.340494E-02",
        "CEOS_PLATFORM_ATT_PITCH_DEG_POINT_2": "6.298878E-02",
        "CEOS_PLATFORM_ATT_PITCH_DEG_POINT_3": "6.295527E-02",
        "CEOS_PLATFORM_ATT_PITCH_DEG_POINT_4": "6.303754E-02",
        "CEOS_PLATFORM_ATT_PITCH_DEG_POINT_5": "6.309898E-02",
        "CEOS_PLATFORM_ATT_PITCH_DEG_POINT_6": "6.314368E-02",
        "CEOS_PLATFORM_ATT_PITCH_DEG_POINT_7": "6.319234E-02",
        "CEOS_PLATFORM_ATT_PITCH_DEG_POINT_8": "6.327746E-02",
        "CEOS_PLATFORM_ATT_PITCH_DEG_POINT_9": "6.336103E-02",
        "CEOS_PLATFORM_ATT_PITCH_QUALITY_FLAG_POINT_1": "0",
        "CEOS_PLATFORM_ATT_PITCH_QUALITY_FLAG_POINT_10": "0",
        "CEOS_PLATFORM_ATT_PITCH_QUALITY_FLAG_POINT_11": "0",
        "CEOS_PLATFORM_ATT_PITCH_QUALITY_FLAG_POINT_12": "0",
        "CEOS_PLATFORM_ATT_PITCH_QUALITY_FLAG_POINT_2": "0",
        "CEOS_PLATFORM_ATT_PITCH_QUALITY_FLAG_POINT_3": "0",
        "CEOS_PLATFORM_ATT_PITCH_QUALITY_FLAG_POINT_4": "0",
        "CEOS_PLATFORM_ATT_PITCH_QUALITY_FLAG_POINT_5": "0",
        "CEOS_PLATFORM_ATT_PITCH_QUALITY_FLAG_POINT_6": "0",
        "CEOS_PLATFORM_ATT_PITCH_QUALITY_FLAG_POINT_7": "0",
        "CEOS_PLATFORM_ATT_PITCH_QUALITY_FLAG_POINT_8": "0",
        "CEOS_PLATFORM_ATT_PITCH_QUALITY_FLAG_POINT_9": "0",
        "CEOS_PLATFORM_ATT_PITCH_RATE_POINT_1": "-4.475431E-05",
        "CEOS_PLATFORM_ATT_PITCH_RATE_POINT_10": "4.790619E-05",
        "CEOS_PLATFORM_ATT_PITCH_RATE_POINT_11": "3.534303E-05",
        "CEOS_PLATFORM_ATT_PITCH_RATE_POINT_12": "-3.933542E-05",
        "CEOS_PLATFORM_ATT_PITCH_RATE_POINT_2": "-4.396843E-05",
        "CEOS_PLATFORM_ATT_PITCH_RATE_POINT_3": "-3.351370E-05",
        "CEOS_PLATFORM_ATT_PITCH_RATE_POINT_4": "8.227625E-05",
        "CEOS_PLATFORM_ATT_PITCH_RATE_POINT_5": "6.143297E-05",
        "CEOS_PLATFORM_ATT_PITCH_RATE_POINT_6": "4.470261E-05",
        "CEOS_PLATFORM_ATT_PITCH_RATE_POINT_7": "4.866263E-05",
        "CEOS_PLATFORM_ATT_PITCH_RATE_POINT_8": "8.511692E-05",
        "CEOS_PLATFORM_ATT_PITCH_RATE_POINT_9": "8.357209E-05",
        "CEOS_PLATFORM_ATT_PITCH_RATE_QUALITY_FLAG_POINT_1": "0",
        "CEOS_PLATFORM_ATT_PITCH_RATE_QUALITY_FLAG_POINT_10": "0",
        "CEOS_PLATFORM_ATT_PITCH_RATE_QUALITY_FLAG_POINT_11": "0",
        "CEOS_PLATFORM_ATT_PITCH_RATE_QUALITY_FLAG_POINT_12": "0",
        "CEOS_PLATFORM_ATT_PITCH_RATE_QUALITY_FLAG_POINT_2": "0",
        "CEOS_PLATFORM_ATT_PITCH_RATE_QUALITY_FLAG_POINT_3": "0",
        "CEOS_PLATFORM_ATT_PITCH_RATE_QUALITY_FLAG_POINT_4": "0",
        "CEOS_PLATFORM_ATT_PITCH_RATE_QUALITY_FLAG_POINT_5": "0",
        "CEOS_PLATFORM_ATT_PITCH_RATE_QUALITY_FLAG_POINT_6": "0",
        "CEOS_PLATFORM_ATT_PITCH_RATE_QUALITY_FLAG_POINT_7": "0",
        "CEOS_PLATFORM_ATT_PITCH_RATE_QUALITY_FLAG_POINT_8": "0",
        "CEOS_PLATFORM_ATT_PITCH_RATE_QUALITY_FLAG_POINT_9": "0",
        "CEOS_PLATFORM_ATT_ROLL_DEG_POINT_1": "-1.487072E+01",
        "CEOS_PLATFORM_ATT_ROLL_DEG_POINT_10": "-1.487068E+01",
        "CEOS_PLATFORM_ATT_ROLL_DEG_POINT_11": "-1.487063E+01",
        "CEOS_PLATFORM_ATT_ROLL_DEG_POINT_12": "-1.487074E+01",
        "CEOS_PLATFORM_ATT_ROLL_DEG_POINT_2": "-1.487074E+01",
        "CEOS_PLATFORM_ATT_ROLL_DEG_POINT_3": "-1.487065E+01",
        "CEOS_PLATFORM_ATT_ROLL_DEG_POINT_4": "-1.487062E+01",
        "CEOS_PLATFORM_ATT_ROLL_DEG_POINT_5": "-1.487059E+01",
        "CEOS_PLATFORM_ATT_ROLL_DEG_POINT_6": "-1.487075E+01",
        "CEOS_PLATFORM_ATT_ROLL_DEG_POINT_7": "-1.487096E+01",
        "CEOS_PLATFORM_ATT_ROLL_DEG_POINT_8": "-1.487099E+01",
        "CEOS_PLATFORM_ATT_ROLL_DEG_POINT_9": "-1.487087E+01",
        "CEOS_PLATFORM_ATT_ROLL_QUALITY_FLAG_POINT_1": "0",
        "CEOS_PLATFORM_ATT_ROLL_QUALITY_FLAG_POINT_10": "0",
        "CEOS_PLATFORM_ATT_ROLL_QUALITY_FLAG_POINT_11": "0",
        "CEOS_PLATFORM_ATT_ROLL_QUALITY_FLAG_POINT_12": "0",
        "CEOS_PLATFORM_ATT_ROLL_QUALITY_FLAG_POINT_2": "0",
        "CEOS_PLATFORM_ATT_ROLL_QUALITY_FLAG_POINT_3": "0",
        "CEOS_PLATFORM_ATT_ROLL_QUALITY_FLAG_POINT_4": "0",
        "CEOS_PLATFORM_ATT_ROLL_QUALITY_FLAG_POINT_5": "0",
        "CEOS_PLATFORM_ATT_ROLL_QUALITY_FLAG_POINT_6": "0",
        "CEOS_PLATFORM_ATT_ROLL_QUALITY_FLAG_POINT_7": "0",
        "CEOS_PLATFORM_ATT_ROLL_QUALITY_FLAG_POINT_8": "0",
        "CEOS_PLATFORM_ATT_ROLL_QUALITY_FLAG_POINT_9": "0",
        "CEOS_PLATFORM_ATT_ROLL_RATE_POINT_1": "-3.593651E-05",
        "CEOS_PLATFORM_ATT_ROLL_RATE_POINT_10": "1.938220E-04",
        "CEOS_PLATFORM_ATT_ROLL_RATE_POINT_11": "4.363300E-05",
        "CEOS_PLATFORM_ATT_ROLL_RATE_POINT_12": "-1.108357E-04",
        "CEOS_PLATFORM_ATT_ROLL_RATE_POINT_2": "-2.518254E-05",
        "CEOS_PLATFORM_ATT_ROLL_RATE_POINT_3": "9.132310E-05",
        "CEOS_PLATFORM_ATT_ROLL_RATE_POINT_4": "2.677835E-05",
        "CEOS_PLATFORM_ATT_ROLL_RATE_POINT_5": "3.077924E-05",
        "CEOS_PLATFORM_ATT_ROLL_RATE_POINT_6": "-1.625714E-04",
        "CEOS_PLATFORM_ATT_ROLL_RATE_POINT_7": "-2.066416E-04",
        "CEOS_PLATFORM_ATT_ROLL_RATE_POINT_8": "-3.141320E-05",
        "CEOS_PLATFORM_ATT_ROLL_RATE_POINT_9": "1.228647E-04",
        "CEOS_PLATFORM_ATT_ROL_RATE_QUALITY_FLAG_POINT_1": "0",
        "CEOS_PLATFORM_ATT_ROL_RATE_QUALITY_FLAG_POINT_10": "0",
        "CEOS_PLATFORM_ATT_ROL_RATE_QUALITY_FLAG_POINT_11": "0",
        "CEOS_PLATFORM_ATT_ROL_RATE_QUALITY_FLAG_POINT_12": "0",
        "CEOS_PLATFORM_ATT_ROL_RATE_QUALITY_FLAG_POINT_2": "0",
        "CEOS_PLATFORM_ATT_ROL_RATE_QUALITY_FLAG_POINT_3": "0",
        "CEOS_PLATFORM_ATT_ROL_RATE_QUALITY_FLAG_POINT_4": "0",
        "CEOS_PLATFORM_ATT_ROL_RATE_QUALITY_FLAG_POINT_5": "0",
        "CEOS_PLATFORM_ATT_ROL_RATE_QUALITY_FLAG_POINT_6": "0",
        "CEOS_PLATFORM_ATT_ROL_RATE_QUALITY_FLAG_POINT_7": "0",
        "CEOS_PLATFORM_ATT_ROL_RATE_QUALITY_FLAG_POINT_8": "0",
        "CEOS_PLATFORM_ATT_ROL_RATE_QUALITY_FLAG_POINT_9": "0",
        "CEOS_PLATFORM_ATT_YAW_DEG_POINT_1": "3.024123E+00",
        "CEOS_PLATFORM_ATT_YAW_DEG_POINT_10": "3.045861E+00",
        "CEOS_PLATFORM_ATT_YAW_DEG_POINT_11": "3.048242E+00",
        "CEOS_PLATFORM_ATT_YAW_DEG_POINT_12": "3.050606E+00",
        "CEOS_PLATFORM_ATT_YAW_DEG_POINT_2": "3.026457E+00",
        "CEOS_PLATFORM_ATT_YAW_DEG_POINT_3": "3.028768E+00",
        "CEOS_PLATFORM_ATT_YAW_DEG_POINT_4": "3.031346E+00",
        "CEOS_PLATFORM_ATT_YAW_DEG_POINT_5": "3.033780E+00",
        "CEOS_PLATFORM_ATT_YAW_DEG_POINT_6": "3.036217E+00",
        "CEOS_PLATFORM_ATT_YAW_DEG_POINT_7": "3.038581E+00",
        "CEOS_PLATFORM_ATT_YAW_DEG_POINT_8": "3.040926E+00",
        "CEOS_PLATFORM_ATT_YAW_DEG_POINT_9": "3.043443E+00",
        "CEOS_PLATFORM_ATT_YAW_QUALITY_FLAG_POINT_1": "0",
        "CEOS_PLATFORM_ATT_YAW_QUALITY_FLAG_POINT_10": "0",
        "CEOS_PLATFORM_ATT_YAW_QUALITY_FLAG_POINT_11": "0",
        "CEOS_PLATFORM_ATT_YAW_QUALITY_FLAG_POINT_12": "0",
        "CEOS_PLATFORM_ATT_YAW_QUALITY_FLAG_POINT_2": "0",
        "CEOS_PLATFORM_ATT_YAW_QUALITY_FLAG_POINT_3": "0",
        "CEOS_PLATFORM_ATT_YAW_QUALITY_FLAG_POINT_4": "0",
        "CEOS_PLATFORM_ATT_YAW_QUALITY_FLAG_POINT_5": "0",
        "CEOS_PLATFORM_ATT_YAW_QUALITY_FLAG_POINT_6": "0",
        "CEOS_PLATFORM_ATT_YAW_QUALITY_FLAG_POINT_7": "0",
        "CEOS_PLATFORM_ATT_YAW_QUALITY_FLAG_POINT_8": "0",
        "CEOS_PLATFORM_ATT_YAW_QUALITY_FLAG_POINT_9": "0",
        "CEOS_PLATFORM_ATT_YAW_RATE_POINT_1": "2.315220E-03",
        "CEOS_PLATFORM_ATT_YAW_RATE_POINT_10": "2.417849E-03",
        "CEOS_PLATFORM_ATT_YAW_RATE_POINT_11": "2.380913E-03",
        "CEOS_PLATFORM_ATT_YAW_RATE_POINT_12": "2.363979E-03",
        "CEOS_PLATFORM_ATT_YAW_RATE_POINT_2": "2.333999E-03",
        "CEOS_PLATFORM_ATT_YAW_RATE_POINT_3": "2.311430E-03",
        "CEOS_PLATFORM_ATT_YAW_RATE_POINT_4": "2.578263E-03",
        "CEOS_PLATFORM_ATT_YAW_RATE_POINT_5": "2.433813E-03",
        "CEOS_PLATFORM_ATT_YAW_RATE_POINT_6": "2.436305E-03",
        "CEOS_PLATFORM_ATT_YAW_RATE_POINT_7": "2.364081E-03",
        "CEOS_PLATFORM_ATT_YAW_RATE_POINT_8": "2.345090E-03",
        "CEOS_PLATFORM_ATT_YAW_RATE_POINT_9": "2.517189E-03",
        "CEOS_PLATFORM_ATT_YAW_RATE_QUALITY_FLAG_POINT_1": "0",
        "CEOS_PLATFORM_ATT_YAW_RATE_QUALITY_FLAG_POINT_10": "0",
        "CEOS_PLATFORM_ATT_YAW_RATE_QUALITY_FLAG_POINT_11": "0",
        "CEOS_PLATFORM_ATT_YAW_RATE_QUALITY_FLAG_POINT_12": "0",
        "CEOS_PLATFORM_ATT_YAW_RATE_QUALITY_FLAG_POINT_2": "0",
        "CEOS_PLATFORM_ATT_YAW_RATE_QUALITY_FLAG_POINT_3": "0",
        "CEOS_PLATFORM_ATT_YAW_RATE_QUALITY_FLAG_POINT_4": "0",
        "CEOS_PLATFORM_ATT_YAW_RATE_QUALITY_FLAG_POINT_5": "0",
        "CEOS_PLATFORM_ATT_YAW_RATE_QUALITY_FLAG_POINT_6": "0",
        "CEOS_PLATFORM_ATT_YAW_RATE_QUALITY_FLAG_POINT_7": "0",
        "CEOS_PLATFORM_ATT_YAW_RATE_QUALITY_FLAG_POINT_8": "0",
        "CEOS_PLATFORM_ATT_YAW_RATE_QUALITY_FLAG_POINT_9": "0",
        "CEOS_PLATFORM_POS_ACROSS_TRACK_POS_ERROR_METERS": "3.0000000",
        "CEOS_PLATFORM_POS_ACROSS_TRACK_VELOCITY_ERROR_METERS_PER_SEC": "0.1000000",
        "CEOS_PLATFORM_POS_ALONG_TRACK_POS_ERROR_METERS": "3.0000000",
        "CEOS_PLATFORM_POS_ALONG_TRACK_VELOCITY_ERROR_METERS_PER_SEC": "0.1000000",
        "CEOS_PLATFORM_POS_DAY_IN_YEAR_POINT_1": "66",
        "CEOS_PLATFORM_POS_DAY_POINT_1": "7",
        "CEOS_PLATFORM_POS_LEAP_SECOND": "0",
        "CEOS_PLATFORM_POS_MONTH_POINT_1": "3",
        "CEOS_PLATFORM_POS_NUMBER_POINTS": "28",
        "CEOS_PLATFORM_POS_ORBITAL_ELEMENTS_DESIGNATOR": "2",
        "CEOS_PLATFORM_POS_ORBITAL_ELEMENT_1": "-4661844.2355847",
        "CEOS_PLATFORM_POS_ORBITAL_ELEMENT_2": "3272959.4331956",
        "CEOS_PLATFORM_POS_ORBITAL_ELEMENT_3": "4078580.1757568",
        "CEOS_PLATFORM_POS_ORBITAL_ELEMENT_4": "-2576.6374036",
        "CEOS_PLATFORM_POS_ORBITAL_ELEMENT_5": "3878.4542923",
        "CEOS_PLATFORM_POS_ORBITAL_ELEMENT_6": "-6039.6046166",
        "CEOS_PLATFORM_POS_RADIAL_POS_ERROR_METERS": "3.0000000",
        "CEOS_PLATFORM_POS_RADIAL_VELOCITY_ERROR_METERS_PER_SEC": "0.1000000",
        "CEOS_PLATFORM_POS_REF_COORD_SYS": "ECR",
        "CEOS_PLATFORM_POS_SECONDS_OF_DAY_POINT_1": "8.940000000000000E+03",
        "CEOS_PLATFORM_POS_TIME_INTERVAL_SECONDS": "6.000000000000000E+01",
        "CEOS_PLATFORM_POS_YEAR_POINT_1": "2025",
        "CEOS_RADIOMETRIC_CALIBRATION_FACTOR": "-83.0000000",
        "CEOS_RADIOMETRIC_DR_1_1_IMAG": "0.0000000",
        "CEOS_RADIOMETRIC_DR_1_1_REAL": "0.0000000",
        "CEOS_RADIOMETRIC_DR_1_2_IMAG": "0.0000000",
        "CEOS_RADIOMETRIC_DR_1_2_REAL": "0.0000000",
        "CEOS_RADIOMETRIC_DR_2_1_IMAG": "0.0000000",
        "CEOS_RADIOMETRIC_DR_2_1_REAL": "0.0000000",
        "CEOS_RADIOMETRIC_DR_2_2_IMAG": "0.0000000",
        "CEOS_RADIOMETRIC_DR_2_2_REAL": "0.0000000",
        "CEOS_RADIOMETRIC_DT_1_1_IMAG": "0.0000000",
        "CEOS_RADIOMETRIC_DT_1_1_REAL": "0.0000000",
        "CEOS_RADIOMETRIC_DT_1_2_IMAG": "0.0000000",
        "CEOS_RADIOMETRIC_DT_1_2_REAL": "0.0000000",
        "CEOS_RADIOMETRIC_DT_2_1_IMAG": "0.0000000",
        "CEOS_RADIOMETRIC_DT_2_1_REAL": "0.0000000",
        "CEOS_RADIOMETRIC_DT_2_2_IMAG": "0.0000000",
        "CEOS_RADIOMETRIC_DT_2_2_REAL": "0.0000000",
    }
    assert ds.GetGCPCount() == 0
