Hi, I am using the GPT to radiometrically calibrate and geometrically correct a S1 scene by using the Ellipsoid Range Doppler Correction. My graph xml can be found at the end. My problem is it is taking about an hour to correct one scene but when i do it in the GUI it takes about 15 minutes. In the process of using the GPT it creates a massive temporary file which I believe is slowing things down.
Am I doing something wrong? I am passing the file, the specific polarizations i want and the output path as variables in a python script. I know this shouldn’t be taking this long and I’ve run out of ideas…
> <graph id="Graph"> > <version>1.0</version> > <node id="Read"> > <operator>Read</operator> > <sources/> > <parameters class="com.bc.ceres.binding.dom.XppDomElement"> > <file>${inputGRD}</file> > </parameters> > </node> > <node id="Calibration"> > <operator>Calibration</operator> > <sources> > <sourceProduct refid="Read"/> > </sources> > <parameters class="com.bc.ceres.binding.dom.XppDomElement"> > <sourceBands/> > <auxFile>Product Auxiliary File</auxFile> > <externalAuxFile/> > <outputImageInComplex>false</outputImageInComplex> > <outputImageScaleInDb>false</outputImageScaleInDb> > <createGammaBand>false</createGammaBand> > <createBetaBand>false</createBetaBand> > <selectedPolarisations>${polarization}</selectedPolarisations> > <outputSigmaBand>true</outputSigmaBand> > <outputGammaBand>false</outputGammaBand> > <outputBetaBand>false</outputBetaBand> > </parameters> > </node> > <node id="Ellipsoid-Correction-RD"> > <operator>Ellipsoid-Correction-RD</operator> > <sources> > <sourceProduct refid="Calibration"/> > </sources> > <parameters class="com.bc.ceres.binding.dom.XppDomElement"> > <sourceBands>Sigma0_${polarization}</sourceBands> > <demName>SRTM 3Sec</demName> > <externalDEMFile/> > <externalDEMNoDataValue>0.0</externalDEMNoDataValue> > <externalDEMApplyEGM>true</externalDEMApplyEGM> > <demResamplingMethod>BILINEAR_INTERPOLATION</demResamplingMethod> > <imgResamplingMethod>BILINEAR_INTERPOLATION</imgResamplingMethod> > <pixelSpacingInMeter>10.0</pixelSpacingInMeter> > <pixelSpacingInDegree>8.983152841195215E-5</pixelSpacingInDegree> > <mapProjection>PROJCS["WGS 84 / Auto UTM", 
 > GEOGCS["WGS84(DD)", 
 > DATUM["WGS84", 
 > SPHEROID["WGS84", 6378137.0, 298.257223563]], 
 > PRIMEM["Greenwich", 0.0], 
 > UNIT["degree", 0.017453292519943295], 
 > AXIS["Geodetic longitude", EAST], 
 > AXIS["Geodetic latitude", NORTH]], 
 > PROJECTION["Transverse_Mercator"], 
 > PARAMETER["central_meridian", 3.0], 
 > PARAMETER["latitude_of_origin", 0.0], 
 > PARAMETER["scale_factor", 0.9996], 
 > PARAMETER["false_easting", 500000.0], 
 > PARAMETER["false_northing", 0.0], 
 > UNIT["m", 1.0], 
 > AXIS["Easting", EAST], 
 > AXIS["Northing", NORTH]]</mapProjection> > <alignToStandardGrid>false</alignToStandardGrid> > <standardGridOriginX>0.0</standardGridOriginX> > <standardGridOriginY>0.0</standardGridOriginY> > <nodataValueAtSea>true</nodataValueAtSea> > <saveDEM>false</saveDEM> > <saveLatLon>false</saveLatLon> > <saveIncidenceAngleFromEllipsoid>false</saveIncidenceAngleFromEllipsoid> > <saveLocalIncidenceAngle>false</saveLocalIncidenceAngle> > <saveProjectedLocalIncidenceAngle>false</saveProjectedLocalIncidenceAngle> > <saveSelectedSourceBand>true</saveSelectedSourceBand> > <outputComplex>false</outputComplex> > <applyRadiometricNormalization>false</applyRadiometricNormalization> > <saveSigmaNought>true</saveSigmaNought> > <saveGammaNought>false</saveGammaNought> > <saveBetaNought>false</saveBetaNought> > <incidenceAngleForSigma0>Use projected local incidence angle from DEM</incidenceAngleForSigma0> > <incidenceAngleForGamma0>Use projected local incidence angle from DEM</incidenceAngleForGamma0> > <auxFile>Latest Auxiliary File</auxFile> > <externalAuxFile/> > </parameters> > </node> > <node id="Write"> > <operator>Write</operator> > <sources> > <sourceProduct refid="Ellipsoid-Correction-RD"/> > </sources> > <parameters class="com.bc.ceres.binding.dom.XppDomElement"> > <file>${output}</file> > <formatName>BEAM-DIMAP</formatName> > </parameters> > </node> > <applicationData id="Presentation"> > <Description/> > <node id="Read"> > <displayPosition x="37.0" y="134.0"/> > </node> > <node id="Calibration"> > <displayPosition x="230.0" y="278.0"/> > </node> > <node id="Ellipsoid-Correction-RD"> > <displayPosition x="319.0" y="241.0"/> > </node> > <node id="Write"> > <displayPosition x="455.0" y="135.0"/> > </node> > </applicationData> > </graph>
S1GRD_Cal.xml (4.3 KB)