Skip to content
/ swimpy Public

The Soil and Water Integrated Model (SWIM) Python API.

License

Notifications You must be signed in to change notification settings

mwort/swimpy

Repository files navigation

SWIMpy

A python package to interact and test the ecohydrological model SWIM.

Quickstart

  1. Setup python environment $ virtualenv swimpyenv and activate it $ source swimpyenv/bin/activate
  2. Download and install SWIMpy: $ pip install git+https://gitlab.pik-potsdam.de/wortmann/swimpy.git
  3. Setup your project in your model directory: $ swimpy setup
  4. Check the commandline help swimpy -h, use your project in python scripts by importing swimpy and loading the project instance: project = swimpy.Project() or by starting the browser app $ swimpy browser start and navigate your browser to http://localhost:8000

Features

  • Python API
  • Documented commandline interface
  • A central project settings file
  • Easy per-project customisations and extensions
  • Record runs with parameter changes, result indicators and data files
  • Simple browser app to browse saved model runs and show plots
  • Easy parameter reading/setting and output file reading
  • Result visualisation with reusable matplotlib plot functions
  • Interface to GRASS database
  • Linking to the evoalgos multiobjective evolutionary optimization package

About

The Soil and Water Integrated Model (SWIM) Python API.

Resources

License

Stars

Watchers

Forks

Packages

No packages published