-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Terrain-Correction operator error #19
Comments
can you save the graphs with snapista and with the GUI and post them here? |
Sure, here are the graphs, only the Terrain-Correction node (don't worry about differences in map projection). Generated with Snap 8.0.0 GUI: <graph id="Graph">
<version>1.0</version>
<node id="Terrain-Correction">
<operator>Terrain-Correction</operator>
<sources>
<sourceProduct refid="read"/>
</sources>
<parameters class="com.bc.ceres.binding.dom.XppDomElement">
<sourceBands/>
<demName>SRTM 3Sec</demName>
<externalDEMFile/>
<externalDEMNoDataValue>0.0</externalDEMNoDataValue>
<externalDEMApplyEGM>true</externalDEMApplyEGM>
<demResamplingMethod>BILINEAR_INTERPOLATION</demResamplingMethod>
<imgResamplingMethod>BILINEAR_INTERPOLATION</imgResamplingMethod>
<pixelSpacingInMeter>20.0</pixelSpacingInMeter>
<pixelSpacingInDegree>8.983152841195215E-5</pixelSpacingInDegree>
<mapProjection>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]]</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>
<saveLayoverShadowMask>false</saveLayoverShadowMask>
<applyRadiometricNormalization>false</applyRadiometricNormalization>
<saveSigmaNought>false</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>
</graph> Generated with Snapista: <graph>
<version>1.0</version>
<node id="terrain-correction">
<operator>Terrain-Correction</operator>
<sources>
<sourceProduct refid="read"/>
</sources>
<parameters class="com.bc.ceres.binding.dom.XppDomElement">
<alignToStandardGrid>false</alignToStandardGrid>
<applyRadiometricNormalization>false</applyRadiometricNormalization>
<auxFile>Latest Auxiliary File</auxFile>
<demName>SRTM 3Sec</demName>
<demResamplingMethod>BILINEAR_INTERPOLATION</demResamplingMethod>
<externalAuxFile/>
<externalDEMApplyEGM>true</externalDEMApplyEGM>
<externalDEMFile/>
<externalDEMNoDataValue>0</externalDEMNoDataValue>
<imgResamplingMethod>BILINEAR_INTERPOLATION</imgResamplingMethod>
<incidenceAngleForGamma0>Use projected local incidence angle from DEM</incidenceAngleForGamma0>
<incidenceAngleForSigma0>Use projected local incidence angle from DEM</incidenceAngleForSigma0>
<mapProjection>EPSG:9822</mapProjection>
<nodataValueAtSea>true</nodataValueAtSea>
<outputComplex>false</outputComplex>
<pixelSpacingInDegree>0</pixelSpacingInDegree>
<pixelSpacingInMeter>20.0</pixelSpacingInMeter>
<saveBetaNought>false</saveBetaNought>
<saveDEM>false</saveDEM>
<saveGammaNought>false</saveGammaNought>
<saveIncidenceAngleFromEllipsoid>false</saveIncidenceAngleFromEllipsoid>
<saveLatLon>false</saveLatLon>
<saveLocalIncidenceAngle>false</saveLocalIncidenceAngle>
<saveProjectedLocalIncidenceAngle>false</saveProjectedLocalIncidenceAngle>
<saveSelectedSourceBand>true</saveSelectedSourceBand>
<saveSigmaNought>false</saveSigmaNought>
<sourceBandNames/>
<standardGridOriginX>0</standardGridOriginX>
<standardGridOriginY>0</standardGridOriginY>
</parameters>
</node>
</graph> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
the Terrain-Correction operator is not working properly. One thing is a non-existent element in the Graph leading to
However, when removing element
outputComplex
from the graph (I exported it into a file and run withgpt
) the next error occurs which I did not further investigate:When I re-create the workflow with SNAP GUI it runs fine. So, I guess there is a version conflict when building the graph as elements of the operator seem to be outdated? I'm using snapista version 0.2.0 and snap version 8.0.0 with Python 3.7 installed with conda from terradue repo.
The text was updated successfully, but these errors were encountered: