Hi @uwefladrich
when using output redirections (e.g. for appending text or grib messages) do not with when done with a base.command statement.
the workaround is to do the redirection inside a bash script, and call that script from a base.command statement.
e.g. from Lars
- base.command:
name: "{{experiment.src_dir}}/../scripts/utils/post_process_lpjg.sh"
and the script contains this
#!/bin/bash
infile=$1
outdir=$2
outfile=$(basename $infile)
awk '(FNR>1){print $0}' $infile >> $outdir/$outfile