Thanks for sharing Masha! Writing a dataset of this size should take seconds, not hours.
@martindurant - do you have any idea what might be happening here? We have had similar reports of very slow writes with xarray → zarr → s3fs → s3, e.g.
@mlukis has provided a nice minimal reproducible example we could use for debugging this.