A curated list of open technology projects to sustain a stable climate, energy supply, biodiversity and natural resources.

monica

A dynamic, process-based simulation model which describes transport and bio-chemical turn-over of carbon, nitrogen and water in agro-ecosystems.
https://github.com/zalf-rpm/monica

Category: Consumption
Sub Category: Agriculture and Nutrition

Last synced: about 18 hours ago
JSON representation

Repository metadata

license

README.md

Build Status

MONICA - The Model for Nitrogen and Carbon in Agro-ecosystems

MONICA is a dynamic, process-based simulation model which describes transport and bio-chemical turn-over of carbon, nitrogen and water in agro-ecosystems. On daily time steps the most important processes in soil and plant are modelled mechanistically. They are linked in such way that feed-back relations of the single processes are reproduced as close to nature as possible. MONICA works one dimensional and represents a space of 1 m² surface area and 2 m depth.

The acronym MONICA is derived from „MOdel of Nitrogen and Carbon dynamics in Agro-ecosystems”.

Content

Download

Builds can be downloaded from the repository's releases page.

Building

In order to build MONICA one needs to have at least to clone the repositories zalf-rpm/mas-infrastructure and
zalf-rpm/monica-parameters (parameters repository for MONICA) in addition to monica itself.

After cloning the repositories you should have this file structure:

monica-master
	      |_ monica
	      |_ monica-parameters
	      |_ mas-infrastructure

Also install Python to run the minimal examples.

Windows

see https://github.com/zalf-rpm/monica/wiki/How-to-compile-MONICA-(Windows) for installation and build instructions

monica-run will execute a local MONICA with the example Hohenfinow2 in the installer directory and output its result into
installer\Hohenfinow2\out.csv.

cd monica/_cmake_win64
./monica-run -o out.csv installer/Hohenfinow2/sim-min.json

Linux

see https://github.com/zalf-rpm/monica/wiki/How-to-compile-MONICA-(Linux) for installation and build instructions.

Create a folder for the output files:
Shell:
mkdir output_csv

Assign the path to the monica-parameters directory:
Shell:
export MONICA_PARAMETERS=pwd/monica-parameters
Run the standard example and write the results into out.csv
Shell:
cd monica/_cmake_release
./monica-run -o ../../output_csv/out.csv ../installer/Hohenfinow2/sim-min.json

Usage

To run MONICA locally with the standard Hohenfinow2 example under Windows using the standard installer,
go to the c:\users\USER_PROFILE\MONICA directory and execute in a Commandshell

monica-run -o out.csv Examples/Hohenfinow2/sim-min.json

There are the following tools/versions of MONICA available.

  • libmonica ... the libmonica.dll/.so with the MONICA core functionality
  • monica-run ... the standalone MONICA commandline model (using libmonica)
  • monica-zmq-proxy ... a tool to run serverside and forward/distribute jobs (ZMQ job messages) to MONICA workers (servers)
  • monica-zmq-server ... a MONICA server accepting ZeroMQ messages and process them, usually to be used in connection with ZMQ proxy/proxies and a cloud of worker monica-zmq-servers

Installation

On Windows an NSIS installer can be created. The installer will by default install all programm code into c:\program files and
the parameters, databases and examples into c:\users\USER_PROFILE\MONICA. The MONICA install directory will be added to the
PATH environment variable as well as add it to the PYTHONPATH environment variable. So after a normal installation MONICA should be useable from the commandline.

Contributing

Contributions are welcome.

Credits: Include a section for credits in order to highlight and link to the authors of your project.

MONICA is model of the Research Platform "Data Analysis & Simulation" at the Leibniz Centre for Agricultural Landscape Research (ZALF).

Authors

  • Claas Nendel (claas (dot) nendel [at] zalf (dot) de)
  • Xenia Specka (xenia (dot) specka [at] zalf (dot) de)
  • Michael Berg-Mohnicke (michael (dot) berg [at] zalf (dot) de)

Maintainers:
Currently maintained by the authors.

License

Monica is distributed under the Mozilla Public License, v. 2.0


Owner metadata


GitHub Events

Total
Last Year

Committers metadata

Last synced: 8 days ago

Total Commits: 1,340
Total Committers: 19
Avg Commits per committer: 70.526
Development Distribution Score (DDS): 0.343

Commits in past year: 144
Committers in past year: 4
Avg Commits per committer in past year: 36.0
Development Distribution Score (DDS) in past year: 0.056

Name Email Commits
Michael Berg m****g@z****e 880
sanny 3****z 111
Claas Nendel n****l@z****e 75
zalffpmbuild r****m@z****e 70
TStella t****a@z****e 56
Xenia Specka s****a@z****e 51
Michael Berg-Mohnicke m****e@z****e 43
jv jv@z****e 17
kamaliba 3****a 14
Anne-Katrin Prescher a****r@z****e 9
Michael Schurig s****l@w****e 2
pharosso p****o@g****m 2
sanny s****y@d****e 2
Michael Berg-Mohnicke b****g@m****m 2
Michael Berg b****g@c****e 2
YJ981100 9****0 1
Colja Krugmann c****a@p****n 1
Bahareh Kamali b****i@z****e 1
palkamarlene m****a@z****e 1

Committer domains:


Issue and Pull Request metadata

Last synced: 2 days ago

Total issues: 31
Total pull requests: 1
Average time to close issues: over 1 year
Average time to close pull requests: about 3 hours
Total issue authors: 14
Total pull request authors: 1
Average comments per issue: 1.03
Average comments per pull request: 0.0
Merged pull request: 1
Bot issues: 0
Bot pull requests: 0

Past year issues: 2
Past year pull requests: 0
Past year average time to close issues: 3 months
Past year average time to close pull requests: N/A
Past year issue authors: 2
Past year pull request authors: 0
Past year average comments per issue: 1.5
Past year average comments per pull request: 0
Past year merged pull request: 0
Past year bot issues: 0
Past year bot pull requests: 0

More stats: https://issues.ecosyste.ms/repositories/lookup?url=https://github.com/zalf-rpm/monica

Top Issue Authors

  • specka (9)
  • cnendel (6)
  • uhucrew (4)
  • tierlingj (2)
  • clejae (1)
  • ciskoh (1)
  • Eric-the-Geric (1)
  • baranpirincal (1)
  • jvail (1)
  • TStella (1)
  • mishagrol (1)
  • bergm (1)
  • ghost (1)
  • sannyschulz (1)

Top Pull Request Authors

  • Coljak (1)

Top Issue Labels

  • enhancement (5)
  • bug (1)
  • question (1)
  • duplicate (1)

Top Pull Request Labels


Dependencies

.github/workflows/docker-image.yml actions
  • actions/checkout v3 composite
Dockerfile docker
  • debian 10.3 build
.github/workflows/on-tag.yml actions
  • actions/checkout v3 composite
  • docker/build-push-action v4 composite
  • docker/login-action v2 composite
  • docker/setup-buildx-action v2 composite
  • microsoft/setup-msbuild v1.1 composite
.github/workflows/windows_build_install_package.yml actions
  • actions/checkout v3 composite
  • microsoft/setup-msbuild v1.1 composite

Score: 6.499787040655853