| | 1 | === Things to be done === |
| | 2 | |
| | 3 | - knpa to add 2010 and 2013/14 values to web portal. |
| | 4 | - 2d graph needed. |
| | 5 | - example format of time is wrong (: vs -) |
| | 6 | - move database from knpa PC to a server |
| | 7 | |
| | 8 | === How to maintain the portal === |
| | 9 | |
| | 10 | Need to ssh onto our web server as rsgadmin: |
| | 11 | ssh rsgadmin@www |
| | 12 | |
| | 13 | The grimm files are located here: |
| | 14 | ~rsgadmin/arsf-dan.nerc.ac.uk/html/grimm |
| | 15 | |
| | 16 | Errors from the site will be logged here: |
| | 17 | ~rsgadmin/arsf-dan.nerc.ac.uk/logs/ |
| | 18 | |
| | 19 | ==== Structure/Files ==== |
| | 20 | |
| | 21 | '''index.html''' - initial page with 3 links |
| | 22 | |
| | 23 | '''cgi-bin/query_grimm_db.cgi''' - python script that queries the database and returns result |
| | 24 | |
| | 25 | '''data_list.php''' - page that houses the list of csv files that we have available |
| | 26 | |
| | 27 | '''data_search.html''' - the page that houses the search by area/time |
| | 28 | |
| | 29 | '''data/''' - contains CSV data files that are graphed and can be downloaded |
| | 30 | |
| | 31 | '''scatter.php''' - page that houses the graph and allows you to download the csv |
| | 32 | |
| | 33 | '''scripts/scatter.js''' - javascript that creates the graph |
| | 34 | |
| | 35 | '''scripts/cavasXpress.min.js''' - javascript library used by above |
| | 36 | |
| | 37 | '''templates/''' - css file for formatting the html pages |
| | 38 | |
| | 39 | '''lib/''' - contains libraries used by other scripts |
| | 40 | |
| | 41 | '''images/''' - contains images such as the NERC banner |
| | 42 | |
| | 43 | |
| | 44 | |
| | 45 | |
| | 46 | |
| | 47 | |
| | 48 | |
| | 49 | |
| | 50 | |
| | 51 | |