nikosalexandris / i.landsat8.swlst Goto Github PK
View Code? Open in Web Editor NEWPractical split-window algorithm estimating Land Surface Temperature from Landsat 8 OLI/TIRS imagery
License: GNU General Public License v3.0
Practical split-window algorithm estimating Land Surface Temperature from Landsat 8 OLI/TIRS imagery
License: GNU General Public License v3.0
Hello Nicos,
Im trying to run your grass add-on and I get an error dealing with MTL file informations. I get a message:
AttributeError: 'metadata' object has no attribute
'LANDSAT_SCENE_ID
And when I look at MTL file it doesnt contains any LANDSAT_SCENE_ID item.
Landsat product i'm working on is https://doi.org/10.5066/P975CC9B
It seems id looks like LANDSAT_PRODUCT_ID in this product...
Is there any way to make your add-on working with this product?
Thanks
Your function
def _derive_adjacent_pixels(self):
"""
Derive a window/grid of "adjacent" pixels:
[-1, -1] [-1, 0] [-1, 1]
[ 0, -1] [ 0, 0] [ 0, 1]
[ 1, -1] [ 1, 0] [ 1, 1]
"""
return [[col-1, row-1] for col in xrange(self.window_width)
for row in xrange(self.window_height)]
returns only all adjacent pixels for a 3 pixels neighborhood. In a 7 pixels neighborhood the window goes still only one pixel up and to the left. Is that on purpose?
I can make create a pull request if you want a full window for all neighborhood sizes...
Hello, like the title says, I got no raster output unfortunately. Only some files in cell_misc/lst/. Do I miss a step? Thanks for your help!
Kind regards, Sebastian
Firstly, thanks a millions for this nice algorithm. Further, I wanted to ask, if it is possible to apply the algorithm to a space-time landsat raster.
Kind regards.
Using the L1C2 (collection 2) Landsat 8, the MTL files now contain some variables twice. When the addon parses this MTL, it fails with "Duplicate Variable ORIGIN" etc. for each such variable
Here's a list of the duplicates that I found:
diff LC08_L1TP_174039_20220118_20220123_02_T1_MTL.txt LC08_L1TP_174039_20220118_20220123_02_T1_MTL.txt.bak
113a114,115
> ORIGIN = "Image courtesy of the U.S. Geological Survey"
> DIGITAL_OBJECT_IDENTIFIER = "https://doi.org/10.5066/P975CC9B"
115a118,121
> LANDSAT_PRODUCT_ID = "LC08_L1TP_174039_20220118_20220123_02_T1"
> PROCESSING_LEVEL = "L1TP"
> COLLECTION_CATEGORY = "T1"
> OUTPUT_FORMAT = "GEOTIFF"
117a124,143
> FILE_NAME_BAND_1 = "LC08_L1TP_174039_20220118_20220123_02_T1_B1.TIF"
> FILE_NAME_BAND_2 = "LC08_L1TP_174039_20220118_20220123_02_T1_B2.TIF"
> FILE_NAME_BAND_3 = "LC08_L1TP_174039_20220118_20220123_02_T1_B3.TIF"
> FILE_NAME_BAND_4 = "LC08_L1TP_174039_20220118_20220123_02_T1_B4.TIF"
> FILE_NAME_BAND_5 = "LC08_L1TP_174039_20220118_20220123_02_T1_B5.TIF"
> FILE_NAME_BAND_6 = "LC08_L1TP_174039_20220118_20220123_02_T1_B6.TIF"
> FILE_NAME_BAND_7 = "LC08_L1TP_174039_20220118_20220123_02_T1_B7.TIF"
> FILE_NAME_BAND_8 = "LC08_L1TP_174039_20220118_20220123_02_T1_B8.TIF"
> FILE_NAME_BAND_9 = "LC08_L1TP_174039_20220118_20220123_02_T1_B9.TIF"
> FILE_NAME_BAND_10 = "LC08_L1TP_174039_20220118_20220123_02_T1_B10.TIF"
> FILE_NAME_BAND_11 = "LC08_L1TP_174039_20220118_20220123_02_T1_B11.TIF"
> FILE_NAME_QUALITY_L1_PIXEL = "LC08_L1TP_174039_20220118_20220123_02_T1_QA_PIXEL.TIF"
> FILE_NAME_QUALITY_L1_RADIOMETRIC_SATURATION = "LC08_L1TP_174039_20220118_20220123_02_T1_QA_RADSAT.TIF"
> FILE_NAME_ANGLE_COEFFICIENT = "LC08_L1TP_174039_20220118_20220123_02_T1_ANG.txt"
> FILE_NAME_ANGLE_SENSOR_AZIMUTH_BAND_4 = "LC08_L1TP_174039_20220118_20220123_02_T1_VAA.TIF"
> FILE_NAME_ANGLE_SENSOR_ZENITH_BAND_4 = "LC08_L1TP_174039_20220118_20220123_02_T1_VZA.TIF"
> FILE_NAME_ANGLE_SOLAR_AZIMUTH_BAND_4 = "LC08_L1TP_174039_20220118_20220123_02_T1_SAA.TIF"
> FILE_NAME_ANGLE_SOLAR_ZENITH_BAND_4 = "LC08_L1TP_174039_20220118_20220123_02_T1_SZA.TIF"
> FILE_NAME_METADATA_ODL = "LC08_L1TP_174039_20220118_20220123_02_T1_MTL.txt"
> FILE_NAME_METADATA_XML = "LC08_L1TP_174039_20220118_20220123_02_T1_MTL.xml"
248a275,282
> MAP_PROJECTION = "UTM"
> DATUM = "WGS84"
> ELLIPSOID = "WGS84"
> UTM_ZONE = 36
> GRID_CELL_SIZE_PANCHROMATIC = 15.00
> GRID_CELL_SIZE_REFLECTIVE = 30.00
> GRID_CELL_SIZE_THERMAL = 30.00
> ORIENTATION = "NORTH_UP"
After removing these duplicates from the MTL, I was able to successfully run the addon.
Apparently, with Landsat8-Data a new metadata file structure emerged. Data is provided with an xml file (xml is not supported with github, so i zipped it).
LC08_L1TP_094073_20160219_20170329_01_T1.zip
Is there a way to make the addon work with the new metadata-structure? I found no possibility to back-convert the xml-file.
Thank you!
Sir,
i wanted to instal the i.landsat8.swlst
!
in picture two in the manage extensions i can see the addons .
my grass version is 7.2.1
Regards
Sir,
how to download data from FROM-GLC for land cover parameters, i wanted to download the data i got this massage for the place i want to download.
Forbidden
Regards
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.