<div dir="ltr"><div>Sorry, I was not paying attention.</div><div><br></div><div>Perhaps:<br></div><div><br></div><div> Latitude = f->Latitude(:,::2) ; <b>[nscan | 3019] x [npixel | 104</b>]</div><div> Longitude = f->Longitude(:,::2) </div><div>or</div><div> Latitude = f->Latitude(:,1::2) ; <b>[nscan | 3019] x [npixel | 104</b>]</div><div> Longitude = f->Longitude(:,1::2) <br></div><div><br></div><div>---</div><div>Which is appropriate? <br></div><div>This is 'your' data so starting at 0 or 1 is up to you.<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Apr 2, 2021 at 10:03 AM Geeta Geeta <<a href="mailto:geetag54@yahoo.com" target="_blank">geetag54@yahoo.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div style="font-family:Helvetica Neue,Helvetica,Arial,sans-serif;font-size:13px"><div><div dir="ltr">Thank you sir for your mail. <br></div><div dir="ltr"><br></div><div dir="ltr"><div>I have done the same. <br></div><div><br></div><div dir="ltr">But the Latitude and Longitude in file have DIM of 3019,208<br></div><div>Latitude ( nscan, npixel )<br> units : degrees<br> hdf_name : Latitude<br><br> float Longitude ( nscan, npixel )<br> units : degrees<br><div> hdf_name : Longitude</div><div><br></div><div dir="ltr">whereas the variable Tbb has dim of 3019,104</div><div dir="ltr"><br></div><div dir="ltr">So i am unable to attach the lat and Lon var to Tbb</div><div dir="ltr"><br></div><div dir="ltr">thanks<br></div><br></div><div><br></div></div><div><br></div><div>Geeta.</div></div>
<div><br></div><div><br></div>
</div><div id="gmail-m_6430066987419314706gmail-m_-4455630091278827795yahoo_quoted_7555492950">
<div style="font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px;color:rgb(38,40,42)">
<div>
On Friday, 2 April, 2021, 9:28:15 pm IST, Dennis Shea <<a href="mailto:shea@ucar.edu" target="_blank">shea@ucar.edu</a>> wrote:
</div>
<div><br></div>
<div><br></div>
<div><div id="gmail-m_6430066987419314706gmail-m_-4455630091278827795yiv6079517651"><div><div dir="ltr"><div>Latitude = f->Latitude</div><div>Longitude = f->Longitude</div><div>;---------------------------<br clear="none"></div><div>Tbb@lat2d = Latitude</div><div>Tbb@lon2d = Longitude<br clear="none"></div><div><br clear="none"></div></div><br clear="none"><div><div id="gmail-m_6430066987419314706gmail-m_-4455630091278827795yiv6079517651yqt38709"><div dir="ltr">On Fri, Apr 2, 2021 at 9:27 AM Geeta Geeta via ncl-talk <<a rel="nofollow noopener noreferrer" shape="rect" href="mailto:ncl-talk@mailman.ucar.edu" target="_blank">ncl-talk@mailman.ucar.edu</a>> wrote:<br clear="none"></div><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div style="font-family:Helvetica Neue,Helvetica,Arial,sans-serif;font-size:13px"><div><div dir="ltr">Hi <br clear="none"></div><div dir="ltr">I am trying to read a file which is Orbital data (TRMM 1B11) which has following dimensions. <br clear="none"></div><div dir="ltr"><div>ScanType=CONICAL;<br clear="none"> dimensions:<br clear="none"> nscan = 3019<br clear="none"> npixel = 208<br clear="none"> fakeDim2 = 3<br clear="none"> fakeDim3 = 3<br clear="none"> nchan = 9<br clear="none"> fakeDim5 = 3<br clear="none"> fakeDim6 = 2<br clear="none"> fakeDim7 = 16<br clear="none"> npixlo = 104<br clear="none"> nchanlo = 7<br clear="none"><div> nchanhi = 2</div><div><br clear="none"></div><div dir="ltr"><div dir="ltr"><div>The latitude and Longitude Variables have dimensions of 3019 and 208 each<br clear="none"></div><div><br clear="none"></div><div>float Latitude ( nscan, npixel )</div> units : degrees<br clear="none"> hdf_name : Latitude<br clear="none"><br clear="none"> float Longitude ( nscan, npixel )<br clear="none"> units : degrees<br clear="none"> hdf_name : Longitude<br clear="none"><div><br clear="none"></div><div dir="ltr">Now I wish to Plot following variable short lowResCh ( nscan, npixlo, nchanlo )<br clear="none"><div> scale_factor : 100<br clear="none"> scale_factor_err : 0<br clear="none"> add_offset : 100<br clear="none"> add_offset_err : 0<br clear="none"> calibrated_nt : 22<br clear="none"> units : K<br clear="none"><div> hdf_name : lowResCh</div><div><br clear="none"></div><div dir="ltr"><div>Tb = short2flt(f->lowResCh)<br clear="none">Tbb = (Tb+100)/100<br clear="none"> copy_VarCoords(Tb,Tbb)<br clear="none"><br clear="none"></div><div><br clear="none"></div></div><div><br clear="none"></div><div dir="ltr">My problem is How do I attach the Latitude and Longitude arrays to the variable Tbb (has dimensions of 3019, 104,7)</div><div dir="ltr"><br clear="none"></div><div dir="ltr"><br clear="none"></div><div dir="ltr"><br clear="none"></div><div dir="ltr">I am attaching the code with this mail. <br clear="none"></div><div dir="ltr"><br clear="none"></div><div dir="ltr">Thanks <br clear="none"></div></div><div><br clear="none"></div></div></div><div><br clear="none"></div></div><br clear="none"></div><div><br clear="none"></div></div><div><br clear="none"></div><div>Geeta.</div></div></div></div>_______________________________________________<br clear="none">
ncl-talk mailing list<br clear="none">
<a rel="nofollow noopener noreferrer" shape="rect" href="mailto:ncl-talk@mailman.ucar.edu" target="_blank">ncl-talk@mailman.ucar.edu</a><br clear="none">
List instructions, subscriber options, unsubscribe:<br clear="none">
<a rel="nofollow noopener noreferrer" shape="rect" href="https://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">https://mailman.ucar.edu/mailman/listinfo/ncl-talk</a></blockquote></div></div>
</div></div></div>
</div>
</div></div></blockquote></div>