SCAN-ACIS Tools: Decision Tools for the Soil Climate Analysis Network
(in production at https://scantools.rcc-acis.org/)
To update SCAN stations:
- If there are stations that need to be removed, add them to
utils/remove_stations.json - Run
utils/updateStationDataOnWeb.pyfrom a Python 2.7 environment that has numpy installed- This script will generate a new
scan_stations.jsonfile intoutils/. Any new stations should be automatically added to it. - It will then remove from
scan_stations.jsonany stations specified inremove_stations.jsonby 'uid' - Finally, it will copy
scan_stations.jsonto thes3://scantools.rcc-acis.org/data/bucket.
- This script will generate a new
If you push an update you must either manually replace /public/data/scan_stations.json with an updated version of the file or run /utils/updateStationDataOnWeb.py after the update is complete to ensure that the stations listed are up-to-date.