How to create Aggregator for Binning?

There is a parameter outputFormat to which you can pass any valid output format. You can get the valid formats via:

manager = jpy.get_type(‘org.esa.snap.core.dataio.ProductIOPlugInManager’)
manager.getInstance().getAllProductWriterFormatStrings()

You cannot set the spatial resolution in km. The conversion is pretty simple, though. See here how it is done in SNAP Desktop: snap-desktop/snap-binning-ui/src/main/java/org/esa/snap/binning/operator/ui/BinningConfigurationPanel.java at 14ba164298c2bc7e8a5123964a676ed709f42f6a · senbox-org/snap-desktop · GitHub .