Skip to main content

Simple DSSAT simulator

Install

pipx install dssatsim

Goal

Takes a small set of inputs in JSON and returns DSSAT's Summary.OUT as a JSON file.

Required Set of Inputs:

{
    "farm_name": "farm_farm",
    "latitude": 42.4241716982,
    "longitude": -85.7411854356,
    "elevation": 200,
    "planting_date": "2023-05-15",
    "crop_name": "maize",
    "crop_variety": "Unknown",
    "is_irrigation_applied": "yes",
    "irrigation_application": [
        [
            "2023-05-15",
            80
        ],
        [
            "2023-05-20",
            100
        ]
    ]
}

How to use it

from dssatsim import run_dssat_exp_cli
import json

input_file = "./sample_2024-09-30.json"
output_file = "./example_output.json"

with open(input_file, 'r', encoding='utf-8') as f:
    input_data = json.load(f)

_, explanations = run_dssat_exp_cli.exec(input_data, output_file)

Limitations

  • The geographic coverage is limited to Kalamazoo County, MI, USA
  • Year of interest: only 2023
  • Crops covered: Corn and Soybeans

Acknowledgments

Metadata

Release files for dssatsim 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dssatsim 0.1.3
File Size Uploaded
dssatsim-0.1.3.tar.gz 36.6 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for dssatsim 0.1.3
File Interpreter ABI Platform
dssatsim-0.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 73.2 MB

Release files / dssatsim-0.1.3.tar.gz

Download URL dssatsim-0.1.3.tar.gz
Size 36.6 MB
Tags Source
SHA-256 checksum
How to use checksums
2f9e4438eceb6c1b49d0510b520f477c9525e18151287f7d258d98f65dd5fdb7
BLAKE2b-256 checksum
How to use checksums
b07f45fd27babc06520af651bff519e104be009431c7ac13f0148f31f27c05ab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.5 CPython/3.10.12 Linux/5.15.167.4-microsoft-standard-WSL2

Release files / dssatsim-0.1.3-py3-none-any.whl

Download URL dssatsim-0.1.3-py3-none-any.whl
Size 36.6 MB
Tags Python 3
SHA-256 checksum
How to use checksums
95e744de1462e0cfd4a5ee39a37e8d8e6cf990f848f8f769f752734a6803ca11
BLAKE2b-256 checksum
How to use checksums
5a721e47537599d5abfecd160a37794e5c4b30b3e39adeb25ce193573625e748
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.5 CPython/3.10.12 Linux/5.15.167.4-microsoft-standard-WSL2

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 release files

0.1.2

2 release files

0.1.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page