cusf-standalone-predictor/README.markdown

30 wiersze
1.5 KiB
Markdown
Czysty Zwykły widok Historia

2010-06-14 12:05:11 +00:00
# CUSF Standalone Predictor - Version 2
2010-05-27 23:20:49 +00:00
2010-06-14 12:05:11 +00:00
Working on improving the Cambridge University Spaceflight landing predictor, a web-based tool for predicting the flight path and landing location of latex balloons.
2010-05-27 23:20:49 +00:00
## Install
2010-06-14 12:07:12 +00:00
The source for the predictor itself is in `pred_src/` and instructions for building it can be found there.
2010-05-27 23:20:49 +00:00
2010-06-14 12:07:12 +00:00
The `predict/preds/` and `gfs/` directories need 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.
2010-05-29 17:58:06 +00:00
2010-06-11 13:10:41 +00:00
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.
2010-05-28 23:12:07 +00:00
2010-06-14 12:05:11 +00:00
There are useful configuration options in `predict/includes/config.inc.php`.
2010-05-28 23:12:07 +00:00
## Information
2010-06-14 12:05:11 +00:00
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.
2010-05-28 23:12:07 +00:00
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.
2010-06-14 12:07:12 +00:00
## Credits & Acknowledgments
2010-05-27 23:20:49 +00:00
Credit as detailed in individual files, but notably:
2010-05-27 23:24:00 +00:00
* Rich Wareham - The new predictor and the hourly predictor system
2010-05-28 23:12:07 +00:00
* Fergus Noble, Ed Moore and many others
2010-05-27 23:20:49 +00:00
Jon Sowman 2010
[http://www.hexoc.com](http://www.hexoc.com)
2010-05-27 23:23:33 +00:00
[jon@hexoc.com](mailto:jon@hexoc.com)