hi <div><br></div><div>i want to take vertical derivative of humidity in the isobaric coordinates. i used the function cdiff:</div><div><br></div><div><br></div><div>define dq=cdiff(q,z)</div><div><br></div><div>but got error message saying </div>
<div>error from cdiff: specific dimension non varying</div><div>operation error: error from cdiff function</div><div>error occurred at column 1</div><div>define error: invalid expression</div><div><br></div><div>it works fine when i take horizontal derivatives, such as dq=cdiff(q,x) and dq=cdiff(q,y)</div>
<div><br></div><div>is it not the way to do vertical derivative in grads?</div><div><br></div><div>thank you very much!</div><div><br></div><div>shing</div>