installing 6S/Py6S (to subsequently use ARCSI)

88 views
Skip to first unread message

Theo Awo

unread,
Jan 17, 2017, 12:46:39 PM1/17/17
to RSGISLib Support

Hi All, 

I was trying to install 6S in ubuntu (following instructions from http://py6s.readthedocs.io/en/latest/installation.html). Now I'm having trouble using 'ln sixsV1.1 /usr/local/bin/sixs' to 'Link 6S to a location on my PATH' .This is needed to place the 'executable, sixsV1.1, somewhere where Py6S can find it'

I'm getting this error:

ci@ubuntu:~/canopy/6SV-1.1/6SV1.1$ ln sixsV1.1 /usr/local/bin/sixs
ln: failed to create hard link '/usr/local/bin/sixs': Read-only file system

As a newbie, I'm not sure if this is just a mistake on my part or it isn't possible. Help on exploring the other two alternative to achieve my aim of will be appreciated too.

Theo.

Daniel Clewley

unread,
Jan 17, 2017, 4:27:35 PM1/17/17
to Theo Awo, RSGISLib Support
Hi Theo,

Normal users don’t have permission to write to /usr/local, you will need to run with root privileges using sudo, for example:

sudo ln $PWD/sixsV1.1 /usr/local/bin/sixs

I’m assuming you have sudo on your machine if not you can just add where ever it is to PATH.

For ARCSI and all the dependencies (including 6S) we normally advise installing through conda as we make binaries available, see https://spectraldifferences.wordpress.com/software/

We haven’t made a new environment for the latest release yet so for now you will need to use the development build for now:

conda create --name arcsidev python=3.5
source activate arcsidev
conda install -c conda-forge -c au-eoed arcsi

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.

Theo Awo

unread,
Jan 18, 2017, 12:39:51 AM1/18/17
to Daniel Clewley, RSGISLib Support
Hi Peter,

Thanks so much. It worked!

On Tue, Jan 17, 2017 at 1:27 PM, Daniel Clewley <daniel....@gmail.com> wrote:
Hi Theo,

Normal users don’t have permission to write to /usr/local, you will need to run with root privileges using sudo, for example:

sudo ln $PWD/sixsV1.1 /usr/local/bin/sixs

I’m assuming you have sudo on your machine if not you can just add where ever it is to PATH.

For ARCSI and all the dependencies (including 6S) we normally advise installing through conda as we make binaries available, see https://spectraldifferences.wordpress.com/software/

We haven’t made a new environment for the latest release yet so for now you will need to use the development build for now:

conda create --name arcsidev python=3.5
source activate arcsidev
conda install -c conda-forge -c au-eoed arcsi

Thanks,

Dan

On 18 Jan 2017, at 01:46, Theo Awo <philu...@gmail.com> wrote:


Hi All, 

I was trying to install 6S in ubuntu (following instructions from http://py6s.readthedocs.io/en/latest/installation.html). Now I'm having trouble using 'ln sixsV1.1 /usr/local/bin/sixs' to 'Link 6S to a location on my PATH' .This is needed to place the 'executable, sixsV1.1, somewhere where Py6S can find it'

I'm getting this error:

ci@ubuntu:~/canopy/6SV-1.1/6SV1.1$ ln sixsV1.1 /usr/local/bin/sixs
ln: failed to create hard link '/usr/local/bin/sixs': Read-only file system

As a newbie, I'm not sure if this is just a mistake on my part or it isn't possible. Help on exploring the other two alternative to achieve my aim of will be appreciated too.

Theo.

--
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-support+unsubscribe@googlegroups.com.
To post to this group, send email to rsgislib-support@googlegroups.com.

Theo Awo

unread,
Feb 19, 2017, 10:03:34 PM2/19/17
to Daniel Clewley, RSGISLib Support
Hi All,

Is there any way to implement deglinting in ARCSI (after atmospheric correction). My understanding is ARCSI doesn't correct for specular reflection. If no sun glint correction in ARCSI, any idea?

Thanks.

On Tue, Jan 17, 2017 at 1:27 PM, Daniel Clewley <daniel....@gmail.com> wrote:
Hi Theo,

Normal users don’t have permission to write to /usr/local, you will need to run with root privileges using sudo, for example:

sudo ln $PWD/sixsV1.1 /usr/local/bin/sixs

I’m assuming you have sudo on your machine if not you can just add where ever it is to PATH.

For ARCSI and all the dependencies (including 6S) we normally advise installing through conda as we make binaries available, see https://spectraldifferences.wordpress.com/software/

We haven’t made a new environment for the latest release yet so for now you will need to use the development build for now:

conda create --name arcsidev python=3.5
source activate arcsidev
conda install -c conda-forge -c au-eoed arcsi

Thanks,

Dan

On 18 Jan 2017, at 01:46, Theo Awo <philu...@gmail.com> wrote:


Hi All, 

I was trying to install 6S in ubuntu (following instructions from http://py6s.readthedocs.io/en/latest/installation.html). Now I'm having trouble using 'ln sixsV1.1 /usr/local/bin/sixs' to 'Link 6S to a location on my PATH' .This is needed to place the 'executable, sixsV1.1, somewhere where Py6S can find it'

I'm getting this error:

ci@ubuntu:~/canopy/6SV-1.1/6SV1.1$ ln sixsV1.1 /usr/local/bin/sixs
ln: failed to create hard link '/usr/local/bin/sixs': Read-only file system

As a newbie, I'm not sure if this is just a mistake on my part or it isn't possible. Help on exploring the other two alternative to achieve my aim of will be appreciated too.

Theo.

--
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-support+unsubscribe@googlegroups.com.
To post to this group, send email to rsgislib-support@googlegroups.com.

Pete Bunting [pfb]

unread,
Feb 20, 2017, 3:37:06 AM2/20/17
to Theo Awo, Dan Clewley, RSGISLib Support
Hi Theo, 

No, this is not implemented in ARCSI at the moment. It is not something I have had need to look into, is there an approach you (or anyone else) would recommend? If so can you forward a reference and I can add to it to the 'list of things to do’.

For general information, there is an issues list on the bitbucket code repository where proposed enhancements can be submitted.

Best wishes, 

Pete
****************************************************
* Dr Pete Bunting
* Reader in Remote Sensing
* Earth Observation and Ecosystem Dynamics Group
* Department of Geography and Earth Sciences
* Aberystwyth University
* Aberystwyth
* Ceredigion
* SY23 3DB
* UK

* Ph: +44 (0) 1970 622615
* Mob: +44 (0) 7917 842743
* Email: p...@aber.ac.uk
* ORCID: http://orcid.org/0000-0002-7435-0148
****************************************************
"Please consider the environment before printing this email or any documents attached”

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.



--------------------------------------------------------------------
Un o’r 4 prifysgol uchaf yn y DU a’r orau yng Nghymru am fodlonrwydd myfyrwyr.
(Arolwg Cenedlaethol y Myfyrwyr 2016)
www.aber.ac.uk

Top 4 UK university and best in Wales for student satisfaction
(National Student Survey 2016)
www.aber.ac.uk

Theo Awo

unread,
Feb 20, 2017, 8:36:59 PM2/20/17
to Pete Bunting [pfb], Dan Clewley, RSGISLib Support
Thanks Pete!

Hedley et al's 2005 paper sounds like a simple approach. Title is Simple and robust removal of sun glint for mapping shallow-water benthos.

Theo Awo

unread,
Feb 20, 2017, 8:40:26 PM2/20/17
to Pete Bunting [pfb], Dan Clewley, RSGISLib Support
I should add that my recommendation is based on the assumption that specular reflection seems not to be a main problem for land remote sensing....
Reply all
Reply to author
Forward
0 new messages