Land surface temperature (LST) time series chart using Landsat imagery in #googleearthengine
FULL TRANSCRIPT
hello hello yeah can you hear
me yes please sir yeah how are
you okay so now we discuss about topic
okay so uh where are you from okay I
think you already joined my program
yeah yes please I'm from Ghana okay okay
okay so now okay so basically uh uh who
joined my online training program for
one time they can get the free support
all time so that's why you can also get
the free teaching support in this time
okay so in this time you can simply talk
me about your uh problem what you
face okay okay yeah okay so the problem
I was facing was um after the um Lear Le
cover classification the land surface
temperature classification I wanted to
create can I share my screen yeah yeah
can share your screen then it's better
sure okay so yeah yeah so please after
the
um the land of temperature creation I've
created
everything following the tutorials you
give us so I was trying to generate the
L the time series chart of
the
okay okay okay okay so okay so in this
time uh for the time Ser chart okay can
you send me the code link with your uh
asset it also better okay so click on
the get link button get link button and
send me a link
yes copy and send me
that then I try to show you that how we
can easily create the time series chart
for
LST okay okay send me in the Google meet
chat box it's little better yeah send me
the Google meet chat
box oh okay okay sure and I can easily
access from my laptop and then open
it
okay second number t
so ch ch Bo okay so you can get the in
the right
corner okay
so c phone okay got
it okay so let me open my
screen okay
okay so now you can stop your sharing
screen I will just try to open my screen
and show you that process how we can
easily make
the
lstd time 3 chart okay so let's
go so now can you see my
screen okay
sure okay okay excellent
okay it
loaded okay okay this time okay you did
not share your asset so for this things
okay I just simply take a random Mage
and try to show you that okay so I
simply remove these things and I import
my sh suppose taka City you can easily
use this code for other region also no
problem I simply inut my D City
boundary and first that I put the name
as r y r y okay so you can write the
code okay so then 2020 to
2022 and further you want to uh m. add
layer about these things okay done okay
good and further you are just applying
all of those
things okay
so mainly you just try to make the code
for LSD visualiz ation okay so now in
this time we are just make the time Ser
chart and observe what's the temporal
condition of land surface temperature
between this time period year of 2020 to
2020 this time period okay so for this
thing first of all we need to create a
band okay in this time here you can see
when I print this I can get only for
this 12 band you can see it create B1 B2
uh B3 these type of things but there is
no band about LST there is no band so
first of all you need to create the band
of
LST then use this band and we can easily
make the time chart so let's go how we
can EAS create this band first of all
okay I try to visualize the LSD why it
not showing here why let me
check so F bound F de median okay
suppose I take the less than 1% cloud
cover image create the median and then I
simply display this
image okay just I simply remove that and
then map. Center object I put the r y sh
file and now click in
okay it's
visualized so this is the study
area and further show
this that layer and we also make the ls
all of those things we can generate in
here fractional okay in this time I
generate
the mainly we generate about the band
okay so for doing these things it's very
easy uh just we write a variable suppose
I just write a
variable uh uh bar I put the variable
name
suppose add
LST and put a function
keyword function keyword and put the
element name uh image imz image and
further in this Carly bracket I just put
my argument okay so in this time my
argument is that I calculate all of
those things mainly calculate the uh
ndvi then thermal band fractional
vegetation imity and LST include all of
the things between this Carly bracket
and add it okay so for doing these
things we just simply copy the code from
here suppose I just simply copy from
ndvi just copy the same code all of
those simply copy copy also copy from
here and also
LST okay and finally okay just I simply
copy from here okay just simply copy
okay and these things I simply paste in
my early bracket so here you can see I
already make this early bracket okay
just past here so in this time what can
I do in this time using the element so
mainly my element is that image okay
using this image I do all of those
things so I simply put at that IMG image
and it's not needing this time because I
create the band I don't visualize so I
remove it it also not need uh it also
not need I simply remove these things
okay do not need so F that I simply go
to the below here you can see thermal
and in this time I simply change it I
put the imz my element name okay and
then further I did not show the layer of
the theral remove it it not need remove
and in this time I also calculated the
mean and Max of ndvi it also okay no
problem because I need the mean and max
value for calculating the fractional
vegetation so far that I simply
calculated the mean okay as well as also
calculated the max okay as well as in
this time you can see Roi okay stady
area I need to define the stady area
between this C bracket in this time you
can see this Carly bracket I need to
define the ROI my study area so just
take a variable suppose Roi and I simply
Define a study area suppose mainly it's
my this Roi I simply click on
here okay in this time I just simply
copy or if you want you can simply just
click on the three dot button you can
just click on here and you can get this
type of things I simply copy from here
this line simply copy from here because
this my r y this my St area just simply
go to the below and paste here okay so
this my Roi I also Define it okay it's
done nvi done thermal nvi done mean Max
it also done print net remove the print
value then Max Max not I simp I don't
need to print so simply remove that
forther fractional vegetation calculate
FB don't need to add the print and map
layer in the band remove that then imity
imity we are just calculate the imity
don't need to add the layer about the M
for that remove that further uh in this
time LST LST we just make the LST and I
put the LST say I put the name suppose
only for the short name I simply put
suppose uh LST okay after doing these
things you can simply write a function
return return this image IMG return this
image
add B add B this variable LSD simply
copy and paste here so now this is the
code from here start and go to from here
supp this scarly bracket between this
carar bracket uh it's generate the band
about the LSD band so now how I can get
the band this band you need to connect
with your image collection so mainly
here you can see this is our image
collection okay so this is our image
collection we got this
collection in
here yeah so this is your image
collection you can see it's my image
collection in this time I just simply
add a function
add I simply ma function and call the
function variable okay you can see
function variable name mainly where I
store it at LST you can see it's my
function variable simply copy and
connect in here so just simply go to the
below and here I can get these things
here you can see simply paste here after
the
collection paste
here okay so now in this time you can
see I simply print this
collection and check what happened about
this collection so for these things I
just simply uh okay just a simply site
not about that it's a uh new Okay now
click the run in this time you can see
it generate a new band okay this band
called The lstd Band We generate in this
time I can get the total 13 bands Okay
click on here and also click on here you
can see one B is generated it called the
LST okay okay so now we can easily
generate the
LST uh time Ser chart between this time
period so let's go we just make the time
Ser chart so for doing these things I
simply copy from here this line this
line I simply
copy because in this time uh we are also
add the visualization also okay and time
so just I simply create the another
I paste here I put the
co suppos time okay so now I just simply
make the timeart using this variable
okay this is my image collection so for
that I just simply use the function UI
dot chart dot image Dot spr and put all
of this argument first of all I just
make a dictionary
CIF and also C
bracket
in and further just
[Music]
simp okay so in this time okay I think
in this time it's B to
use in this time okay so in this time
it's a function basically this function
uh it generate the band okay so
basically which band we calculate in
here it generate the same band okay and
from here we can easily make the time
three chart also okay so in this time I
think it also better but if you want you
can also use the create this
function suppose in this time I simply
copy this same code from here
Cy the same
code and then simply paste here and all
those
things here you can
see I just simply put this name as a
geometry
yry okay
okay if I remove this previous one
geometry
TR now click to
run
now okay so now it's okay you can see in
this time uh in this time here you can
see uh this line mainly this line it
create the band of
LST okay so basically they create a
module or they create a function in this
time uh any region any region when you
want to make the time C chart just
simply copy the same code copy the same
code and then put your import your study
area as a geometry or any just put
rename it as a geometry then it easily
make the time Ser chart okay as well as
in in this time it also added the layer
you can see so mainly we also calculated
the average uh at the layer about the
LST okay if you want can also add here
the suppose mainly your visualization so
simply click on
here and custom suppose
98% and further you can also add the
color plated from you can see plated
button simply click on here simply click
here you can see mainly suppose I show
this color for low lstd then I show this
color
for and also show suppose uh this
color and also show suppose this
color suppose High let show this color
red color okay and further apply so now
it also added these things this color
added in here okay further simply just
import
and then from here simply copy this
visualization
parameter and paste after the object
name so this my object I simply paste
here and also put this layer name
suppose uh Daka
City LST so now click the
run so now we can see it visualize the
LST map of city as well as also
visualize about that
chart and see
okay and when you change this time
period simply you can see you can simply
put your time period on time period you
can easily get this result okay just
simply change it this time period okay
so this is the one way I send you this
code
link okay as well as I try to find out
the solution about that for the previous
code suppose okay um in this code what's
the
problem for our
chart this the one solution for creating
this time
chart so is it for only um LST or any
other analysis can only LST okay suppose
this function create only for the LST uh
monitoring because you can see LST for
the LST you have to write need lot of
code okay so for doing these things they
make the all of the code and store it in
a module they create a module so when
when anyone use this modu they can
easily get the LST as well as they can
easily create the time series chart of
the
LST it's very useful for um in can very
short time you can EAS create the LST
map as for any region and also create
this uh time Ser chart of the
LST okay okay okay okay sir thank you
very much okay so you try and I hope you
can do it using this second number of
port line okay okay okay thank you okay
have a good day okay bye
what
UNLOCK MORE
Sign up free to access premium features
INTERACTIVE VIEWER
Watch the video with synced subtitles, adjustable overlay, and full playback control.
AI SUMMARY
Get an instant AI-generated summary of the video content, key points, and takeaways.
TRANSLATE
Translate the transcript to 100+ languages with one click. Download in any format.
MIND MAP
Visualize the transcript as an interactive mind map. Understand structure at a glance.
CHAT WITH TRANSCRIPT
Ask questions about the video content. Get answers powered by AI directly from the transcript.
GET MORE FROM YOUR TRANSCRIPTS
Sign up for free and unlock interactive viewer, AI summaries, translations, mind maps, and more. No credit card required.