Comments (12)
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:
from grass-addons.
@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.
(By the way, @JacopoRosaRizzotto, best to include the exact command issued in the bug description.)
from grass-addons.
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.
@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.
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.
@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:
By the way, the add-on worked in Python 2.
from grass-addons.
@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.
@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.swlstIs 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.
See d422fa9
from grass-addons.
See d422fa9
Thanks for the massive update!
from grass-addons.
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)
- [Bug] i.fusion.hpf can longer be installed with g.extension HOT 5
- v.db.pyupdate warning during installation
- [Feat] i.sentinel.import: handle processing baselines HOT 3
- [Bug] Add concurrency groups/cancel in progress for skipping outdated CI runs
- Add tests to i.modis, i.landsat, i.sentinel download HOT 23
- Addons for plotting: Standardize parameters and flags HOT 3
- [Bug] r.accumulate segfaults without specifying accumulation_type
- r.landscape.evol: Incorrect number of seconds in a day HOT 1
- [Bug] r.connectivity.distance error HOT 1
- [Bug] g.extension uses wrong path HOT 3
- Remove master branch HOT 1
- docs: wrong URI in SUBMITTING HOT 1
- [Bug] v.in.natura2000: update input data format from spatialite to geopackage
- v.rast.move: empty keywords break addon overview script HOT 2
- [Bug] i.sentinel.download: give warning instead of errors if single files are corrupt
- v.surf.mass: Input should be vector "area" map? HOT 1
- [Bug] testsuite: do not run tests for deprecated module HOT 4
- [Bug] m.tnm.download and m.cdo.download fail to build on Windows server due to using external Python library requests
- r.stream.distance elevations with value of -1 [Bug]
- [Bug] Remove r.sim.water.mp from addons
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grass-addons.