next up previous index
Next: Interactive Exploration of Opus Up: Exporting the Output Data Previous: Exporting the Output Data   Index

Deleting the File-Based Cache

The delete_run script in opus_core/tools directory provides an easy way to delete cached run data while maintaining the consistency of the services database.

To delete all data for run with run_id 42, and remove that run's information from the services database use:

python delete_run.py --run-id 42

To delete a set of years without removing the information from the services database, use the --years-to-delete option. This option takes an arbitrary Python expression that creates a list of integers. For instance, to remove the cached data for years 2001 through 2029 use:

python delete_run.py --run-id 42 --years-to-delete range(2001,2030)


next up previous index
Next: Interactive Exploration of Opus Up: Exporting the Output Data Previous: Exporting the Output Data   Index
info (at) urbansim.org