importing the landsat 5 TM 32-day NDVI composite data set.
I have made it as far as drawing a polygon of my ROI and extracting from a different data set, a global land cover map (ESA/GLOBCOVER_L4_200901_200912_V2_3) which was linked from another question posted on here:
I tried to reconfigure it to work with my Landsat NDVI set and I was met with errors. I tried to extract just the NDVI band and try with that, but I keep getting an error:
land.clip is not a function in , line #
var landsat: Imagecollection "Landsat 5 TM 32-Day NDVI Composite" var geometry: Polygon, 4 vertices var globcover: Image "GlobCover: GLobal Land Cover Map" // Extract the landcover band var land = globcover.select('landcover'); // Clip the image to the polygon geometry var landcover_roi = land.clip(geometry); // Add a map layer of the landcover clipped to the polygon. Map.addLayer(landcover_roi);
reworking to accomodate the landsat:
// Extract the landcover band var land = landsat.select('NDVI'); // Clip the image to the polygon geometry var landcover_roi = land.clip(geometry); // Add a map layer of the landcover clipped to the polygon. Map.addLayer(landcover_roi);
This is where I get the error,
land.clip is not a function in <global> line 4.
I am attempting to draw a polygon (square) around an area on the LS5NDVI data, export the "data cube", and correlate the time NDVI values at each pixel against various climate data to produce a single layer "heat map" of sorts to visually represent the correlation at each pixel.