ARCSI1.0.0 on anaconda python 2.7 problem on converting LS8 to SR

39 views
Skip to first unread message

Abhishes Lamsal

unread,
Apr 18, 2017, 1:31:51 PM4/18/17
to RSGISLib Support
Hi,
I am using Linux 16.04 with anaconda python 2.7 installed. 
I installed ARCSI using "python setup.py install" by downloading files from bitbucket. (Reason I did this way is because following command "conda create -n arcsi -c au-eoed -c conda-forge arcsi"  didn't work)

Now when I am using arcsi to convert LS8 to SR I am getting following error. Here is the detail console output. 


arcsi.py -s ls8 -f KEA --stats -p RAD -o ./ -i LC80270332016348LGN00/LC80270332016348LGN00_MTL.txt 
ARCSI 1.0.0 Copyright (C) 2016 Pete Bunting, Dan Clewley
This program comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it
under certain conditions; See website (http://www.rsgislib.org/arcsi).
Bugs are to be reported to rsgislib...@googlegroups.com.

Reading header file
Extracting Header Values

Input imagery as listed in header file is present.

Get aero profile from image...
Aerosol Profile =  Continental

Get atmos profile from image...
Northern Hemisphere
Atmosphere Profile =  MidlatitudeWinter

Image Base Name: LS8_20161213_lat390lon9542_r33p27

Checking Input Images are valid
Error: generateValidImageDataMask() takes exactly 5 arguments (4 given)
Error: The following products were not generated:
RAD
Processing took 0h 0m 0.01s. Thank you for using ARCSI.


Thank you


Daniel Clewley

unread,
Apr 18, 2017, 1:45:50 PM4/18/17
to Abhishes Lamsal, RSGISLib Support
Hi,

The development builds of ARCSI and RSGISLib (from the au-eoed channel) are only built using Python 3.5. Try setting Python 3.5 for that environment using:

conda create -n arcsi -c au-eoed -c conda-forge arcsi python=3.5

Thanks,

Dan


--
You received this message because you are subscribed to the Google Groups "RSGISLib Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rsgislib-suppo...@googlegroups.com.
To post to this group, send email to rsgislib...@googlegroups.com.
Visit this group at https://groups.google.com/group/rsgislib-support.
For more options, visit https://groups.google.com/d/optout.

Abhishes Lamsal

unread,
Apr 18, 2017, 1:50:33 PM4/18/17
to Daniel Clewley, RSGISLib Support
Does this mean, there is no way we can make it work on python 2.7 ?


Abhishes lamsal (PhD)
Post Doctoral Fellow
Precision Agriculture
Department of Agronomy
Kansas State University

Daniel Clewley

unread,
Apr 18, 2017, 2:14:54 PM4/18/17
to Abhishes Lamsal, RSGISLib Support
Yes, ARCSI supports Python 2.7 but until the next release is built (which will made available in the rios channel) binaries for RSGISLib will only be available for Python 3.5.

If you need development builds for Python 2.7 you can try building yourself, the conda recipes are available from: https://bitbucket.org/petebunting/conda-recipes

Hope this helps,

Dan

Abhishes Lamsal

unread,
Apr 18, 2017, 2:31:55 PM4/18/17
to Daniel Clewley, RSGISLib Support
Thank you for giving some hope. I am quite new on this so its a request, if there is any documentation or anything to help me on building ? 
Initially, I downloaded ARCSI source from bitbucket and install it via python setup.py install. 
It seems like installed it but it didnt do the job. Got the error message as I mentioned in first thread. 


Thank you

Daniel Clewley

unread,
Apr 19, 2017, 3:47:16 PM4/19/17
to Abhishes Lamsal, RSGISLib Support
Hi,

Did you try installing the Python 3.5 build as I suggested?

My recommendation would be to install the Python 3 version and then, if you need it, change to Python 2.7 when the binaries are made for the next release. This should be in the next month or so, Pete has made a lot of changes, including adding Sentinel 2 support to ARCSI so we’ve been holding off creating a release until these were finished.

If you need to get it working under Python 2.7, first question is how did you install all the pre-requsites for ARCSI? Specifically how did you install RSGISLib and what version are you using?

Thanks,

Dan

Reply all
Reply to author
Forward
0 new messages