<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hello,<div> I tried import a defined grads variable with fixed dimension on latitude and longitude and varied dimension on time and ensemble members. When I tried to export the variable to python, I saw the following error messages</div><div><br></div><div><div>Traceback (most recent call last):</div><div> File "nino3_4_pnct.py", line 25, in <module></div><div> sstpcnt = ga.exp("sstpcnt")</div><div> File "/home/scripting/ext/Linux/lib/python2.5/site-packages/grads/ganum.py", line 112, in exp</div><div> return self._exp2d(expr)</div><div> File "/home/scripting/ext/Linux/lib/python2.5/site-packages/grads/ganum.py", line 232, in _exp2d</div><div> 'invalid exchange metadata (idim,jdim)=(%d,%d) - make sure <%s> is valid and that lon/lat is varying.'%(id,jd,expr)</div><div>grads.gacore.GrADSError: 'invalid exchange metadata (idim,jdim)=(-1,-1) - make sure <sstpcnt> is valid and that lon/lat is varying.'</div><div><br></div><div>I have two questions. First, can I export a defined grads variable to a numpy array? Second, can I only export a grads variable that is varying in latitude and longitude? </div><div><br></div><div>Thanks!</div><div><br></div><div><br></div><div><br></div></div><br><br><div> <p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Helvetica" size="3" style="font: 12.0px Helvetica">Dr. Hai-Ru Chang</font></p> <p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Helvetica" size="3" style="font: 12.0px Helvetica">School of Earth and Atmospheric Sciences</font></p> <p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Helvetica" size="3" style="font: 12.0px Helvetica">Georgia Institute of Technology</font></p> <p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Helvetica" size="3" style="font: 12.0px Helvetica">Atlanta, GA 30332-0340</font></p> <p style="margin: 0.0px 0.0px 0.0px 0.0px"><br></p> </div><br></body></html>