Overview
Teaching: min Exercises: minQuestions
Objectives
Google Earth Engine is a cloud-base geoprocessing platform. This platform, built to tackle global environmental challenges, features terabytes of geodata housed in the cloud on which users can performed advanced computation through time and space. Think GLOBAL BIG DATA at your fingertips.
Use the following link to access the Google Earth Engine Javascript API:
https://code.earthengine.google.com/
In the API window, follow along and try to find all of these useful elements. This short tour should help you get oriented to the API.
The coding console aka Playground! Try it by typing
// I love donuts.
This is how you write comments. This code won’t do anything, it is just there for you to write programmer-readable explanations and annotations. Now go to the top and click “Run”. Your code will run -even though it is basically empty.
Change the comment to read:
// GeoHack Week Demo Script
Now click “Save”. You can tell when a script hasn’t been saved because it will have a * next to the title. Now that you have saved the script, click “Get Link”. If you look at your browser, you will see a new unique URL gets generated. You can copy this link and use it to share scripts with anyone else who is a Trusted Tester.
There is an even easier-to-use access point called the Graphical User Interface. It is all just clicking buttons, but has very limited functionality. You could also call into Google using Python, but there isn’t so much a developed API for Python (yet). The Python API is very powerful and allows users (perhaps) more knobs to turn, but this API is great if you want to the ease of a developed API combined with the existing robust User Guide and Help Forum, most of which is geared towards JavaScript users.
Key Points