neon_CLBJ / scripts /_check_env.sh
johnnybwell's picture
Initial upload: NEON CLBJ sensor data
95ed1df verified
Raw
History Blame Contribute Delete
345 Bytes
#!/bin/bash
cd /home/johnnybwell/neon_CLBJ
source .venv/bin/activate
: "${NEON_API_TOKEN:?Set NEON_API_TOKEN in your environment before running this script}"
python3 scripts/download_neon_product.py --site CLBJ --product air_temperature --start 2023-01 --end 2023-12 --outdir /tmp/neon_test_out
echo "exit code: $?" > /tmp/validation_run.result