Preprocess copernicus datasets to agregate data in tables before exporting


Is it possible to do this using the API? I understand that using the toolbox is, but can't find the way to do it using the API.

many thanks for your help!