Skip to content

Commit

Permalink
Add testing of RCM driver
Browse files Browse the repository at this point in the history
  • Loading branch information
rouault committed Oct 24, 2024
1 parent 8ad1706 commit 32a318f
Show file tree
Hide file tree
Showing 14 changed files with 891 additions and 0 deletions.
Binary file not shown.
Binary file not shown.
4 changes: 4 additions & 0 deletions autotest/gdrivers/data/rcm/fake_VV_VH_GRD/manifest.safe
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<xfdu:XFDU xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xfdu="urn:ccsds:schema:xfdu:1" xsi:schemaLocation="urn:ccsds:schema:xfdu:1 ./support/schemas/rcm_prod_manifest.xsd">
<!-- lots of stuff omitted -->
</xfdu:XFDU>
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<incidenceAngles xmlns="rcmGsProductSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="rcmGsProductSchema ../../support/schemas/rcm_prod_incidenceAngles.xsd">
<pixelFirstAnglesValue>0</pixelFirstAnglesValue>
<stepSize>-23</stepSize>
<numberOfValues>1</numberOfValues>
<angles units="deg">0</angles>
</incidenceAngles>
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<lut xmlns="rcmGsProductSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="rcmGsProductSchema ../../support/schemas/rcm_prod_lut.xsd">
<pixelFirstLutValue>10</pixelFirstLutValue>
<stepSize>-17915</stepSize>
<numberOfValues>1</numberOfValues>
<offset>0</offset>
<gains>10</gains>
</lut>
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<lut xmlns="rcmGsProductSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="rcmGsProductSchema ../../support/schemas/rcm_prod_lut.xsd">
<pixelFirstLutValue>10</pixelFirstLutValue>
<stepSize>-17915</stepSize>
<numberOfValues>1</numberOfValues>
<offset>0</offset>
<gains>10</gains>
</lut>
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<lut xmlns="rcmGsProductSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="rcmGsProductSchema ../../support/schemas/rcm_prod_lut.xsd">
<pixelFirstLutValue>10</pixelFirstLutValue>
<stepSize>-17915</stepSize>
<numberOfValues>1</numberOfValues>
<offset>0</offset>
<gains>10</gains>
</lut>
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<lut xmlns="rcmGsProductSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="rcmGsProductSchema ../../support/schemas/rcm_prod_lut.xsd">
<pixelFirstLutValue>10</pixelFirstLutValue>
<stepSize>-17915</stepSize>
<numberOfValues>1</numberOfValues>
<offset>0</offset>
<gains>10</gains>
</lut>
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<lut xmlns="rcmGsProductSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="rcmGsProductSchema ../../support/schemas/rcm_prod_lut.xsd">
<pixelFirstLutValue>10</pixelFirstLutValue>
<stepSize>-17915</stepSize>
<numberOfValues>1</numberOfValues>
<offset>0</offset>
<gains>10</gains>
</lut>
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<lut xmlns="rcmGsProductSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="rcmGsProductSchema ../../support/schemas/rcm_prod_lut.xsd">
<pixelFirstLutValue>10</pixelFirstLutValue>
<stepSize>-17915</stepSize>
<numberOfValues>1</numberOfValues>
<offset>0</offset>
<gains>10</gains>
</lut>
Original file line number Diff line number Diff line change
@@ -0,0 +1,264 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<noiseLevels xmlns="rcmGsProductSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="rcmGsProductSchema ../../support/schemas/rcm_prod_noiseLevels.xsd">
<referenceNoiseLevel>
<sarCalibrationType>Beta Nought</sarCalibrationType>
<pixelFirstNoiseValue>0</pixelFirstNoiseValue>
<stepSize>-23</stepSize>
<numberOfValues>1</numberOfValues>
<noiseLevelValues units="dB">0</noiseLevelValues>
</referenceNoiseLevel>
<referenceNoiseLevel>
<sarCalibrationType>Sigma Nought</sarCalibrationType>
<pixelFirstNoiseValue>0</pixelFirstNoiseValue>
<stepSize>-23</stepSize>
<numberOfValues>1</numberOfValues>
<noiseLevelValues units="dB">0</noiseLevelValues>
</referenceNoiseLevel>
<referenceNoiseLevel>
<sarCalibrationType>Gamma</sarCalibrationType>
<pixelFirstNoiseValue>0</pixelFirstNoiseValue>
<stepSize>-23</stepSize>
<numberOfValues>1</numberOfValues>
<noiseLevelValues units="dB">0</noiseLevelValues>
</referenceNoiseLevel>
<perBeamReferenceNoiseLevel>
<beam>SC-5</beam>
<sarCalibrationType>Beta Nought</sarCalibrationType>
<pixelFirstNoiseValue>0</pixelFirstNoiseValue>
<stepSize>-3</stepSize>
<numberOfValues>1</numberOfValues>
<noiseLevelValues units="dB">0</noiseLevelValues>
</perBeamReferenceNoiseLevel>
<perBeamReferenceNoiseLevel>
<beam>SC-6</beam>
<sarCalibrationType>Beta Nought</sarCalibrationType>
<pixelFirstNoiseValue>0</pixelFirstNoiseValue>
<stepSize>-3</stepSize>
<numberOfValues>1</numberOfValues>
<noiseLevelValues units="dB">0</noiseLevelValues>
</perBeamReferenceNoiseLevel>
<perBeamReferenceNoiseLevel>
<beam>SC-7</beam>
<sarCalibrationType>Beta Nought</sarCalibrationType>
<pixelFirstNoiseValue>0</pixelFirstNoiseValue>
<stepSize>-3</stepSize>
<numberOfValues>1</numberOfValues>
<noiseLevelValues units="dB">0</noiseLevelValues>
</perBeamReferenceNoiseLevel>
<perBeamReferenceNoiseLevel>
<beam>SC-8</beam>
<sarCalibrationType>Beta Nought</sarCalibrationType>
<pixelFirstNoiseValue>0</pixelFirstNoiseValue>
<stepSize>-3</stepSize>
<numberOfValues>1</numberOfValues>
<noiseLevelValues units="dB">0</noiseLevelValues>
</perBeamReferenceNoiseLevel>
<perBeamReferenceNoiseLevel>
<beam>SC-9</beam>
<sarCalibrationType>Beta Nought</sarCalibrationType>
<pixelFirstNoiseValue>0</pixelFirstNoiseValue>
<stepSize>-3</stepSize>
<numberOfValues>1</numberOfValues>
<noiseLevelValues units="dB">0</noiseLevelValues>
</perBeamReferenceNoiseLevel>
<perBeamReferenceNoiseLevel>
<beam>SC-10</beam>
<sarCalibrationType>Beta Nought</sarCalibrationType>
<pixelFirstNoiseValue>0</pixelFirstNoiseValue>
<stepSize>-3</stepSize>
<numberOfValues>1</numberOfValues>
<noiseLevelValues units="dB">0</noiseLevelValues>
</perBeamReferenceNoiseLevel>
<perBeamReferenceNoiseLevel>
<beam>SC-11</beam>
<sarCalibrationType>Beta Nought</sarCalibrationType>
<pixelFirstNoiseValue>0</pixelFirstNoiseValue>
<stepSize>-3</stepSize>
<numberOfValues>1</numberOfValues>
<noiseLevelValues units="dB">0</noiseLevelValues>
</perBeamReferenceNoiseLevel>
<perBeamReferenceNoiseLevel>
<beam>SC-12</beam>
<sarCalibrationType>Beta Nought</sarCalibrationType>
<pixelFirstNoiseValue>0</pixelFirstNoiseValue>
<stepSize>-3</stepSize>
<numberOfValues>1</numberOfValues>
<noiseLevelValues units="dB">0</noiseLevelValues>
</perBeamReferenceNoiseLevel>
<perBeamReferenceNoiseLevel>
<beam>SC-5</beam>
<sarCalibrationType>Sigma Nought</sarCalibrationType>
<pixelFirstNoiseValue>0</pixelFirstNoiseValue>
<stepSize>-3</stepSize>
<numberOfValues>1</numberOfValues>
<noiseLevelValues units="dB">0</noiseLevelValues>
</perBeamReferenceNoiseLevel>
<perBeamReferenceNoiseLevel>
<beam>SC-6</beam>
<sarCalibrationType>Sigma Nought</sarCalibrationType>
<pixelFirstNoiseValue>0</pixelFirstNoiseValue>
<stepSize>-3</stepSize>
<numberOfValues>1</numberOfValues>
<noiseLevelValues units="dB">0</noiseLevelValues>
</perBeamReferenceNoiseLevel>
<perBeamReferenceNoiseLevel>
<beam>SC-7</beam>
<sarCalibrationType>Sigma Nought</sarCalibrationType>
<pixelFirstNoiseValue>0</pixelFirstNoiseValue>
<stepSize>-3</stepSize>
<numberOfValues>1</numberOfValues>
<noiseLevelValues units="dB">0</noiseLevelValues>
</perBeamReferenceNoiseLevel>
<perBeamReferenceNoiseLevel>
<beam>SC-8</beam>
<sarCalibrationType>Sigma Nought</sarCalibrationType>
<pixelFirstNoiseValue>0</pixelFirstNoiseValue>
<stepSize>-3</stepSize>
<numberOfValues>1</numberOfValues>
<noiseLevelValues units="dB">0</noiseLevelValues>
</perBeamReferenceNoiseLevel>
<perBeamReferenceNoiseLevel>
<beam>SC-9</beam>
<sarCalibrationType>Sigma Nought</sarCalibrationType>
<pixelFirstNoiseValue>0</pixelFirstNoiseValue>
<stepSize>-3</stepSize>
<numberOfValues>1</numberOfValues>
<noiseLevelValues units="dB">0</noiseLevelValues>
</perBeamReferenceNoiseLevel>
<perBeamReferenceNoiseLevel>
<beam>SC-10</beam>
<sarCalibrationType>Sigma Nought</sarCalibrationType>
<pixelFirstNoiseValue>0</pixelFirstNoiseValue>
<stepSize>-3</stepSize>
<numberOfValues>1</numberOfValues>
<noiseLevelValues units="dB">0</noiseLevelValues>
</perBeamReferenceNoiseLevel>
<perBeamReferenceNoiseLevel>
<beam>SC-11</beam>
<sarCalibrationType>Sigma Nought</sarCalibrationType>
<pixelFirstNoiseValue>0</pixelFirstNoiseValue>
<stepSize>-3</stepSize>
<numberOfValues>1</numberOfValues>
<noiseLevelValues units="dB">0</noiseLevelValues>
</perBeamReferenceNoiseLevel>
<perBeamReferenceNoiseLevel>
<beam>SC-12</beam>
<sarCalibrationType>Sigma Nought</sarCalibrationType>
<pixelFirstNoiseValue>0</pixelFirstNoiseValue>
<stepSize>-3</stepSize>
<numberOfValues>1</numberOfValues>
<noiseLevelValues units="dB">0</noiseLevelValues>
</perBeamReferenceNoiseLevel>
<perBeamReferenceNoiseLevel>
<beam>SC-5</beam>
<sarCalibrationType>Gamma</sarCalibrationType>
<pixelFirstNoiseValue>0</pixelFirstNoiseValue>
<stepSize>-3</stepSize>
<numberOfValues>1</numberOfValues>
<noiseLevelValues units="dB">0</noiseLevelValues>
</perBeamReferenceNoiseLevel>
<perBeamReferenceNoiseLevel>
<beam>SC-6</beam>
<sarCalibrationType>Gamma</sarCalibrationType>
<pixelFirstNoiseValue>0</pixelFirstNoiseValue>
<stepSize>-3</stepSize>
<numberOfValues>1</numberOfValues>
<noiseLevelValues units="dB">0</noiseLevelValues>
</perBeamReferenceNoiseLevel>
<perBeamReferenceNoiseLevel>
<beam>SC-7</beam>
<sarCalibrationType>Gamma</sarCalibrationType>
<pixelFirstNoiseValue>0</pixelFirstNoiseValue>
<stepSize>-3</stepSize>
<numberOfValues>1</numberOfValues>
<noiseLevelValues units="dB">0</noiseLevelValues>
</perBeamReferenceNoiseLevel>
<perBeamReferenceNoiseLevel>
<beam>SC-8</beam>
<sarCalibrationType>Gamma</sarCalibrationType>
<pixelFirstNoiseValue>0</pixelFirstNoiseValue>
<stepSize>-3</stepSize>
<numberOfValues>1</numberOfValues>
<noiseLevelValues units="dB">0</noiseLevelValues>
</perBeamReferenceNoiseLevel>
<perBeamReferenceNoiseLevel>
<beam>SC-9</beam>
<sarCalibrationType>Gamma</sarCalibrationType>
<pixelFirstNoiseValue>0</pixelFirstNoiseValue>
<stepSize>-3</stepSize>
<numberOfValues>1</numberOfValues>
<noiseLevelValues units="dB">0</noiseLevelValues>
</perBeamReferenceNoiseLevel>
<perBeamReferenceNoiseLevel>
<beam>SC-10</beam>
<sarCalibrationType>Gamma</sarCalibrationType>
<pixelFirstNoiseValue>0</pixelFirstNoiseValue>
<stepSize>-3</stepSize>
<numberOfValues>1</numberOfValues>
<noiseLevelValues units="dB">0</noiseLevelValues>
</perBeamReferenceNoiseLevel>
<perBeamReferenceNoiseLevel>
<beam>SC-11</beam>
<sarCalibrationType>Gamma</sarCalibrationType>
<pixelFirstNoiseValue>0</pixelFirstNoiseValue>
<stepSize>-3</stepSize>
<numberOfValues>1</numberOfValues>
<noiseLevelValues units="dB">0</noiseLevelValues>
</perBeamReferenceNoiseLevel>
<perBeamReferenceNoiseLevel>
<beam>SC-12</beam>
<sarCalibrationType>Gamma</sarCalibrationType>
<pixelFirstNoiseValue>0</pixelFirstNoiseValue>
<stepSize>-3</stepSize>
<numberOfValues>1</numberOfValues>
<noiseLevelValues units="dB">0</noiseLevelValues>
</perBeamReferenceNoiseLevel>
<azimuthNoiseLevelScaling>
<beam>SC-5</beam>
<stepSize>1</stepSize>
<numberOfNoiseLevelScalingValues>1</numberOfNoiseLevelScalingValues>
<noiseLevelScalingValues units="dB">0</noiseLevelScalingValues>
</azimuthNoiseLevelScaling>
<azimuthNoiseLevelScaling>
<beam>SC-6</beam>
<stepSize>1</stepSize>
<numberOfNoiseLevelScalingValues>1</numberOfNoiseLevelScalingValues>
<noiseLevelScalingValues units="dB">0</noiseLevelScalingValues>
</azimuthNoiseLevelScaling>
<azimuthNoiseLevelScaling>
<beam>SC-7</beam>
<stepSize>1</stepSize>
<numberOfNoiseLevelScalingValues>1</numberOfNoiseLevelScalingValues>
<noiseLevelScalingValues units="dB">0</noiseLevelScalingValues>
</azimuthNoiseLevelScaling>
<azimuthNoiseLevelScaling>
<beam>SC-8</beam>
<stepSize>1</stepSize>
<numberOfNoiseLevelScalingValues>1</numberOfNoiseLevelScalingValues>
<noiseLevelScalingValues units="dB">0</noiseLevelScalingValues>
</azimuthNoiseLevelScaling>
<azimuthNoiseLevelScaling>
<beam>SC-9</beam>
<stepSize>1</stepSize>
<numberOfNoiseLevelScalingValues>1</numberOfNoiseLevelScalingValues>
<noiseLevelScalingValues units="dB">0</noiseLevelScalingValues>
</azimuthNoiseLevelScaling>
<azimuthNoiseLevelScaling>
<beam>SC-10</beam>
<stepSize>1</stepSize>
<numberOfNoiseLevelScalingValues>1</numberOfNoiseLevelScalingValues>
<noiseLevelScalingValues units="dB">0</noiseLevelScalingValues>
</azimuthNoiseLevelScaling>
<azimuthNoiseLevelScaling>
<beam>SC-11</beam>
<stepSize>1</stepSize>
<numberOfNoiseLevelScalingValues>1</numberOfNoiseLevelScalingValues>
<noiseLevelScalingValues units="dB">0</noiseLevelScalingValues>
</azimuthNoiseLevelScaling>
<azimuthNoiseLevelScaling>
<beam>SC-12</beam>
<stepSize>1</stepSize>
<numberOfNoiseLevelScalingValues>1</numberOfNoiseLevelScalingValues>
<noiseLevelScalingValues units="dB">0</noiseLevelScalingValues>
</azimuthNoiseLevelScaling>
</noiseLevels>
Loading

0 comments on commit 32a318f

Please sign in to comment.