Forecast plotting: Difference between revisions

From gfi
(Created page with "== Creating own forecast visualisations == Both the forecast plotting script and the website creation script is based on python. The plotting script uses dynlib, the webs...")
 
No edit summary
Line 1: Line 1:
== Creating own forecast visualisations ==
Both the forecast plotting script and the website creation script is based on python. The plotting script uses [[dynlib]], the website creating script uses [https://www.djangoproject.com django] the same library that also drives [https://plikt.gfi.uib.no plikt.org].


Both the forecast plotting script and the website creation script is based on python. The plotting script uses [[dynlib]], the website creating script uses [https://www.djangoproject.com django] the same library that also drives [https://plikt.gfi.uib.no plikt.org].
== Preparations ==
 
=== Prepare dynlib ===
 
To get started, make sure you have followed the procedures to setup dynlib. Use the [[dynlib#Use_the_centrally_installed_dynlib|Guide to use the centrally installed dynlib]]. If you want to start developing own diagnostics, follow also the [[dynlib#Quick_start_to_developing_with_dynlib|Quick start to developing with dynlib]].
 
=== Obtain the example scripts ===


=== Preparations ===
Example scripts as well as the actual forecast scripts currently used are available in a tar archive:
<code>/Data/gfi/users/csp001/forecast_plotting.tar.bz2</code>. In that archive there are three folders called <code>examples</code>, <code>production</code> and <code>website</code>.
# <code>examples</code> contains a thoroughly documented plot script and the necessary settings file that sets up the right paths and file name structure used for the forecasts.
# <code>production</code> contains the currently used plot script, and the settings file contains also the colormaps developed by Franziska Menzel.
# <code>website</code> contains the script and the template file used to create web pages fitting to the plots.


To get started, make sure you have followed one of the procedures to setup dynlib. Either use the [[dynlib#Use_the_centrally_installed_dynlib|Guide to use the centrally installed dynlib]], or if you want to start developing own diagnostics, use the [[dynlib#Quick_start_to_developing_with_dynlib|Quick start to developing with dynlib]].
== Plotconf options ==

Revision as of 20:56, 5 June 2014

Both the forecast plotting script and the website creation script is based on python. The plotting script uses dynlib, the website creating script uses django the same library that also drives plikt.org.

Preparations

Prepare dynlib

To get started, make sure you have followed the procedures to setup dynlib. Use the Guide to use the centrally installed dynlib. If you want to start developing own diagnostics, follow also the Quick start to developing with dynlib.

Obtain the example scripts

Example scripts as well as the actual forecast scripts currently used are available in a tar archive: /Data/gfi/users/csp001/forecast_plotting.tar.bz2. In that archive there are three folders called examples, production and website.

  1. examples contains a thoroughly documented plot script and the necessary settings file that sets up the right paths and file name structure used for the forecasts.
  2. production contains the currently used plot script, and the settings file contains also the colormaps developed by Franziska Menzel.
  3. website contains the script and the template file used to create web pages fitting to the plots.

Plotconf options