GEE Tutorial #18 - Creating Landsat timelapse animations with animated text using Earth Engine

Поделиться
HTML-код
  • Опубликовано: 21 апр 2020
  • This tutorial shows you how to create Landsat timelapse GIF animations and added text, label, progress bar to GIF.
    Earth Engine Videos Playlist:
    • Google Earth Engine an...
    geemap GitHub repository:
    github.com/giswqs/geemap
    Jupyter notebook for this video:
    github.com/giswqs/geemap/blob...
    Follow my Twitter for more updates:
    / giswqs
  • ХоббиХобби

Комментарии • 110

  • @bikeshbade9721
    @bikeshbade9721 4 года назад +3

    It's just great and you have done it in so simple way. That's a great job.

  • @akiram2654
    @akiram2654 3 года назад

    Have nothing to say but MANY THANKS! Really is!

  • @danielepiccolo805
    @danielepiccolo805 4 года назад

    Great Job.

    • @giswqs
      @giswqs  4 года назад

      Thank you for watching!

  • @asselyaospan8280
    @asselyaospan8280 3 года назад

    Hello, It is fascinating. My doctoral theme about build geoinformation system, so I use GEE. Your videos help me.

  • @mabyes
    @mabyes 3 года назад

    It is completely awesome, Qiusheng!
    I have on question, is it possible to import a shapefile to the map?

    • @giswqs
      @giswqs  3 года назад

      Yes, you can. See ruclips.net/video/OlNlqfj4uHo/видео.html

  • @naveenshahi4481
    @naveenshahi4481 3 года назад

    Hi thanks for great tutorial, how we can use landsat derived products such as burned area index(BAI) available in GEE.

  • @abhishesh.sharma
    @abhishesh.sharma 3 года назад

    neat

  • @spiralstairs3119
    @spiralstairs3119 Год назад +1

    I have followed this tutorial last semester and created Landsat time-lapse animations. I am trying to do the same for another region now, following this tutorial. But the animation that I am getting is all black. I can see the text and the progress bar, but the actual imagery is not visible in the animation as a time-lapse. Can someone please help me to figure out what can be the possible issue?

  • @MayuriK_it
    @MayuriK_it 2 года назад

    Cool, we can do these GIFs with other satellites? Like Copernicus Sentinel-2 (that has a better spatial resolution) or VIIRS (for the nighttime lights)?

  • @EverythingGIS
    @EverythingGIS 2 года назад

    Thank you very much for putting this volume of knowledge for free. Please sir, how do I extract the coordinates of the object i manually selected i.e. the Roi or Aoi? thanks.

    • @giswqs
      @giswqs  2 года назад

      Map.user_roi and Map.user_rois

  • @ethancarr872
    @ethancarr872 Год назад

    Great video, I was wondering if there is a way to have a time series with as many images possible instead on 1 per year. For example if I want to look at the summer melt season I would only want at least one image from May - September every year. Is this possible? Thank you!

    • @giswqs
      @giswqs  Год назад +2

      Yes, you can use the create_timeseries() and create_timelapse() functions to create timeseries from any ImageCollection. Basically, you filter the ImageCollection to May-September using ee.Filter.calendarRange() then use create_timeseries() to create timeseries at whatever frequency by setting the frequency parameter to day, month, quarter, year, etc.
      geemap.org/timelapse/#geemap.timelapse.create_timelapse
      geemap.org/timelapse/#geemap.timelapse.create_timeseries
      developers.google.com/earth-engine/apidocs/ee-filter-calendarrange

  • @marouanedbani719
    @marouanedbani719 Год назад

    Thank you professor for this tutorial I've followed thouroughly your steps repeating the same example but i'am having a black image. can you help?

  • @collector619
    @collector619 4 года назад +2

    Great tutorial! How can we get one Landsat image each month (or every cloudless Landsat image available) to animate? Now it seems to be just 1/year.

    • @giswqs
      @giswqs  4 года назад +3

      You can composite monthly imagery by yourself, and then download the GIF to add animated text. See this example github.com/giswqs/geemap/blob/master/examples/notebooks/16_add_animated_text.ipynb

    • @collector619
      @collector619 4 года назад

      @@giswqs Thanks!

  • @nept4ne
    @nept4ne 4 года назад +1

    Thanks a lot for sharing your tutorial, I'll practice. Do you have a video about NDVI for agriculture or is it possible to do this for NDVI?. Greetings from Perú. New suscriber!

    • @giswqs
      @giswqs  4 года назад +1

      You can create a timelapse for any ImageCollection. Check out this notebook example github.com/giswqs/geemap/blob/master/examples/notebooks/18_create_landsat_timelapse.ipynb

  • @dianakyalo2240
    @dianakyalo2240 4 года назад

    Thank you for such a great job.Just a quick one on minute 4:09 what key combination did you mention?

    • @giswqs
      @giswqs  4 года назад +1

      Shift + Tab

    • @dianakyalo2240
      @dianakyalo2240 4 года назад

      @@giswqs Thankyou

    • @dianakyalo2240
      @dianakyalo2240 4 года назад

      Do you have an algorithm for removing the scanlines

  • @arwa3423
    @arwa3423 2 года назад

    Thanks for the useful video. Please help, how can I download images as a link with text?

  • @SurvivalGamingGreece
    @SurvivalGamingGreece 3 года назад

    First of all thank you, this videos help me so much! Is it possible to do this with a Sentinel imagecollection?

    • @giswqs
      @giswqs  3 года назад

      Yes you can! See geemap.org/common/#geemap.common.sentinel2_timeseries

    • @SurvivalGamingGreece
      @SurvivalGamingGreece 3 года назад

      @@giswqs Thank you for you respond! I hope the very best!

  • @annamccartney3608
    @annamccartney3608 Год назад +1

    hi! im using GEE for my dissertation and this tutorial was so useful for a beginner! I have a question though, Ive used Landsat and the resolution is brilliant for what I am looking at however when I create a timelapse of the same area the resolution completely disappears and is very blurry, is there a way to fix this??

    • @giswqs
      @giswqs  Год назад

      TImelapse is suitable for relatively large areas only. For high-resolution, you need to create timeseries book.geemap.org/chapters/09_timelapse.html#creating-timeseries

  • @matteoceconaia4308
    @matteoceconaia4308 Год назад

    Hello Dr Wu, your work is really great and push the humanity to a better place. Thank you!
    Also have a question if you have the time for this : How to change the image frequency? I see it's in year by default, we just have to put frequency = "month" ? Thanks a lot :)

    • @giswqs
      @giswqs  Год назад +1

      Correct. You might need to the timespan so that you don’t exceed the memory by having too many monthly images

    • @matteoceconaia4308
      @matteoceconaia4308 Год назад

      I really appreciate your responsiveness! One last question, I don't want to waste your time: I don't know how and where I should put frequency="month". when I try it, it doesn't work. Should I introduce this variable?

    • @giswqs
      @giswqs  Год назад

      book.geemap.org/chapters/09_timelapse.html#sentinel-2-timelapse

    • @matteoceconaia4308
      @matteoceconaia4308 Год назад

      Thanks a lot! I tried a lot of things but I still have this issue " Map.add_landsat_ts_gif() got an unexpected keyword argument 'frequency' ". I also tried with the notebook 27 and 39 (github). I think i don't have enough skills

    • @matteoceconaia4308
      @matteoceconaia4308 Год назад

      if you have the approach to change the frequency for a timelapse landsat (how to put this new argument?) it would be great. I've tried a lot of things in the last couple of days, with no success. Have a nice day

  • @cuantocabron12
    @cuantocabron12 4 года назад

    Hi Qiusheng, great job, how can I do this same process but with SENTINEL images from the Copernicus program?

    • @giswqs
      @giswqs  4 года назад

      See geemap.readthedocs.io/en/latest/source/geemap.html#geemap.geemap.sentinel2_timeseries

  • @LuisMedina-ie9rb
    @LuisMedina-ie9rb 3 года назад

    Hi, thank you for your work. Your tutorials are easy to follow! Is it possible to add a custom polygon to the gif? I´ve tried loading the polygon and hoping the gif gets it witout luck.

    • @giswqs
      @giswqs  3 года назад +1

      You can use *image.blend()*. See ruclips.net/video/v-FWj9dAMJ8/видео.html

    • @LuisMedina-ie9rb
      @LuisMedina-ie9rb 3 года назад

      @@giswqs Thank you!. I add this: collection = collection.map(lambda img: img.blend(countries.style(**style))) and it was ok, but then I tried to export the gif with geemap.download_ee_video(collection, video_args, out_gif) and I got this error: Image.blend: Images must contain the same number of bands or only 1 band. Got 8 and 3. Sorry for bothering you here.

  • @rashasalim1259
    @rashasalim1259 3 года назад

    Awesome!
    Just a quick question. Is it possible to make it so I can get images for a region in different months in the same year, rather than over the years? I tried it but ended up with one image.
    Thanks a lot for keeping up with the comments :)

    • @giswqs
      @giswqs  3 года назад

      Yes, it is possible. You will have to know GEE to do some coding.

    • @rashasalim1259
      @rashasalim1259 3 года назад

      Yes, I have basic knowledge in GEE I'll try it out with the code and let you know when I get it to work. Thanks!

    • @giswqs
      @giswqs  3 года назад +2

      Try the geemap.date_sequence() to create a time series and then use a map function to create an ImageCollection.
      geemap.org/common/#geemap.common.date_sequence

    • @rashasalim1259
      @rashasalim1259 3 года назад

      I'll do that, Thank you so much! 🙏

  • @kumudumadhawakurugama3244
    @kumudumadhawakurugama3244 2 года назад

    Thanks for the video again. I have a quick question. When I load the first image as you instructed the image looks black and when i download the gif, it is also black colour. What is the reason for this?

    • @giswqs
      @giswqs  2 года назад

      Don’t pan and zoom too far away from the map center. If the longitude is outside [-180, 180], then you will end up with black images

  • @matteoceconaia4308
    @matteoceconaia4308 2 года назад

    Hello Dr Wu, thank you so much for sharing your knowledge, this is beautiful!
    I have a question if you can answer it. When I run the code there is "Request had insufficient authentication scopes.
    The input gif file does not exist." at the end of the part 'Generate a Landsat timelapse animation', I don't know how to go throught this issue..
    Thanks a lot! :)

    • @giswqs
      @giswqs  2 года назад +1

      import ee
      ee.Authenticate()

    • @matteoceconaia4308
      @matteoceconaia4308 2 года назад

      @@giswqs Thank you so much for your reactivity and your generosity :)

  • @ayeisha7
    @ayeisha7 10 месяцев назад

    Hi there, I am getting import error when I try to run the generate timelapse animation>? it seems it cant' import to the map

  • @user-ni7sx3ln6e
    @user-ni7sx3ln6e 3 месяца назад

    Thank you for the video. If I want to make a time series of an area out of Sentinel-1 SAR data, how can I proceed?

    • @giswqs
      @giswqs  3 месяца назад

      See book.geemap.org/chapters/09_timelapse.html#sentinel-1-timelapse

    • @user-ni7sx3ln6e
      @user-ni7sx3ln6e 3 месяца назад

      @@giswqsThank you so much! I've tried the code you provided, and it works. Now, my question is, how can I ensure that I only use SAR data that completely covers my area of interest? I created a time-lapse, but some of the data only cover part of my AOI. Also, when I extend the time period, for example, from 2015 to 2020, the result still shows only data from 2019, which is the default value in the code. Lastly, I'm curious if it's possible to incorporate speckle filtered data into the final time-lapse.

  • @nafizrahaman8379
    @nafizrahaman8379 3 года назад

    Mr. Wu, you used ee.Geometry.Polygon where the coordinates are needed for drawing the polygon. What if I want to use a local shape filed as a polygon for the time-lapse area. What should I do then?

    • @giswqs
      @giswqs  3 года назад

      See ruclips.net/video/OlNlqfj4uHo/видео.html

  • @blueskysu8380
    @blueskysu8380 2 года назад

    谢谢老师非常通俗易懂的讲解。我还有一个问题,landsat的时间序列变化gif可以通过landsat_timeseries函数添加到map上,那其他的gif怎样将添加到map上显示呢?

    • @giswqs
      @giswqs  2 года назад

      See geemap.org/notebooks/image_overlay/

  • @theforester_
    @theforester_ 2 года назад

    Thanks! is it possible to have the 'gif' a little bit more zoomed in, thanks again ?

  • @MohanBChand-dj3st
    @MohanBChand-dj3st 4 года назад

    I am following your all tutorial videos. Here, I am interested in making Landsat animation (GIF). Could you tell us, how can I customize the variables that you mentioned at 4:19 of the video? I can not edit the code. Also, I am unable to download the GIF and export it to my computer. I will be happy to hear from you.

    • @giswqs
      @giswqs  4 года назад

      Check out the notebook example. Define variables and pass those variables to the function.
      github.com/giswqs/geemap/blob/master/examples/notebooks/18_create_landsat_timelapse.ipynb

    • @MohanBChand-dj3st
      @MohanBChand-dj3st 4 года назад

      @@giswqs I followed your notebook example and it downloaded the timelapse automatically. But the results were full of cloud cover or snow cover, I can not customize the code to include only could and snow-free images. Also, How can I skip the year, where no images are available? Your help is highly appreciated.

  • @CessTenn
    @CessTenn 3 года назад

    Dr. Wu, I have a question. Which images will get selected in the Landsat Timelapse Animation given a time window (06-01 / 09/01)?

    • @giswqs
      @giswqs  3 года назад

      It is based on a median filter applied on all available images within the selected time winder. See developers.google.com/earth-engine/guides/ic_reducing.

    • @CessTenn
      @CessTenn 3 года назад

      @@giswqs Perfect. Thank you! I wonder if there's a way to generate a timeseries by entering, for example, 8 images in a list ['image1, 'image2',...] and entering my own text also in a list ['label1', 'label2',...]?

  • @teodoramitroi7150
    @teodoramitroi7150 3 года назад

    Hi! I am trying to follow this tutorial once again, but am having trouble with the bug for the 2.0.2. I have downgraded for 1.12.8 last week and it worked, but now it no longer works. I have also ran the command you posted on github a few days ago: "pip install -U earthengine-api
    " and still getting the "UnknownApiNameOrVersion: name: earthengine version: v1alpha" error. Any suggestions, please?

    • @giswqs
      @giswqs  3 года назад

      See github.com/giswqs/geemap/discussions/341#discussioncomment-472587. Try creating a new conda install env to install it.

  • @SandipRijal-yi2qj
    @SandipRijal-yi2qj 4 месяца назад

    I am getting this error Please wait ...
    An error occurred while downloading.
    User memory limit exceeded. How can I solve this?

  • @teodoramitroi7150
    @teodoramitroi7150 3 года назад +1

    I didn't catch how to see the variable description- Ctrl+Shift+???

  • @htetnaing6115
    @htetnaing6115 3 года назад

    Thank you so much for such a brilliant job.
    Can I increase the output timelapse video max pixels?
    I am getting this error : (Total request size (337087488 pixels) must be less than or equal to 26214400 pixels.)

    • @giswqs
      @giswqs  3 года назад +1

      Unfortunately, that’s the size limit enforced by Google. It can’t be changed

    • @htetnaing6115
      @htetnaing6115 3 года назад

      @@giswqs Oh I see!
      Thank You so much for such a nice package.
      It helps me a lot.

  • @augustejoachimbadji9170
    @augustejoachimbadji9170 6 месяцев назад

    comment vous faites l'entrée au clavier sur la vidéo? J'arrive pas trop à suivre vu que c'est en anglais.

  • @adebowaledanieladebayo6957
    @adebowaledanieladebayo6957 4 года назад

    Well done sir.
    I really appreciate your effort. I sent you a connection request on LinkedIn few days ago, kindly accept it.
    Thanks.

  • @omerreshi
    @omerreshi 3 года назад

    I got this error
    ModuleNotFoundError Traceback (most recent call last)
    in
    ----> 1 import geemap
    ModuleNotFoundError: No module named 'geemap'

    • @giswqs
      @giswqs  3 года назад

      Make sure you activate the conda env where geemap is installed.

  • @nitant
    @nitant 4 года назад

    Is there a way to visualize cloud free timelapse?
    Also, are all these images Landsat 7 images?

    • @giswqs
      @giswqs  4 года назад

      It should be cloud-free timelapse already, including Landsat 4/5/7/8. See geemap.readthedocs.io/en/latest/_modules/geemap/geemap.html#landsat_timeseries

    • @nitant
      @nitant 4 года назад

      @@giswqs I wanted to know if the shortcut method: Map.add_landsat_ts_gif() could be used to produce cloud free gif. Thank you.

    • @giswqs
      @giswqs  4 года назад +1

      @@nitant The gif is created based on the ImageCollection. You can composite a cloud free ImageCollection and then use geemap.download_ee_video() to download GIF. See the links below:
      geemap.readthedocs.io/en/latest/geemap.html#module-geemap.geemap
      developers.google.com/earth-engine/ic_visualization

  • @limihong2074
    @limihong2074 3 года назад

    I really love your video :) I try to draw a map in Seoul, Korea but it's not working. Maybe because the Landsat doesn't cover South Korea?

    • @giswqs
      @giswqs  3 года назад

      This is a bug. A fix is on the way. Stay tuned.

    • @limihong2074
      @limihong2074 3 года назад

      @@giswqs Ohhhh! Thank you!!! You are the best!!!!!♥

    • @giswqs
      @giswqs  3 года назад +1

      This bug has been fixed. Please update geemap using `geemap.update_package()` and restart the Jupyter kernel to take effect.
      See github.com/giswqs/geemap/issues/134

    • @limihong2074
      @limihong2074 3 года назад +1

      @@giswqs WOW!!!!!! Now it's working X) So coooool!! I really appreciate for such quick update.

    • @giswqs
      @giswqs  3 года назад

      You are very welcome! Enjoy😀

  • @MrDaoducanh
    @MrDaoducanh 4 года назад

    When I run code Map=geemap.Map(), it got a problem "EEException: Permission denied." Coul you help me to solve it

    • @giswqs
      @giswqs  4 года назад

      Have you signed up for a Google Earth Engine account? earthengine.google.com/signup/

    • @MrDaoducanh
      @MrDaoducanh 4 года назад

      @@giswqs Thank you for your answer. I set the FramePerSecond is 120, but it is still quite fast. Could I reduce the speed of animation???

    • @giswqs
      @giswqs  4 года назад +1

      Set it to a smaller number. 10 means 10 images per second. 1 means 1 Image per second.

  • @user-si4kp4zx4g
    @user-si4kp4zx4g 2 года назад

    Hello Mr. Wu! I am also having problems with selecting ROI in Asia and then running it unsuccessfully. After trying geemap.update_package() as mentioned in (github.com/giswqs/geemap/issues/134) it still doesn't work, display and download. The downloaded GIF is black. I don't know what the problem is, but I would appreciate it if you could answer my questions.

    • @giswqs
      @giswqs  2 года назад

      See github.com/giswqs/geemap/issues/642

  • @tahmidanam6391
    @tahmidanam6391 4 года назад

    Can I do timelapse of Sentinel 5? help pls

    • @giswqs
      @giswqs  4 года назад

      You can create a timelapse for any ImageCollection. Check out this notebook example github.com/giswqs/geemap/blob/master/examples/notebooks/18_create_landsat_timelapse.ipynb

    • @tahmidanam6391
      @tahmidanam6391 4 года назад +1

      @@giswqs Sentinel 5P (NO2) image collection not working. want to clip it by roi, year :2019 to 2020. help pls

    • @bashinimahaarachchi4385
      @bashinimahaarachchi4385 3 года назад

      I am having the same problem with Sentinel NO2 data. I tried it in GEE. Here is the code:
      code.earthengine.google.com/1e6030fdabf3ae874a7a45ad3cfa400c?
      But I can't figure out how to add the time stamp/label on it

  • @maxikohner3485
    @maxikohner3485 3 года назад

    Hi! First, you job is awesome!
    second, I am getting this error :UnknownApiNameOrVersion: name: earthengine version: v1alpha

    • @giswqs
      @giswqs  3 года назад +1

      See github.com/giswqs/geemap/discussions/341#discussioncomment-472587

  • @phestoosano1294
    @phestoosano1294 4 года назад

    Noble how can I subscribe *10