Description Usage Arguments Examples
This function is to batch pre-process Sentinel-1 GRD images. Sentinel-1 data should be downloaded as ZIP file before using this function. The images are processed in the following steps by sequence: Read –> Apply Orbit File –> Remove Thermal Noise –> Calibration –> Speckle Filtering –> Terrain Correction –> Subset –> Convert to dB –> Write
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 | preprocessing(
sourcePath,
wd,
selectedPolarisations = "VV,VH",
eastEdge,
westEdge,
northEdge,
southEdge,
pixelSpacingInMeter,
output_BEAM_DIMAP = TRUE,
output_GeoTIFF = TRUE,
continue_on_failure = "false",
orbit_type = "Sentinel Precise (Auto Download)",
poly_degree = 3,
reIntroduceThermalNoise = "false",
removeThermalNoise = "true",
auxFile = "Latest Auxiliary File",
createBetaBand = "false",
createGammaBand = "false",
outputBetaBand = "false",
outputGammaBand = "false",
outputSigmaBand = "true",
outputImageInComplex = "false",
outputImageScaleInDb = "false",
anSize = 50,
dampingFactor = 2,
enl = 1,
estimateENL = "false",
filter = "Lee Sigma",
filterSizeX = 3,
filterSizeY = 3,
numLooksStr = 1,
sigmaStr = 0.9,
targetWindowSizeStr = "3x3",
windowSize = "7x7",
mapProjection = "WGS84(DD)",
saveSelectedSourceBand = "true",
alignToStandardGrid = "false",
applyRadiometricNormalization = "false",
demName = "SRTM 3Sec",
demResamplingMethod = "BILINEAR_INTERPOLATION",
externalDEMApplyEGM = "true",
externalDEMNoDataValue = 0,
imgResamplingMethod = "BILINEAR_INTERPOLATION",
incidenceAngleForSigma0 = "Use projected local incidence angle from DEM",
nodataValueAtSea = "true",
outputComplex = "false",
saveBetaNought = "false",
saveGammaNought = "false",
saveDEM = "false",
saveIncidenceAngleFromEllipsoid = "false",
saveLatLon = "false",
saveLocalIncidenceAngle = "false",
saveProjectedLocalIncidenceAngle = "false",
saveSigmaNought = "false",
standardGridOriginX = 0,
standardGridOriginY = 0,
copyMetadata = "false",
fullSwath = "false",
subSamplingX = 1,
subSamplingY = 1,
clear_Cache_after_row_write = "false",
delete_output_on_failure = "true",
write_entire_tile_rows = "true"
)
|
sourcePath |
Path to where Sentinel-1 images (should be downloaded as ZIP-file before) are located. |
wd |
Working directory for the outputs in-between and final outputs. |
selectedPolarisations |
List of polarisations (<string,string,...>). Default to "VV,VH". |
eastEdge |
The longitude of the eastern edge of the rectangular area to subset. At least three digits after decimal point are strongly recommended. |
westEdge |
The longitude of the western edge of the rectangular area to subset. At least three digits after decimal point are strongly recommended. |
northEdge |
The latitude of the northern edge of the rectangular area to subset. At least three digits after decimal point are strongly recommended. |
southEdge |
The latitude of the southern edge of the rectangular area to subset. At least three digits after decimal point are strongly recommended. |
pixelSpacingInMeter |
The pixel spacing in meters. This should be omitted if "pixelSpacingInDegree" is defined. |
output_BEAM_DIMAP |
If TRUE, the function will create output in BEAM-DIMAP(.dim) format. Default to TRUE. |
output_GeoTIFF |
If TRUE, the function will create output in GeoTIFF format. Default to TRUE. |
continue_on_failure |
Default to "false". |
orbit_type |
Value must be one of "Sentinel Precise (Auto Download)", "Sentinel Restituted (Auto Download)", "DORIS Precise VOR (ENVISAT) (Auto Download)", "DELFT Precise (ENVISAT, ERS1&2) (Auto Download)", "PRARE Precise (ERS1&2) (Auto Download)". Default to "Sentinel Precise (Auto Download)". |
poly_degree |
Default to 3. |
reIntroduceThermalNoise |
Re-introduce thermal noise. Default to "false". |
removeThermalNoise |
Remove thermal noise. Default to "true". |
auxFile |
The auxiliary file. Value must be one of "Latest Auxiliary File", "Product Auxiliary File", "External Auxiliary File". Default to "Latest Auxuliary File". |
createBetaBand |
Create beta0 virtual band. Default to "false". |
createGammaBand |
Create gamma0 virtual band. Default to "false." |
outputBetaBand |
Output beta0 band. Default to "false". |
outputGammaBand |
Output gamma0 band. Default to "false". |
outputSigmaBand |
Output sigma0 band. Default to "true". |
outputImageInComplex |
Output image in complex. Default to "false". |
outputImageScaleInDb |
Output image scale. Default to "false". |
anSize |
The Adaptive Neighbourhood size. Valid internal is (1,200]. Default to 50. |
dampingFactor |
The damping factor(Frost filter only). Valid interval is (0,100]. Default to 2. |
enl |
The number of looks in Speckle Filtering. Valid interval is (0, *). Default to 1.0. |
estimateENL |
Default to "false". |
filter |
Value must be one of "None", "Boxcar", "Median", "Frost", "Gamma Map", "Lee", "Refined Lee", "Lee Sigma", "IDAN". Default to "Lee Sigma". |
filterSizeX |
The kernel x dimension. Valid interval is (1, 100]. Default to 3. |
filterSizeY |
the kernel y dimension. Valid interval is (1, 100]. Default to 3. |
numLooksStr |
Value must be one of "1", "2", "3", "4". Default to "1". |
sigmaStr |
Value must be one of "0.5", "0.6", "0.7", "0.8", "0.9". Default to "0.9". |
targetWindowSizeStr |
Value must be one of "3x3", "5x5". Default to "3x3". |
windowSize |
Value must be one of "5x5", "7x7", "9x9", "11x11", "13x13", "15x15", "17x17". Default to "7x7". |
mapProjection |
Default is "WGS84(DD)". To project in other coordinate system is not working for the moment. |
saveSelectedSourceBand |
Default to "true". |
alignToStandardGrid |
Force the image grid to be aligned with a specific point. Default to "false". |
applyRadiometricNormalization |
Default to "false". |
demName |
The digital elevation model. Default to "SRTM 3sec". |
demResamplingMethod |
Value must be one of "NEAREST_NEIGHBOUR", "BILINEAR_INTERPOLATION", "CUBIC_CONVOLUTION", "BISINC_5_POINT_INTERPOLATION", "BISIC_11_POINT_INTERPOLATION", "BISIC_21_POINT_INTERPOLATION", "BICUBIC_INTERPOLATION", "DELAUNAY_INTERPOLATION". Default to "BILINEAR_INTERPOLATION". |
externalDEMApplyEGM |
Default to "true". |
externalDEMNoDataValue |
Default to 0. |
imgResamplingMethod |
Value must be one of "NEAREST_NEIGHBOUR", "BILINEAR_INTERPOLATION", "CUBIC_CONVOLUTION", "BISINC_5_POINT_INTERPOLATION", "BISIC_11_POINT_INTERPOLATION", "BISIC_21_POINT_INTERPOLATION", "BICUBIC_INTERPOLATION", "DELAUNAY_INTERPOLATION". Default to "BILINEAR_INTERPOLATION". |
incidenceAngleForSigma0 |
Value must be one of "Use incidence angle from Ellipsoid", "Use local incidence angle from DEM", "Use projected local incidence angle from DEM". Default to "Use projected local incidence angle from DEM". |
nodataValueAtSea |
Mask the sea with no data value (faster). Default to "true". |
outputComplex |
Default to "false". |
saveBetaNought |
Default to "false". |
saveGammaNought |
Default to "false". |
saveDEM |
Default to "false". |
saveIncidenceAngleFromEllipsoid |
Default to "false". |
saveLatLon |
Default to "false". |
saveLocalIncidenceAngle |
Default to "false". |
saveProjectedLocalIncidenceAngle |
Default to "false". |
saveSigmaNought |
Default to "false". |
standardGridOriginX |
x-coordinate of the standard grid's origin point. Default to 0. |
standardGridOriginY |
y-coordinate of the standard grid's origin point. Default to 0. |
copyMetadata |
Whether to copy the metadata of the source product. Default to "false". |
fullSwath |
Forces the operator to extend the subset region to the full swath. Default to "false". |
subSamplingX |
The pixel sub-sampling step in X (horizontal image direction). Default to 1. |
subSamplingY |
The pixel sub-sampling step in Y (vertical image direction). Default to 1. |
clear_Cache_after_row_write |
If true, the internal tile cache is cleared after a tile row has been written. Ignored if writeEntireTileRows=false. Default to "false". |
delete_output_on_failure |
If true, all output files are deleted after a failed write operation. Default to "true". |
write_entire_tile_rows |
If true, the write operation waits until an entire tile row is computed. Default to "true". |
1 2 3 4 5 | preprocessing(sourcePath = "<path to input images>",
wd = "<path to working directory>",
selectedPolarisations = "VH",
pixelSpacingInMeter=10,
eastEdge = 100.018, westEdge = 100.414, northEdge = 26.000, southEdge = 25.508)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.