OTB to generate RPC sensor model
When I run the generate RPC sensor model from Anaconda environment, I get the file generated but with the below error?
Can you help to solve such issue
021-02-24 13:25:25 (INFO) GenerateRPCSensorModel: Default RAM limit for OTB is 256 MB
2021-02-24 13:25:25 (INFO) GenerateRPCSensorModel: GDAL maximum cache size is 634 MB
2021-02-24 13:25:25 (INFO) GenerateRPCSensorModel: OTB will use at most 1 threads
2021-02-24 13:25:25 (INFO) GenerateRPCSensorModel: Elevation management: setting default height above ellipsoid to 0 meters
2021-02-24 13:25:25 (INFO) GenerateRPCSensorModel: Optimization in progress ...
2021-02-24 13:25:25 (WARNING): file ../Modules/Adapters/OSSIMAdapters/src/otbRPCSolverAdapter.cxx, line 103, Only 21 ground control points are provided, can not estimate a RPC model with elevation support (at least 40 points required). Elevation support will be disabled for RPC estimation. All coefficients related to elevation will be set to zero, and elevation will have no effect on the resulting transform.
2021-02-24 13:25:26 (INFO) GenerateRPCSensorModel: Done.
---------------------------------------------------------------------------
RuntimeError Traceback (most recent call last)
<ipython-input-22-7291cd9ae800> in <module>
1 # The following line execute the application
----> 2 GenerateRPCSensorModel.ExecuteAndWriteOutput()
~/anaconda3/envs/backup/lib/otb/python/otbApplication.py in ExecuteAndWriteOutput(self)
2853
2854 def ExecuteAndWriteOutput(self):
-> 2855 return _otbApplication.Application_ExecuteAndWriteOutput(self)
2856
2857 def ConnectImage(self, arg2, app, out):
RuntimeError: (TransformFailureException) Transform: 0x56202ea36540, Parameters: 151188, 1.94913e+06, 0
Edited by Julien Osman