Mercurial > repos > siwaa > dairyfit_nctostics
comparison nc2stics.xml @ 0:93879a20d221 draft default tip
"planemo upload for repository https://forge.inrae.fr/dairyfit/lot2/dairyfit-toolbox commit 065e7bbcfbc2bdaede2382f967f1a13a2e08e184"
| author | siwaa |
|---|---|
| date | Mon, 12 Jan 2026 13:23:19 +0000 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:93879a20d221 |
|---|---|
| 1 <tool id="nc2Stics" name="nc2Stics" version="1.0.0"> | |
| 2 <description>to convert netcdf files to climat files of Stics</description> | |
| 3 <requirements> | |
| 4 <container type="singularity">docker://registry.forge.inrae.fr/dairyfit/lot1/chaine_traitement_indicateur:latest | |
| 5 </container> | |
| 6 </requirements> | |
| 7 <command detect_errors="aggressive"> | |
| 8 <![CDATA[ | |
| 9 mkdir climateInputFolder meshFolder SticsClimateOutputFolder; | |
| 10 cd climateInputFolder; | |
| 11 tar -xvpf $climateModelVariables; | |
| 12 cd ../meshFolder; | |
| 13 tar -xvpf $DRIASmesh; | |
| 14 cd ..; | |
| 15 conda run --no-capture-output -n dairyfit | |
| 16 python -u /data/3_transformation_to_stics_format.py | |
| 17 --path_model climateInputFolder | |
| 18 --path_maille \$(find meshFolder -name *.shp) | |
| 19 --epsg 'EPSG:27572' | |
| 20 --output_dir SticsClimateOutputFolder | |
| 21 --path_to_co2 $yearlyCO2; | |
| 22 cd SticsClimateOutputFolder; | |
| 23 tar -cvzf $SticsClimate * | |
| 24 ]]> | |
| 25 </command> | |
| 26 <inputs> | |
| 27 <param name="climateModelVariables" type="data" format="tgz" label="Select a flat archive of a list of climate model variables (tgz file)"/> | |
| 28 <param name="DRIASmesh" type="data" format="tgz" label="Select a flat archive of a mesh shapeFile folder (tgz file)"/> | |
| 29 <param name="yearlyCO2" type="data" format="csv" label="Select the yearly CO2 data sheet (csv)"/> | |
| 30 </inputs> | |
| 31 <outputs> | |
| 32 <data format="tgz" name="SticsClimate" | |
| 33 label="SticsClimateFiles"> | |
| 34 </data> | |
| 35 </outputs> | |
| 36 <help> | |
| 37 Documentation | |
| 38 ------------- | |
| 39 A tool to convert climate netcdf files to Stics | |
| 40 | |
| 41 Credits | |
| 42 ------- | |
| 43 - Wrapped Tool Author: | |
| 44 - Site: | |
| 45 - Galaxy Tool Maintainer: Patrick Chabrier patrick.chabrier@inrae.fr | |
| 46 - Copyright: INRAE | |
| 47 </help> | |
| 48 </tool> |
