Mercurial > repos > siwaa > sunflo
view tool_SUNFLO.xml @ 4:64b9de83b8e6 draft
"planemo upload for repository https://forgemia.inra.fr/record/RECORD/-/tree/6309b0ebe4ac2f7b979d28fb46f90c7719beb87b commit 6309b0ebe4ac2f7b979d28fb46f90c7719beb87b-dirty"
author | siwaa |
---|---|
date | Tue, 17 Jan 2023 09:29:43 +0000 |
parents | eec09c643933 |
children | b4b957727dec |
line wrap: on
line source
<tool id="SUNFLO" name="SUNFLO crop model simulations" version="1.3.0"> <description></description> <requirements> <container type="singularity">docker://registry.forgemia.inra.fr/record/record/azodyn_sunflo:image-azodynsunflo-1.3</container> </requirements> <command detect_errors="aggressive"> unzip ${input_meteo}; dos2unix -n ${file_input} internal_inputSUNFLO.csv; dos2unix -n ${file_outputs} internal_outputSUNFLO.csv; /bin/bash -c "Rscript --verbose /data/rAzodynSunflo.R sunflo_simple.vpz sunflo internal_inputSUNFLO.csv internal_outputSUNFLO.csv \${GALAXY_SLOTS:-2}"; zip temp_results.zip simresults_*.txt; cp temp_results.zip ${simresults}; </command> <inputs> <param name="input_meteo" type="data" format="zip" label="Wheater serie input files (zip file)"/> <param name="file_input" type="data" format="csv" label="Crop model input values"/> <param name="file_outputs" type="data" format="csv" label="Outputs to simulate"/> </inputs> <outputs> <data format="zip" name="simresults" /> </outputs> <tests> <test> <param name="input_meteo" value="inputs/sunflo_meteo.zip" ftype="zip" /> <param name="file_input" value="inputs/sunflo_input.csv" ftype="csv" /> <param name="file_outputs" value="inputs/sunflo_output.csv" ftype="csv" /> <output name="simresults"> <assert_contents> <has_archive_member path="simresults_LAI.txt"> <has_text text="0;0;0;0" /> <has_text text="0.007303977383" /> </has_archive_member> <has_archive_member path="simresults_RDT.txt"> <has_text text="25.004733605" /> <has_text text="25.084471273" /> </has_archive_member> </assert_contents> </output> </test> </tests> <help><![CDATA[ SUNFLO crop model simulations ============================= Inputs: ------- - Zip file of wheather series - Input values of the crop model (1 simulation per row) - Identification of the crop model output to simulate. Outputs: -------- - Zip file of the crop model simulation values (1 file per output) Example: -------- - Copy to your history files 'sunflo_meteo.zip', 'sunflo_input.csv' and 'sunflo_output.csv' from the SUNFLO shared dataset. - Fill file names and choose the adequate number of cores. - And then execute Credits: -------- - Author: Ronan Trépos ronan.trepos@inrae.fr - Wrapper Maintainer: Ronan Trépos ronan.trepos@inrae.fr - Tool Maintainer: Ronan Trépos ronan.trepos@inrae.fr - Copyright: INRAE]]> </help> </tool>