dafnifacility / dafni-example-models

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DAFNI Model Examples

This repo contains several simple examples of DAFNI ready models, useful for training or self-paced learning.

Instructions are given in each model section, but each follows the same principal steps:

  • you first make edits to the Python source code as required,
  • check the docker and requirements files,
  • create a docker container image and zip it up,
  • then upload this to DAFNI along with the yaml file.

This is explained further in the DAFNI help pages.

Note: You must also first install Docker on your computer. The open source Docker tools allow you to 'containerise' a model ready to be run on a different computer - thus you prepare the model on your computer, then run it on DAFNI. Docker has an excellent quick start online guide which you should read too.

General examples

Examples designed to show you the basics of creating a model.

Advanced examples

More complete examples using real world models.

  • uk-climate-analysis
    • A more complex example model predicting weather from UKCP09 climate projection data. Uses various visualisations to show the results.

Service examples

Examples to show how to create a service model. These models are designed to communicate with other running models

About


Languages

Language:Python 57.6%Language:Jupyter Notebook 33.5%Language:Dockerfile 5.7%Language:Shell 2.0%Language:MATLAB 1.2%