Skip to main content

No project description provided

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: dssatsim-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 0d3b1e39ed61f4deaaecb7db082293a9cab2b2863809e92eae0ad590e6ee6d70
MD5 1100443c304172ba97d55fa7b30159f0
BLAKE2b-256 99b4b9d1bbfd764d19de9f1a8497cef7d6e2b7f8a96ee9480669b5795a7f346f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dssatsim-0.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9381991badeb0bb958bcee8bb3ab0b1c40611c842165af64a07e6ad73f072049
MD5 3eb0f20a6d6b0f03e59bf99f23ebe935
BLAKE2b-256 11788ecc7a93e2218275f56e6696bf6f5e3513e78102ace5eab79162035985b8

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