Also note that the keys() methodĭate objects are the way Earth Engine represents time. Since the type of object returned by get()Ĭould be be anything, if you're going to do anything to the object other then print it, Specifically, get(key) returns the valueĪssociated with key. Use methods on the ee.Dictionary to get values (unlike the JavaScriptĭictionary in the previous lesson). In this example, observe that once you have an ee.Dictionary, you must Print('Golden ratio:', dictionary.get('phi')) Code Editor (JavaScript) // Make a Dictionary on the server.
0 Comments
Leave a Reply. |