Skip to content

Max localization iterations (100) exceeded #26

@lauraset

Description

@lauraset

Hello, @carlodef . When I test the function rpc.localization, I got the following errors:
File "/home/yxc/s2p/s2p/initialization.py", line 136, in build_cfg utm_zone = rpc_utils.utm_zone(cfg['images'][0]['rpcm'], x, y, w, h) File "/home/yxc/s2p/s2p/rpc_utils.py", line 219, in utm_zone lon, lat = rpc.localization(x + .5*w, y + .5*h, rpc.alt_offset)[:2] File "/home/yxc/s2p/rpcm/rpcm/rpc_model.py", line 182, in localization lon, lat = self.localization_iterative(ncol, nrow, nalt) File "/home/yxc/s2p/rpcm/rpcm/rpc_model.py", line 231, in localization_iterative raise MaxLocalizationIterationsError("Max localization iterations (100) exceeded") rpcm.rpc_model.MaxLocalizationIterationsError: Max localization iterations (100) exceeded,

The rpc files I used is:

left_rpc.txt

Do you know what happens? Thank you in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions