1

I am unable to obtain this property of image:

PRODUCT_QUALITY STRING - (Indicator) that specifies whether the product quality is degraded or not. Allowed values are "Degraded" and "Nominal".

https://code.earthengine.google.com/12d44579494aab219bdd92bb45de72b3

2
  • Are you trying to get PRODUCT_QUALITY from the image Dongguan_area? In that case, after using mean() at the beginning of the code, you lost the properties, because you are converting the collection into a single image (a mean composite). This composite does not have properties unless you set them.
    – HMSP
    Jun 18, 2021 at 11:02
  • how can i then obtain image properties for each date from 1 oct to 24 oct ?
    – No Name
    Jun 18, 2021 at 14:44

1 Answer 1

1

As I said before, you need the collection before applying mean. Then, you can convert it into a table, selecting the PRODUCT_QUALITY metadata. Now, you can check this metadata either by printing it or by exporting it into csv.

//filtering image collection without calculating the mean value
var dongguan_area = ee.ImageCollection("COPERNICUS/S5P/OFFL/L3_NO2")  //importing image collection dataset
  .filterBounds(area_dongguan)      //filtering region of interest
  .filterDate('2019-10-01','2019-10-24')     //filtering date 
  .select('NO2_column_number_density')  //selecting band
  //.mean();   //obtaining mean a/c to filters

// convert image collection into a table
var pq = ee.FeatureCollection(dongguan_area).select(['PRODUCT_QUALITY']);

// print table
print('PRODUCT QUALITY', pq);

// Export to csv
Export.table.toDrive({
  collection: pq,
  description: 'pq',
  fileFormat: 'csv'
});

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.