Calculate NDVI from Sentinel 2 and reclassify in QGIS

Поділитися
Вставка
  • Опубліковано 28 лис 2024

КОМЕНТАРІ • 44

  • @Corie3269
    @Corie3269 2 роки тому +1

    This helped immensely for my own little vegetation analyses, thank you so much!

  • @dianaswidler4253
    @dianaswidler4253 2 роки тому +1

    Thank you so much! I learned a lot and it is very easy to follow!

  • @JC-gp6bd
    @JC-gp6bd Рік тому +4

    There isnt a Sentinel option anymore, any idea why?

  • @elizavetakostromina7459
    @elizavetakostromina7459 2 роки тому

    Thank you so much for the video! it was very useful and easy to understand, it helped me a lot!

  • @anjaneyahk4251
    @anjaneyahk4251 2 місяці тому

    Thank you Sir for very informative video.

  • @chickentime8258
    @chickentime8258 3 місяці тому +1

    Excuse me. If i want to get NDVI data from each pixel by using sentinel 2 data how can i do? or it can't (I try to use sentinel 2 data to calculate carbon collected from tree in small space) (Sorry if my eng was bad) Thank you!!

  • @ezequielorquera794
    @ezequielorquera794 3 роки тому +1

    Thanks! Excellent video.
    One Q: Should we first calibrate the L1 image to surface reflectance?

    • @HansvanderKwast
      @HansvanderKwast  3 роки тому +1

      Good question. Because NDVI is a ratio it's not needed. Only more sophisticated atmospheric corrections will have impact on the result.

  • @12345678929435
    @12345678929435 2 роки тому

    Dear Dr. Hans van der Kwast. Thank you so much for such a wonderful video. I was comparing Landsat 9 (OLI) and Sentinel 2 (Level 2A) BOA images. I used different vegetation indices including NDVI and MNDWI. However, the BOA (L2A) NDVI looks weird. Do you recommend using Level 1C or L2A for vegetation indices? Thanks

  • @tegarnalle6888
    @tegarnalle6888 3 роки тому

    How to classify and put the scale range for mangrove vegetation

  • @wenchen9476
    @wenchen9476 3 роки тому

    Thank you very much for this tutorial. One question: how can we calculate annual NDVI or monthly NDVI?

    • @HansvanderKwast
      @HansvanderKwast  3 роки тому

      This video by my colleague explains how to do that with r.series: ua-cam.com/video/MinaylWMa3Q/v-deo.html

  • @megan4399
    @megan4399 3 місяці тому

    when you do the ndvi do you need to save it within the folder of the Sentinel data e.g., the one starting with S2B_MSI etc.,? Whenever I do the NDVI calculation it never comes up with -1 to 1 as the limits - always random numbers in between this. Do you know why this might be please?

    • @HansvanderKwast
      @HansvanderKwast  3 місяці тому

      It is always recommended to save results to a file instead of using temporary outputs. The format of he the temporary outputs might add out of range nodata values. Also you might lose temporary data after closing QGIS.

  • @WilliamBelini
    @WilliamBelini Рік тому

    Can determine the area by color in hectares?

  • @mahsa.k96
    @mahsa.k96 Рік тому

    thanks a lot , very useful and clear

  • @megan4399
    @megan4399 3 місяці тому

    Hi, does this method only work for Sentinel 2 L1C data or does it also work for L2A? I have very differing results (some working, some anomalous) and I am wondering if it is because I used Sentinel L2A?

    • @HansvanderKwast
      @HansvanderKwast  3 місяці тому

      The method can be applied to Sentinel2 L1C, but the result will be less accurate. L1C is not atmospheric corrected and has top of atmosphere (TOA) reflectences. L2A is atmospheric corrected and recommended to use.

  • @kategeorge1152
    @kategeorge1152 Рік тому

    Hi, thanks for your great video. When I did the raster calculation for NDVI it did not work. Appeared to calculate but did not show a layer. I checked correct projection and correct expression. Any ideas where I have gone wrong. Thanks

    • @HansvanderKwast
      @HansvanderKwast  Рік тому

      If it calculated, you might find the file on your disk.

  • @FarmitronPvtLtd
    @FarmitronPvtLtd 2 роки тому +1

    Very good video

  • @azzeddinereghais7494
    @azzeddinereghais7494 3 роки тому

    A lot thanks, Regards for you Sir

  • @mrx-in4xh
    @mrx-in4xh 11 місяців тому

    Hi thanks for the video. I just tried uploading a watershed KML file and I got an error telling me that the file is greater than 500 points. Is there a workaround to this limitation? thx

    • @HansvanderKwast
      @HansvanderKwast  11 місяців тому +1

      For downloading the satellite image product from Earth Explorer, you only need a simple bounding box polygon. Earth Explorer will not clip the image for you, it will search for tiles that match with the extent of your KML. So you can just upload a simple bounding box in KML or shapefile format or zoom in to your area of interest and use that extent on the web page.

  • @megan4399
    @megan4399 3 місяці тому

    When calculating the NDVI in the raster calculator the output is never -1 to 1 - it’s always something like -0.7 to 0.6 which really messes up my NDVI map. Is there anything I can do to fix this? Thank you for all your responses to my questions!!

    • @HansvanderKwast
      @HansvanderKwast  3 місяці тому

      It doesn't have to be necessarily from -1 to 1 if that's not in your data. But you can set the min/max value in the layer styling panel if you need to stretch the colours over the full range.

    • @megan4399
      @megan4399 3 місяці тому

      @@HansvanderKwast when I change it it essentially just makes the map all one colour as it is sensing that the NDVI is all between a certain range and makes it impossible to use. Is it possible the satellite is erroneous? I am doing a time series of a burn scar and the ndvi goes from severely bare soil to dense vegetation back to severely bare soil in the space of 2 months post burn (which is impossible!!). I have no idea what is causing the erroneous output.

    • @HansvanderKwast
      @HansvanderKwast  3 місяці тому

      @@megan4399 Clouds?

  • @carlaocano6660
    @carlaocano6660 2 роки тому

    thank you so much for the video. Do you know how to combine sentinel 2 images with black parts in the same raster??

    • @HansvanderKwast
      @HansvanderKwast  2 роки тому

      Best to check the tutorials on the Semi-Automatic Classification Plugin. For example this one: fromgistors.blogspot.com/2018/04/cloud-masking-image-mosaic-and-land-change.html

  • @josegarcia525
    @josegarcia525 3 роки тому

    Hi Hans. Thanks for that video. How can I extract a % per band?? I need to clasify a percentage per band to monitor a crop over time?

    • @HansvanderKwast
      @HansvanderKwast  3 роки тому

      Not sure what you mean with % per band. NDVI is a single band raster. You can study changes over time by calculating NDVI for images of different dates. If you reclassify the values in the same way, you can calculate % change for each class. Not sure if you want that.

    • @josegarcia525
      @josegarcia525 3 роки тому

      @@HansvanderKwast Yes I want to select a field and break down the NDVI values per pixel into perhaps 5-10 categories. Using this data I should be able to track the progress of the crop? I'm a real beginner to all this. I've just watched your percentage of land use video and I think this is the direction but in a smaller scale.

  • @brilianfifarsyah1780
    @brilianfifarsyah1780 Місяць тому

    when doing reclassify, mine is not working and it says 'invalid value for maximum: 0,1'. can you help me with this? thanks

    • @HansvanderKwast
      @HansvanderKwast  Місяць тому

      Maybe it should be 0.1 instead of 0,1?

    • @brilianfifarsyah1780
      @brilianfifarsyah1780 Місяць тому

      @@HansvanderKwast oh yeah my bad. Thank you so much sir, you earn my subs😀

  • @nailujretuas2093
    @nailujretuas2093 2 роки тому

    Thank you for the highly helpful video! I want to do the same procedure but with data for the country of germany. I can't find a fitting dataset on earthexplorer and the website won't let me upload the shapefile of germany since the polygone has more than 30 lines. Do you know where I can get the data? Again thank you for your help!

    • @HansvanderKwast
      @HansvanderKwast  2 роки тому

      You just need a rectangle around your study area. You can create one in QGIS. Or you use the map in Earth Explorer instead of a file.

    • @nailujretuas2093
      @nailujretuas2093 2 роки тому

      @@HansvanderKwast I tried using the map and drew a large rectangle around germany but earthexplorer gave me nearly 88.000 results with small areas that lie within my rectangle and not a dataset that most precisely resembles my rectangle.

    • @HansvanderKwast
      @HansvanderKwast  2 роки тому

      If you want the whole of Germany with Sentinel you need to use Google Earth Engine. Otherwise go for coarser images, like MODIS. The problem is not the data, but what you want to achieve and then what to use for that.

  • @kiranbhusal4672
    @kiranbhusal4672 2 роки тому

    Do we not need to apply corrections?

    • @HansvanderKwast
      @HansvanderKwast  2 роки тому

      It depends. If atmospheric conditions are homogeneous you don't need to apply atmospheric correction or convert to surface reflectance. That is because the index takes the ratio of bands.

  • @jehanshafiullah1899
    @jehanshafiullah1899 2 роки тому

    the link is not working

  • @ulaa7691
    @ulaa7691 2 роки тому

    Thank u.