terrabrasilis / ams

AMS - Amazon Situation Room
GNU General Public License v3.0
0 stars 2 forks source link

Add DETER-R data sync #112

Closed assismauro closed 2 years ago

assismauro commented 3 years ago

To run the updates in AMS database from DETER-B and DETER-R:

python scripts/update_indicators.py

To disable the automatic sync via the portal, it's necessary to set the environment variable DETER_DAILY_UPDATE_TIME_INTERVAL equal -1.

andre-carvalho commented 2 years ago

This task is included in the "update_indicators.py" script when executing the SQL script with a sequence of instructions to copy and update data from the DETER-B and DETER-R databases.