Skip to content
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

Orfeo: exception during SingleImageExecute #1040

Open
jdries opened this issue Feb 5, 2025 · 1 comment
Open

Orfeo: exception during SingleImageExecute #1040

jdries opened this issue Feb 5, 2025 · 1 comment

Comments

@jdries
Copy link
Contributor

jdries commented Feb 5, 2025

This error seems consistent and doesn't go away by increasing memory:

 OrthoRectification params: {'map': 'epsg', 'map.epsg.code': 32618, 'outputs.spacingx': 20.0, 'outputs.spacingy': -20.0, 'outputs.isotropic': True, 'elev.dem': '/tmp/tmpp8tx6aen-openeo-dem-copernicus30-geotiff', 'elev.geoid': '/opt/openeo-vito-aux-data/egm96.tif', 'interpolator': 'linear', 'opt.ram': 256, 'opt.gridspacing': 40.0}

2025-02-05 11:44:12 (INFO) OrthoRectification: Generating output with size = [1024, 2048]

2025-02-05 11:44:12 (INFO) OrthoRectification: Generating output with origin = [190310, 2.39283e+06]

	Error while running Orfeo toolbox. /vsis3/eodata/Sentinel-1/SAR/IW_GRDH_1S-COG/2019/07/12/S1A_IW_GRDH_1SDV_20190712T111113_20190712T111130_028083_032BE7_E201_COG.SAFE/measurement/s1a-iw-grd-vh-20190712t111113-20190712t111130-028083-032be7-002-cog.tiff, Exception thrown in otbApplication Application_GetVectorImageAsFloatNumpyArray_: /var/lib/jenkins/workspace/Snowflakes/orfeo-toolbox-py38/build/ITK/src/ITK/Modules/Core/Common/src/itkMultiThreader.cxx:395:
itk::ERROR: MultiThreader(0x559da8fd0280): Exception occurred during SingleMethodExecute   {'xmin': 190300.0, 'xmax': 210780.0, 'ymin': 2351880.0, 'ymax': 2392840.0} EPSG 32618 sigma


  File "/opt/openeo/lib/python3.8/site-packages/openeogeotrellis/collections/s1backscatter_orfeo.py", line 316, in run
    localdata = ortho_rect.GetImageAsNumpyArray('io.out')
  File "/usr/lib64/python3.8/site-packages/otbApplication.py", line 3677, in GetImageAsNumpyArray
    array = self.NumpyExporterMap[pixT](self,paramKey)
  File "/usr/lib64/python3.8/site-packages/otbApplication.py", line 3374, in GetVectorImageAsFloatNumpyArray_
    return _otbApplication.Application_GetVectorImageAsFloatNumpyArray_(self, pkey)
RuntimeError: Exception thrown in otbApplication Application_GetVectorImageAsFloatNumpyArray_: /var/lib/jenkins/workspace/Snowflakes/orfeo-toolbox-py38/build/ITK/src/ITK/Modules/Core/Common/src/itkMultiThreader.cxx:395:
itk::ERROR: MultiThreader(0x559da8e65150): Exception occurred during SingleMethodExecute
@jdries
Copy link
Contributor Author

jdries commented Feb 5, 2025

Running orfeo from command line does give an output:

otbcli_OrthoRectification -io.in /vsis3/eodata/Sentinel-1/SAR/IW_GRDH_1S-COG/2019/07/12/S1A_IW_GRDH_1SDV_20190712T111113_20190712T111130_028083_032BE7_E201_COG.SAFE/measurement/s1a-iw-grd-vh-20190712t111113-20190712t111130-028083-032be7-002-cog.tiff -io.out /tmp/out.tiff -map epsg -map.epsg.code 32618 -outputs.spacingx 20.0 -outputs.spacingy -20.0 -opt.gridspacing 40 -outputs.ulx 190300.0 -outputs.uly 2392840.0 -outputs.sizex 1024 -outputs.sizey 2048 -outputs.isotropic true -elev.geoid /opt/openeo-vito-aux-data/egm96.tif

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant