Code Monkey home page Code Monkey logo

cropmapseu's Introduction

This is a setup for MONICA. 
It was made to run on ZALF HPC cluster.
It will generate setups, simulate with MONICA and generate images for certain data.

The program pipeline:

run-work-producer.py - generates environments and sends it to MONICA 
run-work-consumer.py - receives the results from MONICA and saves it into csv format
data_to_ascii.go - transforms result data into ascii grids and meta files
create_image_from_ascii.py - make images, png and pdf out of ascii grids.

To run the simulations, use Rundeck
-> HPC Cluster / Start Monica Project

After a run has finish:
- checkout git repository cropMapsEU
- adjust sbatch_go_data_to_ascii.sh with MONICA output path.
- start on cluster: 
  sbatch sbatch_go_data_to_ascii.sh


The setup:
The sub folder json_templates contains MONICA setups.
These setups are put together and changed by run-work-producer.py to provide
different environments to run simulations.
It uses 2 crop rotations - winter wheat / silage maize
and silage maize / winter wheat.
Each runs over 30 years.
Climate scenarios and CO2 values are set in run-work-producer.py code.

Other programs:

asc_mask_data_to_grid.py - used to bring maize/wheat masks into the grid format to be used by data_to_ascii.go.
management_data_to_grid.py - used to generate auto sowing and harvest dates for the crop rotation inserted by run-work-producer.py

cropmapseu's People

Contributors

sannyschulz avatar

Watchers

James Cloos avatar Michael Berg-Mohnicke avatar Xenia Specka avatar

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.