Necesito descargar fracción de cobertura vegetal de la región de Alaska. He recortado el archivo en el motor de Google Earth. Sin embargo, cuando traté de descargar el archivo a mi disco. Junto con la región de Alaska, se descarga una porción horizontal muy amplia (sin ninguna región del mundo). De todos modos, puedo descargar solo la región de Alaska, en lugar de una región más amplia.
El siguiente es el código que he probado.
// Load MODIS 44B raw imagery and filter it to 2019 to 2020 year. var collection = ee.ImageCollection("MODIS/006/MOD44B") .filterDate('2019-01-01', '2019-12-30').first().select(['Percent_Tree_Cover','Percent_NonTree_Vegetation']); // print(collection); // Reduce the collection by taking the median. // var median = collection.median(); // Load a table of state boundaries and filter. var fc = ee.FeatureCollection('TIGER/2016/States') .filter(ee.Filter.or( ee.Filter.eq('NAME', 'Alaska'))); // Clip to the output image to the Nevada and Arizona state boundaries. var clipped = collection.clipToCollection(fc); print(clipped); // Display the result. // Map.setCenter(-110, 40, 5); // var visParams = {bands: ['B3', 'B2', 'B1'], gain: [1.4, 1.4, 1.1]}; // Map.addLayer(clipped, visParams, 'clipped composite'); // print(visualization); // var outdata = clipped.select(['Percent_Tree_Cover','Percent_NonTree_Vegetation']).bandNames(); // print(outdata); // var vegetation = outdata.select('Percent_Tree_Cover').add(outdata.select('Percent_NonTree_Vegetation')) // var visualization = { // bands: ['Percent_Tree_Cover'], // min: 0.0, // max: 100.0, // palette: ['bbe029', '0a9501', '074b03'] // }; // Map.centerObject(collection); // Map.addLayer(clipped, visualization, 'Percent_NonTree_Vegetation'); Export.image.toDrive({ image: clipped, description: 'out4', scale : 2500, region: fc });