Skip to content

Commit

Permalink
Merge pull request #11112 from rouault/rcm
Browse files Browse the repository at this point in the history
Add contributed raster read-only RCM (Radarsat Constellation Mission) driver
  • Loading branch information
rouault authored Nov 4, 2024
2 parents b230f51 + 4f66cc7 commit 3347bbf
Show file tree
Hide file tree
Showing 29 changed files with 4,003 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -154,4 +154,5 @@ Supported Formats: (ro:read-only, rw:read-write, +:update, v:virtual-I/O s:subda
EHdr -raster- (rw+v): ESRI .hdr Labelled (*.bil)
ISCE -raster- (rw+v): ISCE raster
Zarr -raster,multidimensional raster- (rw+vs): Zarr
RCM -raster- (rovs): Radarsat Constellation Mission XML Product
HTTP -raster,vector- (ro): HTTP Fetching Wrapper
Original file line number Diff line number Diff line change
Expand Up @@ -153,4 +153,5 @@ Supported Formats: (ro:read-only, rw:read-write, +:update, v:virtual-I/O s:subda
EHdr -raster- (rw+v): ESRI .hdr Labelled (*.bil)
ISCE -raster- (rw+v): ISCE raster
Zarr -raster,multidimensional raster- (rw+vs): Zarr
RCM -raster- (rovs): Radarsat Constellation Mission XML Product
HTTP -raster,vector- (ro): HTTP Fetching Wrapper
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 3347bbf

Please sign in to comment.