Missing import and Pull Request

12 views
Skip to first unread message

Sam Franklin

unread,
Nov 7, 2022, 5:56:24 AM11/7/22
to RSGISLib Support
Hi List

I've created a Pull Request #9 on the arcsi github repo to resolve a missing import statement issue, see error on "arcsibuildmultifilelists.py" program:

$ sudo docker run -v /home/user/arcsi/:/opt/ petebunting/au-eoed:latest arcsibuildmultifilelists.py -i /opt/input/S2A_MSIL1C_20221026T112151_N0400_R037/ -e "*MTD_MSIL1C.xml*" -d 1 -s sen2 -o /opt/testheader.txt
Traceback (most recent call last):
  File "/opt/miniconda/bin/arcsibuildmultifilelists.py", line 166, in <module>
/opt/eods/input/S2A_MSIL1C_20221026T112151_N0400_R037/S2A_MSIL1C_20221026T112151_N0400_R037_T30UUA_20221026T132235.SAFE/MTD_MSIL1C.xml
/opt/eods/input/S2A_MSIL1C_20221026T112151_N0400_R037/S2A_MSIL1C_20221026T112151_N0400_R037_T30UUB_20221026T132235.SAFE/MTD_MSIL1C.xml
    arcsiObj.buildCmds(args.input, args.output, args.header, args.depth, args.sensor)
  File "/opt/miniconda/bin/arcsibuildmultifilelists.py", line 98, in buildCmds
    rsgislib.tools.utils.write_list_to_file(
NameError: name 'rsgislib' is not defined

On:
arcsi version: 4.0.0
docker image: petebunting/au-eoed:6f01936a7205 (this docker tag is also pinned as "latest")
host box running docker engine: ubuntu 18.04

Please let me know if this was the correct process for resolving or any comments.

Cheers
Sam

---
Sam Franklin
Reply all
Reply to author
Forward
0 new messages