Coder Social home page Coder Social logo

Comments (12)

JacopoRosaRizzotto avatar JacopoRosaRizzotto commented on July 18, 2024 1

Ok, here is the command string in use:

i.landsat8.swlst mtl="D:\Lavoro\Convenzione Cattolica\Landsat8_150320_USGS\LC08_L1TP_192028_20200315_20200325_01_T1_MTL.txt" b10=LC08_L1TP_192028_20200315_20200325_01_T1_B10@PERMANENT b11=LC08_L1TP_192028_20200315_20200325_01_T1_B11@PERMANENT qab=LC08_L1TP_192028_20200315_20200325_01_T1_BQA@PERMANENT landcover=Classificazione_FROM_GLC_10E_50N@PERMANENT lst=lst window=7

The add-on is available by accessing the extension repository of GRASS GIS through the GUI. The main add-on windows appears like this:

image

from grass-addons.

NikosAlexandris avatar NikosAlexandris commented on July 18, 2024

@JacopoRosaRizzotto Can you manually check if there is a valid pixel value in the FROM GLC map? Can you share your data? Area which you are working on?

from grass-addons.

NikosAlexandris avatar NikosAlexandris commented on July 18, 2024

(By the way, @JacopoRosaRizzotto, best to include the exact command issued in the bug description.)

from grass-addons.

JacopoRosaRizzotto avatar JacopoRosaRizzotto commented on July 18, 2024

About the data: I am working on the 10E 50N area, retrieved from: http://data.ess.tsinghua.edu.cn/fromglc2015_v1.html

For what concerns the command issued, I ran the script directly from the GRASS i.landsat8.swlst graphic interface, so I didn't manually send any command, and the only output I received is the one I posted here.
Thanks.

from grass-addons.

NikosAlexandris avatar NikosAlexandris commented on July 18, 2024

@JacopoRosaRizzotto In the bottom part of any command-"window" in GRASS GIS' GUI, one can see and copy-paste the command. However, I have never used this add-on through the GUI. It is not available, as far as I know, through the GUI's menus. Is it?

from grass-addons.

NikosAlexandris avatar NikosAlexandris commented on July 18, 2024

Dear @JacopoRosaRizzotto, sorry for the late reply. Too much work.
I have been given this a try myself and found out there are some if not several stuff to update in the module. So, I can't test it straightforward.

The error is strange. The land cover classes are hardcoded, here: https://github.com/OSGeo/grass-addons/blob/master/grass7/imagery/i.landsat8.swlst/average_emissivity.csv. I remember that this is the file that is read by the module. The classes are the ones from the FROM-GLC nomenclature. So, it must be something else.

Is the region set correctly? But even so, I think the module does this automatically and uses one of the thermal bands to set the region.

Can you verify the land cover map is correctly imported? Can you visualise it in GRASS GIS for example?

from grass-addons.

NikosAlexandris avatar NikosAlexandris commented on July 18, 2024

@JacopoRosaRizzotto A series of updates for Python 3 were required. I updated the add-on.
(As messy as it is, looking at it now after so many years... :-D).

Here the LST map mentioned in the first post of this issue:
lst_LC08_L1TP_192028_20200315_20200325_01_T1

By the way, the add-on worked in Python 2.

from grass-addons.

neteler avatar neteler commented on July 18, 2024

@JacopoRosaRizzotto A series of updates for Python 3 were required. I updated the add-on.

@NikosAlexandris where did you update it? Here I don't see recent changes:
https://github.com/OSGeo/grass-addons/commits/master/grass7/imagery/i.landsat8.swlst

Is there a different repo?

from grass-addons.

NikosAlexandris avatar NikosAlexandris commented on July 18, 2024

@JacopoRosaRizzotto A series of updates for Python 3 were required. I updated the add-on.

@NikosAlexandris where did you update it? Here I don't see recent changes:
https://github.com/OSGeo/grass-addons/commits/master/grass7/imagery/i.landsat8.swlst

Is there a different repo?

Yes (actually two synced ones: https://gitlab.com/NikosAlexandris/i.landsat8.swlst and https://github.com/NikosAlexandris/i.landsat8.swlst). The straightforward way to update the grass-addons seems to be to copy-paste the stuff inside it (in the i.landsat8.swlst subdirectory) and loose however, the detailed commit history.

I wonder if the GRASS GIS dev team thinks of using submodules, or any other way/technique, to be more flexible when developing individual add-ons.

from grass-addons.

NikosAlexandris avatar NikosAlexandris commented on July 18, 2024

See d422fa9

from grass-addons.

neteler avatar neteler commented on July 18, 2024

See d422fa9

Thanks for the massive update!

from grass-addons.

neteler avatar neteler commented on July 18, 2024

Is there a different repo?

Yes (actually two synced ones: https://gitlab.com/NikosAlexandris/i.landsat8.swlst and https://github.com/NikosAlexandris/i.landsat8.swlst). The straightforward way to update the grass-addons seems to be to copy-paste the stuff inside it (in the i.landsat8.swlst subdirectory) and loose however, the detailed commit history.

I wonder if the GRASS GIS dev team thinks of using submodules, or any other way/technique, to be more flexible when developing individual add-ons.

Perhaps @wenzeslaus has an idea how to handle that?

from grass-addons.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.