GEE: Having trouble creating cloud free imagery and applying NDVI calculation to NAIP, Sentinel 2, and L8...

Can the Witch Sight warlock invocation see through the Mirror Image spell?

ESPP--any reason not to go all in?

Strange opamp's output impedance in spice

Do Paladin Auras of Differing Oaths Stack?

Why restrict private health insurance?

Are all players supposed to be able to see each others' character sheets?

How should I solve this integral with changing parameters?

Smooth vector fields on a surface modulo diffeomorphisms

Which country has more?

Does an unused member variable take up memory?

Is there stress on two letters on the word стоят

Giving a career talk in my old university, how prominently should I tell students my salary?

Did Amazon pay $0 in taxes last year?

What is the purpose of a disclaimer like "this is not legal advice"?

Locked Away- What am I?

How to educate team mate to take screenshots for bugs with out unwanted stuff

Is "cogitate" used appropriately in "I cogitate that success relies on hard work"?

What do you call someone who likes to pick fights?

How can a demon take control of a human body during REM sleep?

Has a sovereign Communist government ever run, and conceded loss, on a fair election?

Professor forcing me to attend a conference, I can't afford even with 50% funding

Difference between `nmap local-IP-address` and `nmap localhost`

How do you make a gun that shoots melee weapons and/or swords?

Too soon for a plot twist?



GEE: Having trouble creating cloud free imagery and applying NDVI calculation to NAIP, Sentinel 2, and L8 collections














0















I'm trying to get cloud and shadow-free (or as close to cloud free) scenes for Landsat 8, NAIP, and Sentinel 2 (specifically sentinel 2 10 meter resolution), and then apply the NDVI calculation to each set.



After that, I'd like to look at those values within specific polygon geometries I've created, but that's a separate thing I'd like to try on my own first!



I'm fairly new to GEE, and though I've watched the tutorials I still have some trouble with basic things it seems. Any help would be much appreciated!



Here is just the portion I have so far for Landsat 8, though it's not running error-free.



// add three imagery layers to neighborhoods and filter date
var l8filtered = landsat8.filterDate('2016-10-01', '2016-10-31');
.sort('CLOUD_COVER');
.first());

// send to console/add to map
print(l8filtered, "l8 filter")
Map.addLayer(l8filtered,{},"L8")

//create NDVI image
var l8_ndvi = l8filtered.normalizedDifference(['B5','B4']);
Map.addLayer(l8_ndvi,{min:-0.2, max:0.5, palette:['FFFFFF', '339900']},'L8 NDVI');








share







New contributor




Chris is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

























    0















    I'm trying to get cloud and shadow-free (or as close to cloud free) scenes for Landsat 8, NAIP, and Sentinel 2 (specifically sentinel 2 10 meter resolution), and then apply the NDVI calculation to each set.



    After that, I'd like to look at those values within specific polygon geometries I've created, but that's a separate thing I'd like to try on my own first!



    I'm fairly new to GEE, and though I've watched the tutorials I still have some trouble with basic things it seems. Any help would be much appreciated!



    Here is just the portion I have so far for Landsat 8, though it's not running error-free.



    // add three imagery layers to neighborhoods and filter date
    var l8filtered = landsat8.filterDate('2016-10-01', '2016-10-31');
    .sort('CLOUD_COVER');
    .first());

    // send to console/add to map
    print(l8filtered, "l8 filter")
    Map.addLayer(l8filtered,{},"L8")

    //create NDVI image
    var l8_ndvi = l8filtered.normalizedDifference(['B5','B4']);
    Map.addLayer(l8_ndvi,{min:-0.2, max:0.5, palette:['FFFFFF', '339900']},'L8 NDVI');








    share







    New contributor




    Chris is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.























      0












      0








      0








      I'm trying to get cloud and shadow-free (or as close to cloud free) scenes for Landsat 8, NAIP, and Sentinel 2 (specifically sentinel 2 10 meter resolution), and then apply the NDVI calculation to each set.



      After that, I'd like to look at those values within specific polygon geometries I've created, but that's a separate thing I'd like to try on my own first!



      I'm fairly new to GEE, and though I've watched the tutorials I still have some trouble with basic things it seems. Any help would be much appreciated!



      Here is just the portion I have so far for Landsat 8, though it's not running error-free.



      // add three imagery layers to neighborhoods and filter date
      var l8filtered = landsat8.filterDate('2016-10-01', '2016-10-31');
      .sort('CLOUD_COVER');
      .first());

      // send to console/add to map
      print(l8filtered, "l8 filter")
      Map.addLayer(l8filtered,{},"L8")

      //create NDVI image
      var l8_ndvi = l8filtered.normalizedDifference(['B5','B4']);
      Map.addLayer(l8_ndvi,{min:-0.2, max:0.5, palette:['FFFFFF', '339900']},'L8 NDVI');








      share







      New contributor




      Chris is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.












      I'm trying to get cloud and shadow-free (or as close to cloud free) scenes for Landsat 8, NAIP, and Sentinel 2 (specifically sentinel 2 10 meter resolution), and then apply the NDVI calculation to each set.



      After that, I'd like to look at those values within specific polygon geometries I've created, but that's a separate thing I'd like to try on my own first!



      I'm fairly new to GEE, and though I've watched the tutorials I still have some trouble with basic things it seems. Any help would be much appreciated!



      Here is just the portion I have so far for Landsat 8, though it's not running error-free.



      // add three imagery layers to neighborhoods and filter date
      var l8filtered = landsat8.filterDate('2016-10-01', '2016-10-31');
      .sort('CLOUD_COVER');
      .first());

      // send to console/add to map
      print(l8filtered, "l8 filter")
      Map.addLayer(l8filtered,{},"L8")

      //create NDVI image
      var l8_ndvi = l8filtered.normalizedDifference(['B5','B4']);
      Map.addLayer(l8_ndvi,{min:-0.2, max:0.5, palette:['FFFFFF', '339900']},'L8 NDVI');






      google-earth-engine





      share







      New contributor




      Chris is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.










      share







      New contributor




      Chris is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.








      share



      share






      New contributor




      Chris is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked 2 mins ago









      ChrisChris

      11




      11




      New contributor




      Chris is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      Chris is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      Chris is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          0






          active

          oldest

          votes











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "79"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });






          Chris is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgis.stackexchange.com%2fquestions%2f314955%2fgee-having-trouble-creating-cloud-free-imagery-and-applying-ndvi-calculation-to%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          Chris is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          Chris is a new contributor. Be nice, and check out our Code of Conduct.













          Chris is a new contributor. Be nice, and check out our Code of Conduct.












          Chris is a new contributor. Be nice, and check out our Code of Conduct.
















          Thanks for contributing an answer to Geographic Information Systems Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgis.stackexchange.com%2fquestions%2f314955%2fgee-having-trouble-creating-cloud-free-imagery-and-applying-ndvi-calculation-to%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Щит и меч (фильм) Содержание Названия серий | Сюжет |...

          is 'sed' thread safeWhat should someone know about using Python scripts in the shell?Nexenta bash script uses...

          Meter-Bus Содержание Параметры шины | Стандартизация |...