Skip to main content

Simple saptiotemporal DSSAT simulator

Project description

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

Project details


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.2.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.2-py3-none-any.whl (36.6 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dssatsim-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 683908cb3049effff2aab318f68be0c256c74048665ff1cde6c47d500c62cfd4
MD5 6beb2c2e2e4a57a6f7e4bf32c286be2c
BLAKE2b-256 0bd6711172eb246175d71a814a3daf2355f9890f3bc8fb4bd055042e10fdccea

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dssatsim-0.1.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ce7e86a21cc7d91c82b927c7cecd3c43fa0b881cad32a5c1614c1be7bf446118
MD5 558096b3aa16651d3ef668a03e43ea6a
BLAKE2b-256 f8f0d6ddca5b981a24fa8cbb6080bd8fabcebc2b9bc7eb0157a12cbd7666dd54

See more details on using hashes here.

Supported by

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