Label | Explanation | Data Type |
Input Radar Data
| The input radar data. | Raster Dataset; Raster Layer |
Output Radar Data
| The converted radar dataset. | Raster Dataset |
Conversion Type
(Optional) | Specifies the type of backscatter conversion that will be applied.
| String |
Available with Image Analyst license.
Summary
Converts the scaling of the input synthetic aperture radar (SAR) data between amplitude and power and between linear and decibels (dB).
Usage
This tool simplifies SAR product interpretation and improves image display by reducing the range of amplitude or intensity values through the conversion to a dB value.
You can also convert data from amplitude to power and vice versa.
Parameters
ConvertSARUnits(in_radar_data, out_radar_data, {conversion_type})
Name | Explanation | Data Type |
in_radar_data | The input radar data. | Raster Dataset; Raster Layer |
out_radar_data | The converted radar dataset. | Raster Dataset |
conversion_type (Optional) | Specifies the type of backscatter conversion that will be applied.
| String |
Code sample
This example converts unitless values to decibels.
import arcpy
arcpy.env.workspace = "D:\Data\SAR\S1\20181014"
outRadar = arcpy.ia.ConvertSARUnits(
"IW_manifest_TNR_CalB0_Dspk_RTFG0_GTC.crf", "LINEAR_TO_DB")
outRadar.save("IW_manifest_TNR_CalB0_Dspk_RTFG0_GTC_dB.crf")
This example converts unitless values to decibels.
# Import system modules and check out ArcGIS Image Analyst extension license
import arcpy
arcpy.CheckOutExtension("ImageAnalyst")
from arcpy.ia import *
# Set local variables
in_radar = "D:\Data\SAR\S1\20181014\IW_manifest_TNR_CalB0_Dspk_RTFG0_GTC.crf"
out_radar ="D:\Data\SAR\S1\20181014\IW_manifest_TNR_CalB0_Dspk_RTFG0_GTC_dB.crf"
conversion_type = ""LINEAR_TO_DB"
# Execute
outRadar = arcpy.ia.ConvertSARUnits(in_radar, conversion_type)
outRadar.save(out_radar)
Environments
Licensing information
- Basic: Requires Image Analyst
- Standard: Requires Image Analyst
- Advanced: Requires Image Analyst