UKHAS Wiki

UK High Altitude Society

User Tools

Site Tools


guides:hourlypredictor

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
guides:hourlypredictor [2013/04/12 15:03] hixguides:hourlypredictor [2013/07/30 14:06] (current) upu
Line 1: Line 1:
-Full Documentation for the Hourly Predictor is a work in progress, There are some notes, a youtube video and CentOS Image for VMWare Player. Other Images and packages are a work in progress.+====== Hourly Predictor ======
  
-It has been tested on a Pi but it slow at downloading the GFS data (Over an hour)+We can now run hourly predictors for your launch location. Come speak to us on #habhub on IRC to get this setup.
  
-** Notes for installing from Source on CentOS 6 ** 
- 
-This has been documented for CentOS 6 at [[http://hab.yapd.net/setup.html]].  
- 
- 
-**Setting Up Your Own Hourly Predictor** 
- 
-This page will be a guide to help users set up their own hourly predictor. 
- 
-This uses a VMWare Player - you can download the player [[http://www.vmware.com/uk/products/desktop_virtualization/player/overview.html | Here]] 
- 
-VMWare player image of a standard setup on CentOS linked [[http://tn22.com/chris.stubbs/www/hourly/CentOS.7z|here]]. 
- 
-**Some useful information to customise the image and how to use the hourly** 
- 
- 
-**Default Account credentials - change to suit** 
- 
-User: **chris** 
- 
-Pass: **habhub1** 
- 
-**Root Credentials** 
- 
-User: **root** 
- 
-Pass: **habhub1** 
- 
-to Logout a currently logged in user 
- 
-**pkill -KILL -u raj** 
- 
-to Change username 
- 
-**usermod -l login-name old-name** 
- 
- 
- 
-**Locations of the cron jobs for manually running them** 
- 
-"/opt/cusf-landing-prediction/scripts/fetch-run-cronjob.sh" 
- 
-fetch-run - lauches both of these files 
- 
-"/opt/cusf-landing-prediction/scripts/hourly-predictions-cronjob.sh" 
- 
-hourly-predictions - performs the calculations 
- 
-"/opt/cusf-landing-prediction/scripts/grabdata-cronjob.sh" 
- 
-grabdata - downloads the data from NOAA servers 
- 
-"/opt/cusf-landing-prediction/web/hourly-predictions/scenario-template.json" 
- 
-The options for launch, lat/lon, alt, ascent, descent etc 
- 
-**Scheduler for the cronjobs is in /etc/cron.d/hab** 
- 
-echo "0 */3 * * * root cd /opt/cusf-landing-prediction && ./scripts/fetch-run-cronjob.sh" 
- 
-#the 0 */3 * * * part refers to the cron fetching the data at 00 mins past the hour every 3 hours, change to suit your needs 
- 
- 
- 
-**Apache Info Located in: /etc/httpd/conf/httpd.conf** 
-DocumentRoot "/opt/cusf-landing-prediction/web/hourly-predictions" 
-   
- 
-**DNS Namerserver** 
-/etc/resolv.conf 
guides/hourlypredictor.1365779030.txt.gz · Last modified: 2013/04/12 15:03 by hix

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki