Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ftomei authored Feb 5, 2024
1 parent 71bff53 commit 81272de
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,34 +2,36 @@

## CriteriaOutput tool
CriteriaOutput is a shell command to manage the agro-hydrological output of [CRITERIA1D / GEO](https://github.com/ARPA-SIMC/criteria1d).
The output of CRITERIA is stored in a SQLite database and can be exported to CSV, shapefile or raster format, using this tool.
The output of CRITERIA is stored in a SQLite database and can be exported to CSV, shapefile, NetCDF or geo-raster format, using this tool.

#### Usage

CriteriaOutput CSV | SHAPEFILE | MAPS | NETCDF | AGGREGATION projectName.ini [date]
>CriteriaOutput <DTX | CSV | SHAPEFILE | MAPS | NETCDF | AGGREGATION> <projectName.ini> [computationDate]
ComputationDate must be in YYYY-MM-DD format, default date is today.

#### Example of project.ini

[software]
>[software]
software="CriteriaOutput"

[project]
>[project]
name=DEFICIT MACRO AREE
db_units=./data/units.db
db_crop=./data/crop.db
db_data=./output/incolto.db
add_date_to_log=false

[csv]
>[csv]
variable_list=./csvOutputList/nitrati.csv
csv_output=./output/nitrati
add_date_to_filename = false
add_date_to_filename = false

[shapefile]
>[shapefile]
UCM=./SHAPE/UCM/UCM.shp
field_list=./csvOutputList/nitratiToShape.csv

[aggregation]
>[aggregation]
aggregation_shape=./SHAPE/ZONE_QA/zone_QA.shp
shape_field=idQA
aggregation_list=./csvOutputList/deficitAggregation.csv
Expand Down

0 comments on commit 81272de

Please sign in to comment.