|
1 | 1 | <tool id="harmonize_insitu_to_netcdf" name="QCV harmonizer" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="22.01" license="MIT"> |
2 | | - <description>and aggregator of insitu marine physical and biogeochemical data</description> |
| 2 | + <description>and aggregator of in-situ marine physical and biogeochemical data</description> |
3 | 3 | <macros> |
4 | | - <token name="@TOOL_VERSION@">1.1</token> |
| 4 | + <token name="@TOOL_VERSION@">2.0</token> |
5 | 5 | <token name="@VERSION_SUFFIX@">0</token> |
6 | 6 | </macros> |
7 | 7 | <requirements> |
|
11 | 11 | export HOME=\$PWD && |
12 | 12 |
|
13 | 13 | #for $i, $infile in enumerate($infiles): |
14 | | - cp '$infile' '/runtime/data/original_data/work/ga_la_xy/${infile.element_identifier}' && |
| 14 | + cp '$infile' '/runtime/data-in/${infile.element_identifier}' && |
15 | 15 | #end for |
16 | 16 |
|
17 | 17 | /app/launchers/start-app.sh GALAXY && |
18 | 18 | |
19 | | - cp /runtime/data/harmonized_data/work/ga_la_xy_harm_agg.nc '$output_net' |
| 19 | + cp /runtime/data-out/*.nc '$output_net' |
20 | 20 | ]]></command> |
21 | 21 | <inputs> |
22 | | - <param name="infiles" type="data" format="netcdf" multiple="true" label="Input the netcdf data files" help="This files can netcdf raw Argo or Gliders datafiles following CMEMS convention."/> |
| 22 | + <param name="infiles" type="data" format="netcdf" multiple="true" label="Input the NetCDF data files" help="This files can NetCDF raw Argo or Gliders data files following CMEMS convention."/> |
23 | 23 | </inputs> |
24 | 24 | <outputs> |
25 | | - <data name="output_net" format="netcdf" from_work_dir="/runtime/data/harmonized_data/work/*.nc" label="${tool.name} netcdf data" /> |
| 25 | + <data name="output_net" format="netcdf" label="${tool.name} NetCDF data" /> |
26 | 26 | </outputs> |
27 | 27 | <tests> |
28 | 28 | <test expect_num_outputs="1"> |
29 | 29 | <param name="infiles" value="D6901758_001.nc,D6901758_002.nc,D6901758_003.nc,D6901758_004.nc,D6901758_005.nc"/> |
30 | 30 | <output name="output_net"> |
31 | 31 | <assert_contents> |
32 | | - <has_size value="427535" delta="0"/> |
| 32 | + <has_size value="480666" delta="0"/> |
33 | 33 | </assert_contents> |
34 | 34 | </output> |
35 | 35 | </test> |
@@ -58,13 +58,17 @@ Coordinates and variables : |
58 | 58 |
|
59 | 59 | -- |
60 | 60 |
|
61 | | - "temperature" : ["TEMP", "TEMPERATURE"], |
62 | | - "salinity" : ["PSAL", "PRACTICAL_SALINITY"], |
63 | | - "oxygen" : ["DOXY"], |
| 61 | + "temperature" : ["TEMP", "TEMPERATURE", "t_an"], |
| 62 | + "salinity" : ["PSAL", "PRACTICAL_SALINITY", "s_an"], |
| 63 | + "oxygen" : ["DOXY", "o_an"], |
| 64 | + "oxygenSat" : ["O_an"], |
64 | 65 | "pressure" : ["PRES"], |
65 | 66 | "chlorophylle" : ["CHLA"], |
66 | 67 | "nitrate" : ["NO3", "NITRATE", "n_an"], |
67 | 68 | "bbp700" : ["BBP700"], |
| 69 | + "C1PHASE_DOXY" : ["C1PHASE_DOXY"], |
| 70 | + "C2PHASE_DOXY" : ["C2PHASE_DOXY"], |
| 71 | + "TEMP_DOXY" : ["TEMP_DOXY"], |
68 | 72 |
|
69 | 73 | All variables are tagged with a suffix to indicate the state of the data (_raw, _dmadjusted, _rtadjusted) |
70 | 74 |
|
@@ -92,26 +96,22 @@ Units : |
92 | 96 |
|
93 | 97 | Arbitrarily, |
94 | 98 |
|
95 | | - dates are written following : "seconds since 1950-01-01T00:00:00 in julian calendar" |
96 | | - longitude is set between : -180° and 180° |
97 | | - latitude is set between : -90° and 90° |
| 99 | + dates are written following: "days decimal since 1950-01-01T00:00:00 in julian calendar" |
| 100 | + longitude is set between: -180° and 180° |
| 101 | + latitude is set between: -90° and 90° |
98 | 102 |
|
99 | | -WARNING : This application works only platform by platform. For example, it is possible to aggregate and harmonize a whole argo trajectory but one at a time. If two argo trajectories are needed to process, this tool needs to be run 2 times. |
| 103 | +WARNING: This application works only platform by platform. For example, it is possible to aggregate and harmonize a whole argo trajectory but one at a time. |
| 104 | + If two argo trajectories are needed to process, this tool needs to be run 2 times. |
100 | 105 |
|
101 | 106 | **Input** |
102 | 107 |
|
103 | | -a list of files in a txt file named cerb_listing.txt copntaining only filenames without paths. The tool will find the files automatically. A listing example here : |
| 108 | +files in the input folder should be like: |
104 | 109 |
|
105 | 110 | BD6901580_003.nc BD6901580_004.nc BD6901580_005.nc BD6901580_006.nc D6901580_003.nc D6901580_004.nc D6901580_005.nc D6901580_006.nc 6901580_meta.nc |
106 | 111 |
|
107 | | -paths of where are the data (volumes) containing configurations, listings and data. Paths are : |
108 | | -
|
109 | | - config path : where your textfile containing the list of files names is : it contains the listing cerb_listing.txt |
110 | | - data_path : highest folder including all the files to harmonize written in the textfile listing |
111 | | -
|
112 | 112 | **Output** |
113 | 113 |
|
114 | | -A concatenated and harmonized netcdf file |
| 114 | +A concatenated and harmonized NetCDF file. |
115 | 115 |
|
116 | 116 | ]]></help> |
117 | 117 | <citations> |
|
0 commit comments