Hi, I'm JoshI'm attempting to atmospherically correct a large amount of Landsat and Sentinel 2 images using arcsi. I have had trouble getting arcsi set up correctly and have not been able to process any of the test images provided on the arcsi website. I believe the issue I'm facing is caused by the arcsi.py script not importing the correct files within the ARCSI environment. I am running Windows 11, miniconda3, and Pycharm. I'll provide a list of attempts to get arcsi working. Following the instructions on the website, I created a Python 3.10 environment and installed arcsi v3.8.1 from conda-forge "conda install -c conda-forge arcsi". Attempting to process the test images I realized that the most recent version of RSGISLib was only compatible with version 4.0.X of arcsi. Updating arcsi to v4.0.4 from GitHub resulted in any arcsi command (arcsi.py, arcsiextractdata.py, etc) producing the error: "File "C:\Users\user\miniconda3\envs\arcsienv\Scripts\arcsi.py", line 45, in <module> import rsgislib.tools.utils ModuleNotFoundError: No module named 'rsgislib'." I could somewhat bypass this error by specifying the directory of the command:
"python path\to\envs\arcsienv\Scripts\arcsi.py-h" resulted in the help command executing, however with the error: "swig/python detected a memory leak of type 'OSRSpatialReferenceShadow *', no destructor found." When I attempted image processing I got "Error: No module named 'fmask'". I attempted to fix this by: updating from GitHub using the console, making sure the v4 file was in the "Scripts" folder before installing, Installing only the dependencies and v4 while not updating/installing v3.8.1 from conda-forge, and trying a different version of Python (v3.12.4) in the environment. Every time I had the same issues. Do you have any suggestions on fixing this error or is arcsi v4 not compatible with Windows? If so, what versions of the arcsi dependencies are compatible with v3.8.1? Would you recommend I switch to Linux to continue development?
Thank you