Mercurial > repos > climate > cdo_info
comparison cdo_info.xml @ 0:8e0ae5c594e7 draft default tip
"planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/cdo commit da614bb8e3e9b19a5167ff19b625a71d9976108a"
author | climate |
---|---|
date | Sat, 15 Jan 2022 23:20:26 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:8e0ae5c594e7 |
---|---|
1 <tool id="cdo_info" name="CDO get info" profile="20.05" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@"> | |
2 <description>Climate Data Information Operators to get information on Climate and NWP model data</description> | |
3 <macros> | |
4 <import>macros.xml</import> | |
5 <import>macros_info.xml</import> | |
6 </macros> | |
7 <expand macro="edam_ontology"/> | |
8 <expand macro="cdo_requirements"/> | |
9 <expand macro="cdo_stdio"/> | |
10 <command><![CDATA[ | |
11 cdo | |
12 '$information.opt' | |
13 '$main_infile' | |
14 #if str($information.opt) == 'diff' or str($information.opt) == 'diffn' | |
15 '$information.secondary_infile' | |
16 #end if | |
17 > '$info' | |
18 ]]> </command> | |
19 <inputs> | |
20 <expand macro="operator_information"/> | |
21 </inputs> | |
22 <outputs> | |
23 <data name="info" format="txt"/> | |
24 </outputs> | |
25 <tests> | |
26 <test> | |
27 <param name="main_infile" ftype="netcdf" value="longitude.nc"/> | |
28 <conditional name="information"> | |
29 <param name="opt" value="info" /> | |
30 </conditional> | |
31 <output name="info" value="longitude.txt" compare="diff" lines_diff="2"/> | |
32 </test> | |
33 <test> | |
34 <param name="main_infile" ftype="netcdf" value="latitude.nc"/> | |
35 <conditional name="information"> | |
36 <param name="diff" value="info" /> | |
37 <param name="secondary_infile" ftype="netcdf" value="latitude_modified.nc"/> | |
38 </conditional> | |
39 <output name="info" value="latitude_diff.txt" compare="diff" lines_diff="2"/> | |
40 </test> | |
41 <test> | |
42 <param name="main_infile" ftype="netcdf" value="WMI_Lear.nc"/> | |
43 <conditional name="information"> | |
44 <param name="opt" value="showdate" /> | |
45 </conditional> | |
46 <output name="info" value="WMI_Lear_showdate.txt" compare="diff" lines_diff="2"/> | |
47 </test> | |
48 <test> | |
49 <param name="main_infile" ftype="netcdf" value="WMI_Lear.nc"/> | |
50 <conditional name="information"> | |
51 <param name="opt" value="griddes" /> | |
52 </conditional> | |
53 <output name="info" value="WMI_Lear_griddes.txt" compare="diff" lines_diff="2"/> | |
54 </test> | |
55 <test> | |
56 <param name="main_infile" ftype="netcdf" value="WMI_Lear.nc"/> | |
57 <conditional name="information"> | |
58 <param name="opt" value="showname" /> | |
59 </conditional> | |
60 <output name="info" value="WMI_Lear_names.txt" compare="diff" lines_diff="2"/> | |
61 </test> | |
62 </tests> | |
63 <help><![CDATA[ | |
64 | |
65 **CDO Climate Data Information Operators** | |
66 ======================================================================================================= | |
67 | |
68 This tool is a wrapper to the Climate Data Operators (CDO) for all Information Operators. | |
69 | |
70 - CDO Information operators return information about the input file(s). Output is written in a text file. | |
71 - CDO is a collection of command line Operators to manipulate and analyse Climate and NWP model Data. | |
72 - There are more than 600 operators available. | |
73 | |
74 - `CDO online documentation <https://code.mpimet.mpg.de/projects/cdo/>`_. | |
75 | |
76 ]]> </help> | |
77 <expand macro="citations"/> | |
78 </tool> |