#!/bin/bash

# pixi run alpha-earth download --grid hex --level 3
# pixi run alpha-earth download --grid hex --level 4
# pixi run alpha-earth download --grid hex --level 5
# pixi run alpha-earth download --grid hex --level 6
# pixi run alpha-earth download --grid healpix --level 6
# pixi run alpha-earth download --grid healpix --level 7
# pixi run alpha-earth download --grid healpix --level 8
# pixi run alpha-earth download --grid healpix --level 9
# pixi run alpha-earth download --grid healpix --level 10

pixi run alpha-earth combine-to-zarr --grid hex --level 3
pixi run alpha-earth combine-to-zarr --grid hex --level 4
pixi run alpha-earth combine-to-zarr --grid hex --level 5
# pixi run alpha-earth combine-to-zarr --grid hex --level 6
pixi run alpha-earth combine-to-zarr --grid healpix --level 6
pixi run alpha-earth combine-to-zarr --grid healpix --level 7
pixi run alpha-earth combine-to-zarr --grid healpix --level 8
pixi run alpha-earth combine-to-zarr --grid healpix --level 9
# pixi run alpha-earth combine-to-zarr --grid healpix --level 10

pixi run alpha-earth compute-synopsis --grid hex --level 3
pixi run alpha-earth compute-synopsis --grid hex --level 4
pixi run alpha-earth compute-synopsis --grid hex --level 5
pixi run alpha-earth compute-synopsis --grid hex --level 6
pixi run alpha-earth compute-synopsis --grid healpix --level 6
pixi run alpha-earth compute-synopsis --grid healpix --level 7
pixi run alpha-earth compute-synopsis --grid healpix --level 8
pixi run alpha-earth compute-synopsis --grid healpix --level 9
pixi run alpha-earth compute-synopsis --grid healpix --level 10
