<html><head></head><body><div class="ydp1f8b30a7yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><div><div dir="ltr" data-setdir="false">Thank you sir for your mail. <br></div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false"><div>I have done the same. <br></div><div><br></div><div dir="ltr" data-setdir="false">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" data-setdir="false">whereas the variable Tbb has dim of 3019,104</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">So i am unable to attach the lat and Lon var to Tbb</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">thanks<br></div><br></div><div><br></div></div><div><br></div><div class="ydp1f8b30a7signature">Geeta.</div></div>
        <div><br></div><div><br></div>
        
        </div><div id="yahoo_quoted_7555492950" class="yahoo_quoted">
            <div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
                
                <div>
                    On Friday, 2 April, 2021, 9:28:15 pm IST, Dennis Shea <shea@ucar.edu> wrote:
                </div>
                <div><br></div>
                <div><br></div>
                <div><div id="yiv6079517651"><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 class="yiv6079517651gmail_quote"><div class="yiv6079517651yqt2145594375" id="yiv6079517651yqt38709"><div class="yiv6079517651gmail_attr" dir="ltr">On Fri, Apr 2, 2021 at 9:27 AM Geeta Geeta via ncl-talk <<a rel="nofollow noopener noreferrer" shape="rect" ymailto="mailto:ncl-talk@mailman.ucar.edu" target="_blank" href="mailto:ncl-talk@mailman.ucar.edu">ncl-talk@mailman.ucar.edu</a>> wrote:<br clear="none"></div><blockquote class="yiv6079517651gmail_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">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" ymailto="mailto:ncl-talk@mailman.ucar.edu" target="_blank" href="mailto:ncl-talk@mailman.ucar.edu">ncl-talk@mailman.ucar.edu</a><br clear="none">
List instructions, subscriber options, unsubscribe:<br clear="none">
<a rel="nofollow noopener noreferrer" shape="rect" target="_blank" href="https://mailman.ucar.edu/mailman/listinfo/ncl-talk">https://mailman.ucar.edu/mailman/listinfo/ncl-talk</a></blockquote></div></div>
</div></div></div>
            </div>
        </div></body></html>