<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none"><!--P{margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p><font face="Calibri,Arial,Helvetica,sans-serif" size="2"><span style="font-size:16px;background-color:white;font-weight:normal;text-transform:none;">Dear
<span name="searchHitInReadingPane" id="0.7344792469635416" class="highlight">ncl</span>-support</span></font>,</p>
<p> I'm using attributes to define 2D array but I get this error:<br>
</p>
<p><br>
</p>
<p>fatal:Attributes only have one dimension, 2 subscripts used<br>
fatal:["Execute.c":8640]:Execute: Error occurred at or near line 416 in file ./procPREPRO_surf.ncl</p>
<p><br>
</p>
<p>Usually I define 1d array with attribute and it is all right but with 2d array the program stop.<br>
</p>
<p>Here some lines of the code where the program stop:<br>
</p>
<p><br>
</p>
<p> DATE@date = new((/nnest,ndays_max+15/),string,"")<br>
DATE@year = new((/nnest,ndays_max+15/),string,"")<br>
DATE@mounth = new((/nnest,ndays_max+15/),string,"")<br>
DATE@day = new((/nnest,ndays_max+15/),string,"")<br>
<br>
do inest=0,nnest-1<br>
<br>
;compute date yyyymmdd of the simulation<br>
iday = 0<br>
DATE@date(inest,iday) = runMan_date000(inest)</p>
<p> .......</p>
<p><br>
</p>
<p><br>
</p>
<p> Can I define 2d array via attribute in ncl?</p>
<p> If not, is there a way to define a data structure with heterogeneous multiple arrays 2d, 1d or scalar?</p>
<p><br>
</p>
<p> Thanks</p>
<p>Francesco<br>
</p>
</body>
</html>