Commit a6f19f8d authored by Eric Duminil's avatar Eric Duminil
Browse files

Basic Makefile

parent 036ebebb
START_MONTH=1995-01
END_MONTH=2026-08
help: ## Show this help.
@egrep -h '(\s##\s|^##\s)' $(MAKEFILE_LIST) | egrep -v '^--' | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[32m %-35s\033[0m %s\n", $$1, $$2}'
transpose: ## Download and transpose
uv run python -m hostrada_transpose.build_archive \
--start ${START_MONTH} --end ${END_MONTH} \
--variables tas,rsds \
--raw-cache-dir ./raw_cache --archive-path ./hostrada_coarse.zarr \
> build_archive_full30y.log 2>&1
resume: ## Resume already started transpose
uv run python -m hostrada_transpose.build_archive \
--start ${START_MONTH} --end ${END_MONTH} \
--variables tas,rsds \
--raw-cache-dir ./raw_cache --archive-path ./hostrada_coarse.zarr \
--resume \
>> build_archive_full30y.log 2>&1
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment