title: setting values below a threshold to the threshold in a netcdf file
body: <p>I want to set all values below a constant <em><strong>c</strong></em> to <em><strong>c</strong></em> itself in a netcdf file: file.nc</p>
  <p>A solution using climate data operators (CDO) would be</p>
  <pre><code>cdo mul -gec,$c file.nc file.nc t1.nc
  cdo add -mulc,$c -ltc,$c file.nc t1.nc output.nc
  rm -f t1.nc
  </code></pre>
  <p>But is there a neater/shorter way to do this?</p>