My code most likely could be written in one single command using grdmath LE instead of grdclip.
grdmath LE
grdclip