<div>Hi, all</div><div>Sorry to disturb you for technical help. </div><div> </div><div>I am trying to extract the regional data from the soil product SMAP L4 which is stored in the format of HDF5. I wrote the ncl script taking referecnce to the example listed on the web of <a href="http://www.ncl.ucar.edu/Applications/HDF.shtml">http://www.ncl.ucar.edu/Applications/HDF.shtml</a>. But the extracted data were not in the demond region. So would you please help me to find the faults in my ncl script?  The main part of this script is as follow, and the detail information can be downloaded from the accessory. </div><div>********main part of the script *********</div><div><div> nFiles  = dimsizes(iFiles)  <br>  f       = addfile(iFiles(0), "r")</div><div>  lat2d     = f->cell_lat</div></div><div>  lon2d     = f->cell_lon</div><div> </div><div> nSmapLat = dimsizes(lat2d(:,0))<br> nSmapLon = dimsizes(lon2d(0,:))<br> minSmapLat = min(lat2d)<br> maxSmapLat = max(lat2d)<br> minSmapLon = min(lon2d)<br> maxSmapLon = max(lon2d)</div><div> </div><div> lat=fspan(minSmapLat, maxSmapLat, nSmapLat)   <br>    lat!0="lat"<br>    lat&lat=lat<br>    <a href='mailto:lat@units="degrees_north'>lat@units="degrees_north</a>"<br>    <a href='mailto:lat@long_name="Latitude'>lat@long_name="Latitude</a>"</div><div> lon=fspan(minSmapLon,maxSmapLon, nSmapLon)<br>    lon!0="lon"<br>    lon&lon=lon<br>    <a href='mailto:lon@units="degrees_east'>lon@units="degrees_east</a>"<br>    <a href='mailto:lon@long_name="Longitude'>lon@long_name="Longitude</a>"<br>   <br>  lat2d!0="lat"<br>  lat2d!1="lon"<br>  lat2d&lon=lon<br>  lat2d&lat=lat</div><div> </div><div>  lon2d!0="lat"<br>  lon2d!1="lon"<br>  lon2d&lon=lon<br>  lon2d&lat=lat</div><div> </div><div>  minLatBoundary  = 25<br>  maxLatBoundary  = 35<br>  minLonBoundary  = 110<br>  maxLonBoundary  = 120</div><div><br>  sm   = f->sm_rootzone<br>  printVarSummary(sm)<br>  sm!0="lat"<br>  sm!1="lon"<br>  sm&lon=lon<br>  sm&lat=lat<br>  printVarSummary(sm)<br>  <br>  sm_regional = sm({minLatBoundary:maxLatBoundary},{minLonBoundary:maxLonBoundary})</div><div>***********************************</div><div> </div><div>Thanks a lot for your precious attentions and time!</div><div> </div><div>Yi Lu</div><div> </div><div><sign signid="98"><div style="color: rgb(144, 144, 144); font-family: Arial Narrow; font-size: 12px;"><br><br><br><br></div><div style="color: rgb(0, 0, 0); font-family: Verdana; font-size: 14px;"><div style="overflow: hidden;"><table class="preview_table"><tbody><tr><td valign="middle"><img id="preview_qrcode" src="https://exmail.qq.com/cgi-bin/setting_qrcode_card?action=qrcode_card&alias=dg1225033@smail.nju.edu.cn&key=33b1e5708e6a55b5"></td><td valign="middle" style="color: rgb(160, 160, 160); font-size: 12px;"><h4 class="name" style="margin: 0px; color: rgb(0, 0, 0); line-height: 28px; font-size: 14px; font-weight: bold; -ms-zoom: 1;">易路</h4><p class="department" style="margin: 0px;">南大邮件系统/学生/博士生/12级博士生</p><p class="addr" style="margin: 0px; color: rgb(160, 160, 160); line-height: 22px;">南京市汉口路22号 </p></td></tr></tbody></table></div></div></sign></div><div> </div><div><tincludetail></tincludetail></div><!--<![endif]--><div id="QQMailBigAttach" style="padding: 2px; width: auto; font-family: Verdana,Arial,Tahoma; font-size: 14px; margin-bottom: 15px; background-color: rgb(224, 236, 249);"><hr style="display: none;"><div style="padding: 6px 0pt 10px 6px; text-align: left;"><b style="font-size: 14px;"><img align="absmiddle" style="margin-right: 4px;" src="http://res.mail.qq.com/zh_CN/htmledition/images/icon_att.gif" border="0">从腾讯企业邮箱发来的超大附件</b></div><div style="background: rgb(255, 255, 255); padding: 0pt 8px 6px 12px;"><div style="clear: both;"><div style="padding: 10px 0px; font-size: 12px;"><div title="SMAP_L4_SM_gph_20150815T013000_Vv3030_001.h5
文件大小:136.33M
到期时间:2018年01月12日 11:27" class="bigatt_bt"><div style="margin: 2px 8px 0px 0px; float: left;"><a href="http://exmail.qq.com/cgi-bin/ftnExs_download?k=523465623d8c4a92182f6ffe1038075719575c5a030c065706190304015b1d51000c504f0e0e55561b075257010c0452050d070051381e65657924326874043a65793a0547506f57060550520f0905310605565207086f334007555107670055181a4b4c5f0d3058&t=exs_ftn_download&code=64eb780e&s=email" target="_blank"><img src="http://res.mail.qq.com/zh_CN/htmledition/images/fj/fu_qita.gif" border="0"></a></div><div class="name_big"><span class="qqmailbgattach" expiretime="1515727663" downloadlink="http://exmail.qq.com/cgi-bin/ftnExs_download?k=523465623d8c4a92182f6ffe1038075719575c5a030c065706190304015b1d51000c504f0e0e55561b075257010c0452050d070051381e65657924326874043a65793a0547506f57060550520f0905310605565207086f334007555107670055181a4b4c5f0d3058&t=exs_ftn_download&code=64eb780e&s=email"><a style="color: rgb(0, 0, 0);" href="http://exmail.qq.com/cgi-bin/ftnExs_download?k=523465623d8c4a92182f6ffe1038075719575c5a030c065706190304015b1d51000c504f0e0e55561b075257010c0452050d070051381e65657924326874043a65793a0547506f57060550520f0905310605565207086f334007555107670055181a4b4c5f0d3058&t=exs_ftn_download&code=64eb780e&s=email" target="_blank">SMAP_L4_SM_gph_20150815T013000_Vv3030_001.h5</a><span style="color: rgb(160, 160, 160);"> (136.33M, 2018年01月12日 11:27 到期)</span></span><div class="down_big"><a href="http://exmail.qq.com/cgi-bin/ftnExs_download?k=523465623d8c4a92182f6ffe1038075719575c5a030c065706190304015b1d51000c504f0e0e55561b075257010c0452050d070051381e65657924326874043a65793a0547506f57060550520f0905310605565207086f334007555107670055181a4b4c5f0d3058&t=exs_ftn_download&code=64eb780e&s=email" target="_blank">进入下载页面</a><span style="display: none;">:http://exmail.qq.com/cgi-bin/ftnExs_download?k=523465623d8c4a92182f6ffe1038075719575c5a030c065706190304015b1d51000c504f0e0e55561b075257010c0452050d070051381e65657924326874043a65793a0547506f57060550520f0905310605565207086f334007555107670055181a4b4c5f0d3058&t=exs_ftn_download&code=64eb780e&s=email</span></div></div></div></div></div></div></div>