<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"><style>body { line-height: 1.5; }blockquote { margin-top: 0px; margin-bottom: 0px; margin-left: 0.5em; }body { font-size: 10.5pt; font-family: 宋体; color: rgb(0, 0, 0); line-height: 1.5; }</style></head><body>
<table width="99.99%" height="100%" style="padding: 10px; background-color: transparent;" border="0" cellpadding="0" cellspacing="0" background="cid:_Foxmail.1@11e7bab2-1bf6-8c56-9aaf-80c2df733dab">
<tbody><tr>
<td valign="top" style="width:100%;height:100%;">
<div style="">
<div><span></span>the file information in my letter is shown with ncl_filedump, the "Time" variable is as the aforementioned, there</div><div>didn't find another compound variable like "Time"</div>
<div><br></div><hr style="width: 210px; height: 1px;" color="#b5c4df" size="1" align="left">
<div><span><div style="FONT-FAMILY: verdana; FONT-SIZE: 10pt">
<div>dyjbean@gmail.com</div></div></span></div>
<blockquote style="margin-top: 0px; margin-bottom: 0px; margin-left: 0.5em;"><div>&nbsp;</div><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm"><div style="PADDING-RIGHT: 8px; PADDING-LEFT: 8px; FONT-SIZE: 12px;FONT-FAMILY:tahoma;COLOR:#000000; BACKGROUND: #efefef; PADDING-BOTTOM: 8px; PADDING-TOP: 8px"><div><b>From:</b>&nbsp;<a href="mailto:lijpbasin@126.com">李嘉鹏</a></div><div><b>Date:</b>&nbsp;2014-11-04&nbsp;18:32</div><div><b>To:</b>&nbsp;<a href="mailto:ncl-talk@ucar.edu">ncl-talk</a></div><div><b>Subject:</b>&nbsp;Re: [ncl-talk] how to read a variable in group of hdf file?</div></div></div><div><div>Hi, Try `ncl_filedump AMSR_E_L2A_201108010017_D.hdf`, it might give you some hints of the corresponding variable name in NCL.</div>
<div>&nbsp;</div>
<div>On November 4, 2014 6:13:49 PM GMT+08:00, "dyjbean@gmail.com" &lt;dyjbean@gmail.com&gt; wrote:</div>
<div>&gt;hi,</div>
<div>&gt;i want to read a variable "Time" which is involved in group&nbsp; in a hdf</div>
<div>&gt;file, a part of information of this hdf file is as follows:</div>
<div>&gt;+++++++++++++++++++++++++++++++++++++++++++</div>
<div>&gt;......</div>
<div>&gt;GROUP=GeoField </div>
<div>&gt;OBJECT=GeoField_1 </div>
<div>&gt;GeoFieldName="Time" </div>
<div>&gt;DataType=DFNT_FLOAT64 </div>
<div>&gt;DimList=("DataTrack_lo") </div>
<div>&gt;END_OBJECT=GeoField_1 </div>
<div>&gt;OBJECT=GeoField_2 </div>
<div>&gt;GeoFieldName="Latitude" </div>
<div>&gt;DataType=DFNT_FLOAT32 </div>
<div>&gt;DimList=("DataTrack_lo","DataXTrack_lo") </div>
<div>&gt;END_OBJECT=GeoField_2 </div>
<div>&gt;OBJECT=GeoField_3 </div>
<div>&gt;GeoFieldName="Longitude" </div>
<div>&gt;DataType=DFNT_FLOAT32 </div>
<div>&gt;DimList=("DataTrack_lo","DataXTrack_lo") </div>
<div>&gt;END_OBJECT=GeoField_3 </div>
<div>&gt;END_GROUP=GeoField </div>
<div>&gt;......</div>
<div>&gt;++++++++++++++++++++++++++++++++++++++++++++++++++</div>
<div>&gt;</div>
<div>&gt;i want to extract the "Time" in ncl, but it showed:</div>
<div>&gt;+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++</div>
<div>&gt;</div>
<div>&gt;ncl 0&gt; ff=addfile("AMSR_E_L2A_201108010017_D.hdf","r") </div>
<div>&gt;ncl 1&gt; time=ff-&gt;Time </div>
<div>&gt;fatal:["Execute.c":6321]:variable (Time) is not in file (ff) </div>
<div>&gt;fatal:["Execute.c":8565]:Execute: Error occurred at or near line 1</div>
<div>&gt;+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++</div>
<div>&gt;</div>
<div>&gt;it seems that there doesn't exist "Time" variable in this hdf file,but</div>
<div>&gt;it does,</div>
<div>&gt;</div>
<div>&gt;how can i read this time info in ncl?</div>
<div>&gt;</div>
<div>&gt;</div>
<div>&gt;thanks </div>
<div>&gt;</div>
<div>&gt; </div>
<div>&gt;</div>
<div>&gt;</div>
<div>&gt;dyjbean@gmail.com</div>
<div>&gt;</div>
<div>&gt;</div>
<div>&gt;------------------------------------------------------------------------</div>
<div>&gt;</div>
<div>&gt;_______________________________________________</div>
<div>&gt;ncl-talk mailing list</div>
<div>&gt;List instructions, subscriber options, unsubscribe:</div>
<div>&gt;http://mailman.ucar.edu/mailman/listinfo/ncl-talk</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>_______________________________________________</div>
<div>ncl-talk mailing list</div>
<div>List instructions, subscriber options, unsubscribe:</div>
<div>http://mailman.ucar.edu/mailman/listinfo/ncl-talk</div>
</div></blockquote>
<div></div></div>
</td>
</tr>
</tbody></table>
</body></html>