<div dir="ltr"><div><div><div>??? This not an NCL issue. Please look at your data.<br></div><div><br>data = a->CERES_SW_TOA_flux___upwards(:) <br></div>printVarSummary(data) ; <===== data[*] one dimension<br><br>Variable: data<br>Number of Dimensions: 1<br>Dimensions and sizes: [time | 111455]<br>Coordinates: <br> time: [16526.33308267314..16859.<wbr>88428081991]<br><br><br>=====<br></div>Where is 'data&lat' ?<br><br></div>You would need: data(time,lat,lon)<br><div><div><div><br>lat1d = ndtooned(conform(data,data&lat,0))<br>lon1d = ndtooned(conform(data,data&lon,1))<br><br></div><div>Good ,luck<br></div><div><br></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, May 12, 2017 at 6:16 AM, Kunal Bali <span dir="ltr"><<a href="mailto:kunal.bali9@gmail.com" target="_blank">kunal.bali9@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>Dear NCL users<br><br></div>I am trying to extract the data of particular coordinates with corresponding times. <br></div>But I am having a problem with reading dimension names. <br><br></div>the error is given below<br><br>fatal:(lat) is not a named dimension in variable (data).<br>fatal:["Execute.c":8578]:<wbr>Execute: Error occurred at or near line 136 in file mask_data_latlon_polygon1.ncl<br><br><div>the summary of the data is <br><br>Variable: data<br>Type: float<br>Total Size: 445820 bytes<br> 111455 values<br>Number of Dimensions: 1<br>Dimensions and sizes: [time | 111455]<br>Coordinates: <br> time: [16526.33308267314..16859.<wbr>88428081991]<br>Number Of Attributes: 5<br> valid_range : ( 0, 1400 )<br> format : F18.9<br> units : Watts per square meter<br> orig_name : CERES SW TOA flux - upwards<br> _FillValue : 3.402823e+38<br></div><div><br><br></div><div>for extracting the data I am using the attached script.<br></div><div>please find the attachment<br><br></div><div>If anyone have the idea then please provide some information on that<br><br></div><div>Thank You<br></div><div><br></div><div>Regards<span class="HOEnZb"><font color="#888888"><br></font></span></div><span class="HOEnZb"><font color="#888888"><div>Kunal Bali<br></div><div><div><br clear="all"><div><div><div><div class="m_6642691109199116173gmail_signature"><div dir="ltr"><div><div dir="ltr"><br><div><br></div><div><p style="margin:0px;border-collapse:collapse;font-family:tahoma,verdana;font-size:12px"><font color="#1F497D"><br></font></p></div></div></div></div></div></div>
</div></div></div></div></font></span></div>
<br>______________________________<wbr>_________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/<wbr>mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>