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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dssatsim-0.1.3.tar.gz (36.6 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dssatsim-0.1.3-py3-none-any.whl (36.6 MB view details)

Uploaded Python 3

File details

Details for the file dssatsim-0.1.3.tar.gz.

File metadata

  • Download URL: dssatsim-0.1.3.tar.gz
  • Upload date:
  • Size: 36.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.5 CPython/3.10.12 Linux/5.15.167.4-microsoft-standard-WSL2

File hashes

Hashes for dssatsim-0.1.3.tar.gz
Algorithm Hash digest
SHA256 2f9e4438eceb6c1b49d0510b520f477c9525e18151287f7d258d98f65dd5fdb7
MD5 77036e9b4ee3c215a460252f0fee08bf
BLAKE2b-256 b07f45fd27babc06520af651bff519e104be009431c7ac13f0148f31f27c05ab

See more details on using hashes here.

File details

Details for the file dssatsim-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: dssatsim-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 36.6 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.5 CPython/3.10.12 Linux/5.15.167.4-microsoft-standard-WSL2

File hashes

Hashes for dssatsim-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 95e744de1462e0cfd4a5ee39a37e8d8e6cf990f848f8f769f752734a6803ca11
MD5 06cb51985690389d2664c8a0541368c6
BLAKE2b-256 5a721e47537599d5abfecd160a37794e5c4b30b3e39adeb25ce193573625e748

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 files

0.1.2

2 files

0.1.1

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page