Full runs of portalPredictions are computationally intensive so we run the weekly forecasts on the University of Florida's High Performance Computer, the HiPerGator.
This should only be setup by one user at a time. Currently this is Ethan White.
To set this up follow these steps:
- Copy
portalcasting_weekly.sh
into the home directory of the user under which the job will run. ssh
fromhpg2
into thedaemon2
server.- Create a cronjob by running
crontab -e
and pasting the contents ofcrontab.txt
into the resulting editor and replacingWEECOLOGYDEPLOYGITHUBPAT
with a GitHub Personal Access token that has "Repository" permissions on theweecology/portalPredictions
andweecology/forecast
repositories (e.g., theweecologydeploy
bot).
For development purposes it may be useful to set up unofficial runs that do not get archived as official forecasts.
To set this up follow these steps:
- Copy
portalcasting_weekly.sh
into the home directory of the user under which the job will run. - Change this copy of
portalcasting_weekly.sh
to use the users email address and clone theportalPredictions
repository from the users fork. - Change
archive_hipergator.sh
to push to the users fork. Optionally this change could push to a branch in the users fork instead ofmain
and remove everything below line 47 (the code for archiving toweecology/forecasts
). ssh
fromhpg2
into thedaemon2
server.- Create a cronjob by running
crontab -e
and pasting the contents ofcrontab.txt
into the resulting editor and replacingWEECOLOGYDEPLOYGITHUBPAT
with a GitHub Personal Access token that has "Repository" permissions on the users fork.