Git Product home page Git Product logo

et_dss_hist's Introduction

SIMAGRI Agricultural Simulator

Built using Docker, Python 3.8, Dash Plotly, and DSSAT (https://dssat.net/), How to compile DSSAT on Linux (https://dssat.net/210/).

Three versions of SIMAGRI have been developed for the following countries:

  • Ethiopia
  • Senegal
  • Colombia

For each country SIMAGRI enables crop simulation either based on historical weather data or as a forecast.

SIMAGRI Ethiopia: http://simagri-ethiopia1.iri.columbia.edu/historical

Instructions to run SIMAGRI locally:

  1. Install Docker. The installer can be found here: [WIN] [OSX] [LINUX].

  2. Clone this repo:

git clone [email protected]:Agro-Climate/ET_DSS_hist.git

cd ET_DSS_hist

git checkout ET_DSS_hist_Linux


Due to the similarities of the different localizations of SIMAGRI the app is structured so files unique to each country are stored in apps/<country>

Steps 3-5 will allow building Docker images for each country and running them as Docker containers


  1. Build a Docker image for desired country:

docker build -f ./apps/<country>/Dockerfile -t simagri_<country>_img:latest .

  1. Run a Docker container for desired country:

docker run --name=simagri_<country> -e PYTHONUNBUFFERED=1 --rm -dp <port>:5000 simagri_<country>_img:latest

After running this command the app may be viewed at localhost:<port> (when deploying to production on a server port 80 should be used)

The following command may also be used to allow tracking of the command line output of the docker container:

docker logs --follow simagri_<country>

  1. Kill a running container and clear unused resources (optional):

docker kill simagri_<country>

docker image prune -af

et_dss_hist's People

Contributors

agro-climate avatar kkumshayev avatar

Stargazers

 avatar

Watchers

James Cloos avatar Igor Y. Khomyakov avatar Jeff Turmelle avatar  avatar

Forkers

eusojk

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.