Does this tool work for all landsat data?

87 views
Skip to first unread message

Andy Maclachlan

unread,
Nov 10, 2014, 8:59:23 AM11/10/14
to rsgislib...@googlegroups.com

Hi

I have downloaded the tool and am attempting to use it with landsat 7 and 5 data. However i get the error message 'Do no recognise the spacecraft and sensor or combination.

The file name is LT51120821990088ASA00_MTL.txt

In the on-line example (blog post) you use landsat 8 data, does the tool only work with landsat 8?

Cheers

Andy

Joshua Jones [jsj8]

unread,
Nov 10, 2014, 9:10:46 AM11/10/14
to Andy Maclachlan, rsgislib...@googlegroups.com
Hi Andy, 

In the example just replace ls8 with ls5 and change the path of the MTL file.

arcsi —-help will tell you which sensors are supported i.e Landsat 1 - 8.

Regards,
Josh 

------------------------------

Joshua Jones
PhD Candidate - Modeling and Remote Sensing of Regeneration Dynamics in The Brazilian Amazon.
Earth Observation Group,
Department of Geography and Earth Sciences,
Llandinam Tower - Room H1a
Aberystwyth University,
Aberystwyth,
Ceredigion,
SY23 3DB.

Phone: (01970) 628552 (Earth Observation Laboratory)
Email: js...@aber.ac.uk
Twitter: @remotelysensibl
Website: http://remotelysensible.wordpress.com


--
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 http://groups.google.com/group/rsgislib-support.
For more options, visit https://groups.google.com/d/optout.

Alexandra Mates

unread,
Nov 10, 2014, 9:17:50 AM11/10/14
to rsgislib...@googlegroups.com
Hi Andy, Josh is correct, but if you have the most up-to-date version of arcsi 0.13, the sensor code for Landsat 5 is either ls5tm or ls5mss.

Find out arcsi version:
$ arcsi.py --version

Manual pages, for a list of all available sensors (under -s):
$ arcsi.py

Cheers,
Alex

Pete Bunting [pfb]

unread,
Nov 10, 2014, 9:18:05 AM11/10/14
to Andy Maclachlan, rsgislib...@googlegroups.com
Hi Andy, 

Within the MTL file is the spacecraft and sensor id define as the following:

    SPACECRAFT_ID = "LANDSAT_5"
    SENSOR_ID = “TM"

I have seen an occasional file where there has been a space has been included or the capitalisation has been different - i’m putting fixes in for these into the code as and when I find them. 

As an aside, where did you download the data from? And, when was it downloaded?

Cheers, Pete

****************************************************
* Dr Pete Bunting
* Senior Lecturer 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
****************************************************

Andy Maclachlan

unread,
Nov 10, 2014, 10:19:31 AM11/10/14
to Pete Bunting [pfb], rsgislib...@googlegroups.com
Hi all
Thanks for the help

It works fine now. However, when i try and get surface reflectance using the specified parameters (in the blog) i get this error message: arcsi: error: argument -p/--prods: invalid choice: 'SREFSTDMDL' (choose from 'RAD', 'SATURATE', 'TOA', 'CLOUDS', 'DDVAOT', 'DOSAOT', 'DOSAOTSGL', 'SREF', 'DOS', 'THERMAL', 'TOPOSHADOW')

Why has it been specified as SREFSTDMDL if it is mot valid ?

Cheers

Andy 

Alexandra Mates

unread,
Nov 10, 2014, 10:27:40 AM11/10/14
to rsgislib...@googlegroups.com, p...@aber.ac.uk
The product code has also changed with the most up-to date version, instead of SREFSTDMDL simply use SREF. The manual page arcsi.py provides most up to date parameter names.

Best of luck! :-)
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.

--
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.

Andy Maclachlan

unread,
Nov 10, 2014, 11:00:42 AM11/10/14
to Alexandra Mates, rsgislib...@googlegroups.com, Pete Bunting [pfb]
Hi again all

So trying to get surface reflectance, all inputs seem fine but am getting this error now, any ideas?

Converting to Surface Reflectance
b'/home/andy/miniconda3/bin/sixs: error while loading shared libraries: libgfortran.so.3: cannot open shared object file: No such file or directory\n'
Error: 6S returned an error (shown above) - check for invalid parameter inputs

Processing took 0h 2.0m -22.8s. Thank you for using ARCSI.
andy@andy-VirtualBox:/media/sf_Shared$ 


--
You received this message because you are subscribed to a topic in the Google Groups "RSGISLib Support" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/rsgislib-support/bbyUmkLGFzw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to rsgislib-suppo...@googlegroups.com.

To post to this group, send email to rsgislib...@googlegroups.com.

Pete Bunting [pfb]

unread,
Nov 10, 2014, 11:13:02 AM11/10/14
to Andy Maclachlan, rsgislib...@googlegroups.com
Hi Andy,

On the machine you are using you need to install gfortran, this is done through the system package manager. If you are on something debian derived (e.g., Ubuntu) then you can just run apt-get install gfortran on something redhat derived (e.g., Centos) then yum install gfortran should do it.

To follow up your earlier question, yes I changed SREFSTDMDL to SREF as there was only once parameterisation of deriving surface reflectance and 18 months ago when I originally wrote the code I thought I’d end up with several.

Cheers, Pete

****************************************************
* Dr Pete Bunting
* Senior Lecturer 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
****************************************************

>>> 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 http://groups.google.com/group/rsgislib-support.
>>> For more options, visit https://groups.google.com/d/optout.
>>
>>
>> --
>> 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 http://groups.google.com/group/rsgislib-support.
>> For more options, visit https://groups.google.com/d/optout.
>
>
>
> --
> You received this message because you are subscribed to a topic in the Google Groups "RSGISLib Support" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/topic/rsgislib-support/bbyUmkLGFzw/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to rsgislib-suppo...@googlegroups.com.
>
> To post to this group, send email to rsgislib...@googlegroups.com.
> Visit this group at http://groups.google.com/group/rsgislib-support.
> For more options, visit https://groups.google.com/d/optout.
>
>
> --
> 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.
Reply all
Reply to author
Forward
0 new messages