Git Product home page Git Product logo

arpa-simc / criteria1d Goto Github PK

View Code? Open in Web Editor NEW
13.0 9.0 1.0 84.51 MB

CRITERIA 1D is a one-dimensional agro-hydrological model. It includes soil water fluxes, crop development and crop water needs, a GIS interface (CRITERIA GEO) for geographical simulations and tools to manage crop and soil parameters. The software is written in C++ using Qt libraries, so cross-platform building is possible (Windows, Linux, MacOS)

License: GNU General Public License v3.0

C++ 93.81% QMake 0.81% C 5.08% Shell 0.19% Batchfile 0.08% Prolog 0.03%
soil crop water crop-development water-balance soil-water-balance irrigation irrigation-water-needs irrigation-forecast agro-meteorological

criteria1d's Introduction

Build Status Build Status Build Status Build Status Build Status Build Status

CRITERIA1D / GEO

CRITERIA-1D is an agro-hydrological model that simulates one-dimensional water flow in variable saturation soils, crop development, root water extraction and irrigation water needs.

Soil water flow can be simulated with two different approaches depending on the user's choice: a physically based numerical model or a layer-based conceptual model. Soil and crop parameters can be defined at different levels of detail. It requires daily agro-meteorological data as input: minimum and maximum air temperature, total precipitation and, if available, water table depth data to estimate capillary rise.

CRITERIA-GEO is a GIS interface for managing geo-referenced model projects, it requires a crop map, a soil map and a meteorological grid. Each computation unit is defined as a different combination of crop, soil and meteo. The output is stored in a SQLite database and can be exported to csv, shapefile or raster data using the CriteriaOutput tool. Software is written in C++ using Qt libraries, so cross-platform building is possible (Windows, Linux, Mac OS).

See technical manual for documentation and last release to download precompiled binaries.

CRITERIA is operational at Arpae Emilia-Romagna. It has been used in several international projects (Demeter, Ensembles, Vintage, Moses, Clara, Highlander, ADA) and it is reported in the International Soil Modeling Consortium.

Criteria1D API is a project of VAIMEE to integrate the model into the most diverse applications, such as in ZENTRA cloud.

BIBLIOGRAPHY

CRITERIA1D_PRO

CRITERIA1D_PRO is a graphical interface to manage a Criteria-1D project, modify the crop parameters, test the model and the main outputs: leaf area index, evaporation and transpiration, root depth and root density, soil moisture and irrigation water needs.

CRITERIA GEO

CRITERIA-GEO is a GIS interface for managing geographical input/output of CRITERIA-1D model: crop map, soil map, meteorological grid and computation units map. A computation unit is defined as a different combination of crop, soil and meteo data.

SOIL_EDITOR

Soil editor is a tool to edit the soil properties. It uses a modified Van Genuchten - Mualem model to estimate the water retention and hydraulic conductivity curves.

HEAT1D

HEAT1D is a graphical interface for testing the soilFluxex3D library in a 1D domain. Users can set fixed or variable atmospheric boundary conditions and soil parameters. Output graph results include soil temperature, soil water content, heat fluxes (diffusive and latent), liquid (isothermal and thermal) and vapor (isothermal and thermal) water fluxes.

How to compile the CRITERIA-1D/GEO distribution

Requirements:

  • Qt libraries: Qt 5.x or following (download also QtCharts).
  • Only for Qt 6.x : download also Qt5 Compatibility Module

Only for CRITERIA GEO:

Windows installation: download and install NetCDF 4.x (32 or 64 bit version, depending on your compiler), then set the system variable NC4_INSTALL_DIR = NetCDF installation path (e.g C:\Program Files\netCDF 4.7.1)

See gdalHandler for GDAL installation.

Build

  • LINUX: deploy/CRITERIA1D_build_Linux.sh
  • MACOS: deploy/CRITERIA1D_build_MacOS.sh
  • WINDOWS (Visual Studio c++ compiler): deploy/CRITERIA1D_build_MSVC_bat
  • WINDOWS (MinGW c++ compiler): deploy/CRITERIA1D_build_MinGW_bat

The distribution will be created in the directory /deploy/CRITERIA1D/

Warnings

  • For LINUX and MACOS: modify QT_DIR in the first line of the script.
  • For WINDOWS: read the information in the first lines of the script file.

License

CRITERIA-1D has been developed under contract issued by ARPAE Hydro-Meteo-Climate Service, Emilia-Romagna, Italy.

The executables (CRITERIA1D, CRITERIA_GEO, SOIL_EDITOR, HEAT1D) are released under the GNU GPL license, the libraries (agrolib) are released under the GNU LGPL license.

Contacts

criteria1d's People

Contributors

brancomat avatar cate-to avatar edigiacomo avatar efthyc avatar ftomei avatar gantolini avatar giadasan avatar lauracosta avatar raptorswing avatar voltantonio avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

warfarecode

criteria1d's Issues

upload appImage

Upload delle 6 appImage generate dal build ubuntu, come fatto per PRAGA.

driver MYSQL

il pacchetto installato non trova il driver per mysql
QSqlDatabase: QMYSQL driver not loaded
QSqlDatabase: available drivers: QSQLITE
Connection with database fail.

Output folder creation when isSeasonalForecast = false

An error is raised if the output directory is not present and seasonal forecast disabled.

In Criteria1DProject.cpp, the following line (line 310):

QString outputDbPath = getFilePath(outputCsvFileName);

should be replaced with:

QString outputDbPath = getFilePath(dbOutputName);

Tested on MacOS. Following the INI file used:

[software]
software="CRITERIA1D"

[project]
path=""
name="kiwifruit"
db_meteo="./data/meteo_zattaglia.db"
#db_meteo=./data/DBGridXML_ERG5_v2.1.xml
#db_meteo=data/DBGridXML_ERG5_v1.xml
db_soil="./data/soil_ER_2002.db"
db_crop="./data/crop.db"
db_units="./data/units.db"
db_output="./output/kiwifruit.db"

[forecast]
isSeasonalForecast=false
isShortTermForecast=false

new tag

ho fatto un nuovo tag (v1.0.4) con le ultime modifiche
se lo aggiornate su otto, impostiamo le prime procedure basate su criteria

Missing field in output DB

It seems like the field RAW is missing in the output DB. We are using the following to aggregate some outputs:

WC_PROFILE = WATER_CONTENT * ROOTDEPTH
DEFICIT_PROFILE = DEFICIT * ROOTDEPTH
THRESHOLD = WATER_CONTENT * ROOTDEPTH * RAW

Can (some of) these be replaced by other output fields? Has RAW be renamed?

Thank you.

copia .png in usr\share\CRITERIA1D\images

Affinchè crop_editor e soil_editor abbiano i png che gli servono, è necessario copiare in usr\share\CRITERIA1D\images
le immagini presenti nel repoitory al path CRITERIA1D\deploy\usr\share\CRITERIA1D\images

creazione rpm

Creazione pacchetti rpm per CRITERIA1D, la compilazione (build centos ok su travis) genera 6 eseguibili (CsvToMeteoDb, CriteriaOutput, CRITERIA1D, CROP_EDITOR, SOIL_EDITOR, CRITERIA_GEO).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.