// Specify a location and date range of interestvarpoint=ee.Geometry.Point(-76.147,43.046);// Create a point in the City of Syracusevarstart=ee.Date('2014-06-01');//Define a start date for filtervarend=ee.Date('2014-10-01');//Define a end date for filter// Filtering and Sorting an ImageCollectionvarfilteredCollection=ee.ImageCollection('LANDSAT/LC8_L1T')//import all Landsat 8 scenes.filterBounds(point)//filter all scenes using point geometry from above (i.e. limit to Syracuse).filterDate(start,end)//filter all scenes using the dates defined aboveprint(filteredCollection);varfirst=filteredCollection.first();//select the first image in the filtered image collectionprint(first);//Based on the sort above, the first image here has the lowest cloud cover// Load a Landsat 8 ImageCollection for a single path-row.varcollection=ee.ImageCollection('LANDSAT/LC08/C01/T1_TOA').filter(ee.Filter.eq('WRS_PATH',15))//Limit images to those in the path/row over Syracuse.filter(ee.Filter.eq('WRS_ROW',30)).filterDate('2014-01-01','2015-01-01');//filter by a start and end date of interestprint('Collection:',collection);// Convert the collection to a list and get the number of images.varsize=collection.toList(100).length();print('Numberofimages:',size);// Get the number of images.varcount=collection.size();print('Count:',count);// Get statistics for a property of the images in the collection.varsunStats=collection.aggregate_stats('SUN_ELEVATION');print('Sunelevationstatistics:',sunStats);// Sort by a cloud cover property, get the least cloudy image.varimage=ee.Image(collection.sort('CLOUD_COVER').first());print('Leastcloudyimage:',image);// Limit the collection to the 10 most recent images.varrecent=collection.sort('system:time_start',false).limit(10);print('Recentimages:',recent);