%include <dqc_head.h>

echo "Task 5: DELETE - Free space"

# ROOT of all downloads
cd $CDS_DOWNLOADS_DIR

# Find and delete (only hourly files) -> we keep MONTHLY for the scientific analysis

# SEASONAL - DAILY
# find ./seasonal/seasonal-original-pressure-levels -iname *.grib -delete
# find ./seasonal/seasonal-original-single-levels -iname *.grib -delete

# REANALYSIS - DAILY
# find ./reanalysis/reanalysis-era5-single-levels -iname *.grib -delete
# find ./reanalysis/reanalysis-era5-pressure-levels -iname *.grib -delete
# find ./reanalysis/reanalysis-uerra-europe-single-levels -iname *.grib -delete
# find ./reanalysis/reanalysis-uerra-europe-pressure-levels -iname *.grib -delete
# find ./reanalysis/reanalysis-era5-land -iname *.grib -delete

%include <dqc_tail.h>