Calculate NDVI from Sentinel 2 and reclassify in QGIS

แชร์
ฝัง
  • เผยแพร่เมื่อ 14 ธ.ค. 2024

ความคิดเห็น • 44

  • @Corie3269
    @Corie3269 2 ปีที่แล้ว +1

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

  • @JC-gp6bd
    @JC-gp6bd ปีที่แล้ว +4

    There isnt a Sentinel option anymore, any idea why?

  • @dianaswidler4253
    @dianaswidler4253 2 ปีที่แล้ว +1

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

  • @chickentime8258
    @chickentime8258 4 หลายเดือนก่อน +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!!

  • @tegarnalle6888
    @tegarnalle6888 3 ปีที่แล้ว

    How to classify and put the scale range for mangrove vegetation

  • @anjaneyahk4251
    @anjaneyahk4251 3 หลายเดือนก่อน

    Thank you Sir for very informative video.

  • @elizavetakostromina7459
    @elizavetakostromina7459 2 ปีที่แล้ว

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

  • @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.

  • @WilliamBelini
    @WilliamBelini ปีที่แล้ว

    Can determine the area by color in hectares?

  • @brilianfifarsyah1780
    @brilianfifarsyah1780 2 หลายเดือนก่อน

    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  2 หลายเดือนก่อน

      Maybe it should be 0.1 instead of 0,1?

    • @brilianfifarsyah1780
      @brilianfifarsyah1780 2 หลายเดือนก่อน

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

  • @megan4399
    @megan4399 4 หลายเดือนก่อน

    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  4 หลายเดือนก่อน

      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.

  • @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

  • @jehanshafiullah1899
    @jehanshafiullah1899 2 ปีที่แล้ว

    the link is not working

  • @megan4399
    @megan4399 4 หลายเดือนก่อน

    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  4 หลายเดือนก่อน

      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 4 หลายเดือนก่อน

      @@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  4 หลายเดือนก่อน

      @@megan4399 Clouds?

  • @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: th-cam.com/video/MinaylWMa3Q/w-d-xo.html

  • @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.

  • @megan4399
    @megan4399 4 หลายเดือนก่อน

    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  4 หลายเดือนก่อน

      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.

  • @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.

  • @mahsa.k96
    @mahsa.k96 ปีที่แล้ว

    thanks a lot , very useful and clear

  • @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.

  • @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

  • @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.

  • @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.

  • @FarmitronPvtLtd
    @FarmitronPvtLtd 2 ปีที่แล้ว +1

    Very good video

  • @azzeddinereghais7494
    @azzeddinereghais7494 3 ปีที่แล้ว

    A lot thanks, Regards for you Sir

  • @ulaa7691
    @ulaa7691 2 ปีที่แล้ว

    Thank u.