How to calculate Indices (NDVI, NDWI, NDSI, NDBI, EVI, SAVI, etc.) in Google Earth Engine?

Поделиться
HTML-код
  • Опубликовано: 26 авг 2024

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

  • @md.shahrukhsumon7825
    @md.shahrukhsumon7825 2 года назад +1

    Please make a GEE video on Savitzky-Golay filter for MODIS data.
    Thanks a lot for your great work.

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

      Can you please give me a little context on what’s Savitzky-Golay filter?

  • @sofypuspita7715
    @sofypuspita7715 2 года назад +2

    Sir please make an atmosphere correction tutorial for Sentinel-2 level 1C data using the Google Earth engine because for my final project, I don't know who to ask anymore 🙏

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

    please if you can make tutorial about change detection within GEE

  • @ZeeshanAli-yp3wo
    @ZeeshanAli-yp3wo Год назад +1

    hi sir, can u please make a tutorial on how to extract chart for (red,green,blue,nir, and ndvi) for the region of interest.
    im stuck here to get the dataset to train the model. its a humble rrequest u to please help me asap.
    thanks in advance

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

      Chart is a different thing you can use an image chart and desired bands. Please watch my chart series videos
      As far as training a classification data is concerned. When you create a new image with bands. The sampleRegions() function will do that

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

    Hi, thanks for the collective description of various methods. I can calculate the ndvi values for a particular location using your code. However i want it to be part of my webpage, ie a place where a predifined location (as in your code) can be clicked and the ndvi values are displayed on the webpage. I think one way to do this is to use an EE App. However when i create an app it gives me the location but i could not see the ndvi values even though the App is required to calculate them. Is there a way to embed ee into my webpage to make it interactive?

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

      Hi Riaz, 2 things
      1. Send me an email and I’ll send you the code for creating javascript API based application. It will sample the ndvi band and display values
      2. you can create a custom app using GEE python API. Do all the calculations on jupyter notebook and display the map without GEE apps logo and interface, like fully customizable. You’ve to use follium as base map or any for that matter.
      The problem is that you’re doing it for a website so you have to figure a way out to install GEE Python API and authenticate it on your hosting server. Maybe set up a node server app and install gcloud, gee api on it.

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

      Another way is if you just fetch the GEE JS api layer using a geojson url(xyz tiles) and paste that in you JS code that will be very easy and quick solution to it. Embed that geojson in your code. Highly suggest this method

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

    Can you please help me in getting time series chart for these calculated values! It would be a great help

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

      Just map the ndvi expression over the image collection. Watch my map tutorial. I have received your email and if it doesn’t work we can have a short zoom meeting

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

    Could you help me for how can i calculate time series NDBi with MODIS?

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

      Sure drop me an email muddasirshah@outlook.com

  • @ezhilthalapathir.t8884
    @ezhilthalapathir.t8884 Год назад +1

    Hi, The study area is not getting covered and while exporting i am getting this error as "A mapped function's arguments cannot be used in client-side operations" can you solve this. 2. Your code link is showing 404 error. kindly help

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

      Oh that error shows when you mix a client side data types with server side. It’s easy fix. Let me give you a simple example here meanwhile share your code link through email muddasirshah@outlook.com
      So suppose you’re using a function that takes img as argument. This is a client side function meaning even if you didn’t have earth engine it will work fine in any javascript IDE.
      function x(img){
      return img.multiply(2)}
      Now when you want to map this function over an image collection it will give you that error^. Why? Because image is present on server and it is a server side object. To call it you will have to declare this img as ee.Image() now making it a server side object. The function will become something like this
      function x(img){
      return ee.Image(img).multiply(2)}
      Even the .multiply() is a server side method. In the former we tried to multiply a client side img argument with a server side method. Which will not work. In conventional JS multiplication is something like this img*2
      So that’s the difference between client and server side scripting behaviour of JS 🤷🏻
      Luckily you can go from SS to CS by adding .getInfo() and for CS to SS explained above. Please read the documentation of GEE on data types , methods and functions and difference B/W CS and SS in GEE

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

    your website is not working, i am in urgent need of the code. please help

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

      Which code? Site is down for maintenance

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

      @@MuddasirShah i need google earth engine code to calculate NDBI,NDSI,SAVI

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

      @@MuddasirShah i tried searching so many sources.
      But i cant Able to download it.. please send me the code. I will be very thankful to you

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

      @@Axoy19 website is up