More info in README

pull/73/head
jonsowman 2010-06-14 13:05:11 +01:00
rodzic c07d3d8b54
commit 069d110438
1 zmienionych plików z 7 dodań i 5 usunięć

Wyświetl plik

@ -1,18 +1,20 @@
# CUSF standalone predictor
# CUSF Standalone Predictor - Version 2
Working on improving the Cambridge University Spaceflight landing predictor, used for predicting the flight path and landing location of latex balloons.
Working on improving the Cambridge University Spaceflight landing predictor, a web-based tool for predicting the flight path and landing location of latex balloons.
## Install
The source for the prediction software itself is in `pred_src` and instructions for building it can be found there.
The source for the predictor itself is in `pred_src` and instructions for building it can be found there.
The `predict/preds/` directory needs to have rwx access by the PHP interpreter and the `predict.py` python script. You will need to install the following python packages: pydap, numpy, json, simple-json.
The `predict/preds/` and `gfs` directories needs to have rwx access by the PHP interpreter and the `predict.py` python script. You will need to install the following python packages: pydap, numpy, json, simple-json. We use `at` to automatically background the predictor, so you will need that installed.
Other than that, just clone this repo to a non web-accessible folder and create symlinks to the `predict/` and `hourly-predictions/` directories in the repo.
There are useful configuration options in `predict/includes/config.inc.php`.
## Information
A cronjob should be run to delete directories in the `preds/` directory after a given number of days, perhaps 7 or 10.
A cronjob should be run to delete directories in the `preds/` directory after a given number of days, probably 7. Predictions older than 7 days are useless anyway.
The directory names are UUIDs comprised of an SHA1 hash of the launch parameters, and re-running predictions will overwrite data in the existing directory, rather than create a new one.