I am trying to export a csv of daily mean cloud cover in the Netherlands according to S5P data. I have calculated the mean cloud fraction, but the exported csv shows many, many rows - none of them are cloud_fraction (image below). What am I missing?
// 1. Setup
var countries = ee.FeatureCollection("FAO/GAUL/2015/level0");
var NL = countries.filterMetadata('ADM0_NAME', 'equals', 'Netherlands');
var start_period = ee.Date('2018-07-01');
var end_period = ee.Date(new Date().getTime());
var clouds = ee.ImageCollection('COPERNICUS/S5P/OFFL/L3_CLOUD')
.select('cloud_fraction')
.filterDate(start_period, end_period);
var cloudNL=clouds.map(function(im){
return im.clip(NL)//.resample('bilinear').reproject('EPSG:4326', null, 2000);
});
// 2. Mean cloud cover dictionary for entire collection
var cloudlist = cloudNL.map(function(image){
var meandict = image.select('cloud_fraction').reduceRegion({
reducer: ee.Reducer.mean(),
geometry: NL
})
return image.set(meandict);
});
Export.table.toDrive(cloudlist.sort('cloud_fraction'), 'NL_mean_cloud_fraction');