Skip to content

Commit

Permalink
Update xarray_netcdf2zarr.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
bgruening authored Nov 2, 2023
1 parent 4f7581d commit de484c2
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions tools/netcdf2zarr/xarray_netcdf2zarr.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,23 +11,23 @@
<command detect_errors="exit_code"><![CDATA[
python3 '$__tool_directory__/xarray_netcdf2zarr.py'
--input ${netcdf_file}
--output ${zarr_file.files_path}
--input '${netcdf_file}'
--output '${zarr_file.files_path}'
]]></command>
<inputs>
<param type="data" name="netcdf_file" label="Input netcdf file" format="netcdf" help="Select the input netCDF file."/>
<param type="data" name="netcdf_file" format="netcdf" label="Input netcdf file" help="Select the input netCDF file."/>
</inputs>
<outputs>
<data format="zarr" name="zarr_file" label="${tool.name} on ${on_string}: ZARR" />
</outputs>
<tests>
<test>
<param name="netcdf_file" value="timeseries.nc"/>
<output name="zarr_file" value="timeseries.zarr">
<param name="netcdf_file" value="timeseries.nc" ftype="netcdf" />
<output name="zarr_file" value="timeseries.zarr" ftype="zarr" />
</test>
<test>
<param name="netcdf_file" value="output.nc"/>
<output name="zarr_file" value="output.zarr">
<param name="netcdf_file" value="output.nc" ftype="netcdf" />
<output name="zarr_file" value="output.zarr" ftype="zarr" />
</test>
</tests>
<help><![CDATA[
Expand Down

0 comments on commit de484c2

Please sign in to comment.