Welcome to PyCropML Documentation¶
Contents¶
What is PyCropML?¶
What is CropML ?¶
Objectives¶
Our main objectives are:
- define a declarative language to describe either an atomic model or a composition of models
- add semantic dimension to CropML language by annotation of the models to allow the composition of components of different platforms by using the standards of the semantic web
- develop a library to allow the transformation and the exchange of CropML model between different Crop modelling and simulation platform
- provide a web repository enabling registration, search and discovery of CropML Models
- facilitate Agricultural Model Exchange Initiative
Motivation¶
CropML Description¶
Formal definition of a Model Unit in CropML¶

ModelUnit element¶
Description element¶
This element gives the general information on the model and is composed by a set of character elements. It must contain Title, Authors, Institution and abstract elements and may optionally contain URI and Reference elements.
Inputs elements¶
Outputs element¶
The outputs of Model are listed inside an XML element called Outputs within a dictionary structure composed by their attributes which declarations are optional(variabletype and URI) or required(name, datatype, description, unit, max and min ) and their corresponding value Outputs must contain zero or more output element. The definition of different attributes is same as Input’s attributes.
Algorithm element¶
Parametersets element¶
Testsets element¶
Formal definition of a Model Composition in CropML¶
The structure of a Model Unit in CropML must be conform to a specific Document Type Definition named ModelComposition.dtd .
PyCropML User Guide¶
Version: | 0.0.2 |
---|---|
Release: | 0.0.2 |
Date: | Apr 10, 2018 |
This reference manual details functions, modules, and objects included in OpenAlea.Core, describing what they are and what they do. For a complete reference guide, see core_reference.
Warning
This “Reference Guide” is still very much in progress. Many aspects of OpenAlea.Core are not covered.
src¶
pycropml package¶
Submodules¶
pycropml.algorithm module¶
pycropml.checking module¶
-
class
pycropml.checking.
Test
(name)[source]¶ Bases:
pycropml.checking.Testset
pycropml.description module¶
pycropml.inout module¶
-
class
pycropml.inout.
Input
(kwds)[source]¶ Bases:
pycropml.inout.InputOutput
-
class
pycropml.inout.
Output
(kwds)[source]¶ Bases:
pycropml.inout.InputOutput
pycropml.modelunit module¶
-
class
pycropml.modelunit.
ModelUnit
(kwds)[source]¶ Bases:
pycropml.modelunit.ModelDefinition
Formal description of a Model Unit.
pycropml.parameterset module¶
pycropml.pparse module¶
License, Header
-
class
pycropml.pparse.
ModelParser
[source]¶ Bases:
pycropml.pparse.Parser
Read an XML file and transform it in our object model.
pycropml.render_notebook module¶
pycropml.render_python module¶
pycropml.version module¶
Maintain version for this package. Do not edit this file, use ‘version’ section of config.
-
pycropml.version.
MAJOR
= 0¶ (int) Version major component.
-
pycropml.version.
MINOR
= 0¶ (int) Version minor component.
-
pycropml.version.
POST
= 2¶ (int) Version post or bugfix component.
Module contents¶
Usecases¶
Licence¶
PyCropML is released under a MIT License.
Glossary¶
Terminology
- Model
- Simplified representation of the crop system within specific objectives.
Credits¶
1. Development Lead
- Cyrille Ahmed Midingoyi, <cyrille.midingoyi@inra.fr>
- Christophe Pradal, <christophe.pradal@cirad.fr>
2. Contributors
None yet. Why not be the first?