Skip to content

cann't use snap #304

@yang162132

Description

@yang162132
Traceback (most recent call last):
  File "/root/PycharmProjects/pythonProject/testrosar.py", line 4, in <module>
    geocode(sence,outdir="tem/SLC")
  File "/home/anaconda3/envs/pyt310/lib/python3.10/site-packages/pyroSAR/snap/util.py", line 322, in geocode
    read = parse_node('Read')
  File "/home/anaconda3/envs/pyt310/lib/python3.10/site-packages/pyroSAR/snap/auxil.py", line 91, in parse_node
    version = snap.get_version('s1tbx')['version']
  File "/home/anaconda3/envs/pyt310/lib/python3.10/site-packages/pyroSAR/examine.py", line 368, in get_version
    raise RuntimeError('cannot read version information from {}.\nPlease restart SNAP.'.format(fname))
RuntimeError: cannot read version information from /root/.snap/system/var/log/messages.log.
Please restart SNAP.

pyroSAR ==0.24.0 and snap is esa-snap_sentinel_linux-10.0.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions