Describe the bug
I'm seeing extra warning messages in CSET logs that look like this:
sh: -c: line 0: syntax error near unexpected token `)'
sh: -c: line 0: `getfattr /home/562/saw562/cylc-run/cset-metplus-test/run12/share/cycle/20240203T0000Z/data/1/)scratch)dx2)gay548)ML)AIFS)outputs)postproc)ensv1)AIFS)ensv1)20240203T000000)ifs)0p25)fc)z_20240203T000000_6h_360_em1.nc | grep -c '.daos''
The error appears to be from the netcdf library passing the path unescaped through a shell function at https://github.com/Unidata/netcdf-c/blob/8b11cd27bd3b95fa7b2adecd174ddd6fbca3f901/libdispatch/dinfermodel.c#L1648
Perhaps it would be better to use urllib,parse.quote_plus() to create an escaped path when linking in the data in the fetch_fcst tasks
How to reproduce
Steps to reproduce the behaviour:
- Run the cset workflow at head of trunk
- Check the log files in
~/cylc-run/cset-metplus-test/runN/log/job/20240203T0000Z/bake_recipes/NN/bunch.0.err
Expected behaviour
There shouldn't be any 'sh' errors
Describe the bug
I'm seeing extra warning messages in CSET logs that look like this:
The error appears to be from the netcdf library passing the path unescaped through a shell function at https://github.com/Unidata/netcdf-c/blob/8b11cd27bd3b95fa7b2adecd174ddd6fbca3f901/libdispatch/dinfermodel.c#L1648
Perhaps it would be better to use
urllib,parse.quote_plus()to create an escaped path when linking in the data in the fetch_fcst tasksHow to reproduce
Steps to reproduce the behaviour:
~/cylc-run/cset-metplus-test/runN/log/job/20240203T0000Z/bake_recipes/NN/bunch.0.errExpected behaviour
There shouldn't be any 'sh' errors