#!/bin/bash

# pixi run era5 download
# pixi run era5 enrich

# pixi run era5 spatial-agg --grid hex --level 3 --concurrent-partitions 20
# pixi run era5 spatial-agg --grid hex --level 4 --concurrent-partitions 20
# pixi run era5 spatial-agg --grid hex --level 5 --concurrent-partitions 20
# pixi run era5 spatial-agg --grid hex --level 6 --concurrent-partitions 20

# pixi run era5 spatial-agg --grid healpix --level 6 --concurrent-partitions 20
# pixi run era5 spatial-agg --grid healpix --level 7 --concurrent-partitions 20
# pixi run era5 spatial-agg --grid healpix --level 8 --concurrent-partitions 20
# pixi run era5 spatial-agg --grid healpix --level 9 --concurrent-partitions 20
# pixi run era5 spatial-agg --grid healpix --level 10 --concurrent-partitions 20

pixi run era5 compute-synopsis --grid hex --level 3
pixi run era5 compute-synopsis --grid hex --level 4
pixi run era5 compute-synopsis --grid hex --level 5
pixi run era5 compute-synopsis --grid hex --level 6

pixi run era5 compute-synopsis --grid healpix --level 6
pixi run era5 compute-synopsis --grid healpix --level 7
pixi run era5 compute-synopsis --grid healpix --level 8
pixi run era5 compute-synopsis --grid healpix --level 9
pixi run era5 compute-synopsis --grid healpix --level 10