<div dir="ltr"><div><div><div><div><div><div><div>Also, the following:<br><br>lon = (360./numlon)*(ispan(0,numlon-1,1)+0.5)<br>lat = (180./numlat)*(ispan(0,numlat-1,1)+0.5)-90<br>lat@units="degrees_north"<br>lon@units="degrees_east"<br><br><br></div>can be replaced by<br><br></div>lat  = latGlobeFo (numlat, "lat", "latitude", "degrees_north")<br></div>lon = <strong>lonGlobeFo</strong>(numlon, "lon", "longitude", "degrees_east")<br><br><br><a href="https://www.ncl.ucar.edu/Document/Functions/Contributed/lonGlobeFo.shtml">https://www.ncl.ucar.edu/Document/Functions/Contributed/lonGlobeFo.shtml</a><br><a href="https://www.ncl.ucar.edu/Document/Functions/Contributed/latGlobeFo.shtml">https://www.ncl.ucar.edu/Document/Functions/Contributed/latGlobeFo.shtml</a><br><br>======<br></div>re: "I am new to ncl."<br><br></div>Please read the NCL documentation & tutorial.<br><br><a href="https://www.ncl.ucar.edu/Document/Manuals/NCL_User_Guide/">https://www.ncl.ucar.edu/Document/Manuals/NCL_User_Guide/</a><br><br>==<br></div>Also, the Applications page<br> <a href="https://www.ncl.ucar.edu/Applications/">https://www.ncl.ucar.edu/Applications/</a><br><br></div>Good luck<br><div><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jan 8, 2018 at 1:53 PM, Mary Haley via ncl-install <span dir="ltr"><<a href="mailto:ncl-install@ucar.edu" target="_blank">ncl-install@ucar.edu</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 class="gmail_default" style="font-size:small">Hello,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">I wanted to add to Rick's response because I noticed some graphical resources are misspelled.</div><div class="gmail_default" style="font-size:small">Also, you don't need an array to calculate lat / lon. You can do this using array arithmetic.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small"><div class="gmail_default">lon = (360./numlon)*(ispan(0,numlon-<wbr>1,1)+0.5)</div><div class="gmail_default">lat = (180./numlat)*(ispan(0,numlat-<wbr>1,1)+0.5)-90</div><div class="gmail_default"><br></div><div class="gmail_default">Finally, I added some lines to change the color map, set the contour levels, and do raster plotting for faster results.</div></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">If you continue to have questions, please subscribe to ncl-talk as Rick described, and send the questions to <a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a>.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">--Mary</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small"><br></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jan 8, 2018 at 11:45 AM, Rick Brownrigg <span dir="ltr"><<a href="mailto:brownrig@ucar.edu" target="_blank">brownrig@ucar.edu</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>Hi,<br><br></div>You are almost there -- you need to associate the lon/lat arrays you created to the variable data_actual as "coordinate arrays". After you create lat/lon,<br></div> add these lines:<br><br>....<br>lat@units="degrees-north"<br>lon@units="degrees-east"<br>data_actual!0 = "lat"    ; assigns a name to the 1st dimension<br>data_actual!1 = "lon"   ; assigns a name to the 2nd dimension<br>data_actual&lon = lon  ; associates the lon array to data_actual as a coordinate array<br>data_actual&lat = lat   ;                           "</div><span class="m_-8519750199395975929HOEnZb"><font color="#888888"><div><br></div><div>Rick<br></div><div><div><br><br><br></div></div></font></span></div><div class="m_-8519750199395975929HOEnZb"><div class="m_-8519750199395975929h5"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jan 8, 2018 at 1:04 AM, jayanti pal <span dir="ltr"><<a href="mailto:jiban_samudra18@yahoo.com" target="_blank">jiban_samudra18@yahoo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-family:courier new,courier,monaco,monospace,sans-serif;font-size:13px"><div><div><br></div><div><br></div><div class="m_-8519750199395975929m_4235253376202817533m_3284977983746319180ydpf2c3560esignature"><span style="font-weight:bold;font-size:medium;font-family:'Courier New',courier,monaco,monospace,sans-serif">Dr. Jayanti Pal</span><div><span style="font-size:medium;font-family:'Courier New',courier,monaco,monospace,sans-serif">Post-doc Fellow</span></div><div><span style="font-size:medium;font-family:'Courier New',courier,monaco,monospace,sans-serif">Department of Atmospheric Sciences</span></div><div><span style="font-size:medium;font-family:'Courier New',courier,monaco,monospace,sans-serif">Institute of Atmospheric and Environmental Sciences</span></div><div><span style="font-size:medium;font-family:'Courier New',courier,monaco,monospace,sans-serif">University of Calcutta</span></div><div><span style="font-size:medium;font-family:'Courier New',courier,monaco,monospace,sans-serif">Contact: <span style="font-style:italic;font-weight:bold;color:rgb(203,0,142)"><a href="mailto:jiban_samudra18@yahoo.com" target="_blank">jiban_samudra18@yahoo.com</a></span>,<span style="font-weight:bold;font-style:italic;color:rgb(156,0,92)"> <a href="mailto:jayantibright@gmail.com" target="_blank">jayantibright@gmail.com</a></span></span></div><div><span style="font-weight:bold;font-size:medium;font-family:'Courier New',courier,monaco,monospace,sans-serif">Ph. <a href="tel:(801)%20390-6997" value="+18013906997" target="_blank">8013906997</a></span></div></div></div>
            <div><br></div><div><br></div>
            
            <div id="m_-8519750199395975929m_4235253376202817533m_3284977983746319180ydp3e8dc46fyahoo_quoted_6072942761" class="m_-8519750199395975929m_4235253376202817533m_3284977983746319180ydp3e8dc46fyahoo_quoted">
                <div style="font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:13px;color:#26282a">
                    <div>----- Forwarded message -----</div>
                    <div><b>From:</b> jayanti pal <<a href="mailto:jiban_samudra18@yahoo.com" target="_blank">jiban_samudra18@yahoo.com</a>></div><div><b>To:</b> <a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a> <<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a>></div><div><b>Sent:</b> Tuesday 2 January 2018, 12:47:33 PM IST</div><div><b>Subject:</b> Fw: scatsat-1 data plotting</div><div><br></div>
                    <div><div id="m_-8519750199395975929m_4235253376202817533m_3284977983746319180ydp3e8dc46fyiv0608390740"><div><div style="font-family:courier new,courier,monaco,monospace,sans-serif;font-size:13px"><div><div><div>Sir</div><div><br clear="none"></div><div>I am new to ncl. I tried to plot scatsat-1 data with ncl. But figure is not correctly plotted.</div><div>I have attached the code I have used, Hdf file, actual plot (in color) and ncl plot (in black).</div><div><br clear="none"></div><div>Please help me. I have to plot those data urgently.</div><div><br clear="none"></div><br clear="none"></div><div><br clear="none"></div><div class="m_-8519750199395975929m_4235253376202817533m_3284977983746319180ydp3e8dc46fyiv0608390740ydpad98a390signature"><span style="font-weight:bold;font-size:medium;font-family:'Courier New',courier,monaco,monospace,sans-serif">Dr. Jayanti Pal</span><div><span style="font-size:medium;font-family:'Courier New',courier,monaco,monospace,sans-serif">Post-doc Fellow</span></div><div><span style="font-size:medium;font-family:'Courier New',courier,monaco,monospace,sans-serif">Department of Atmospheric Sciences</span></div><div><span style="font-size:medium;font-family:'Courier New',courier,monaco,monospace,sans-serif">Institute of Atmospheric and Environmental Sciences</span></div><div><span style="font-size:medium;font-family:'Courier New',courier,monaco,monospace,sans-serif">University of Calcutta</span></div><div><span style="font-size:medium;font-family:'Courier New',courier,monaco,monospace,sans-serif">Contact: <span style="font-style:italic;font-weight:bold;color:rgb(203,0,142)"><a href="mailto:jiban_samudra18@yahoo.com" target="_blank">jiban_samudra18@yahoo.com</a></span>,<span style="font-weight:bold;font-style:italic;color:rgb(156,0,92)"> <a href="mailto:jayantibright@gmail.com" target="_blank">jayantibright@gmail.com</a></span></span></div><div><span style="font-weight:bold;font-size:medium;font-family:'Courier New',courier,monaco,monospace,sans-serif">Ph. <a href="tel:(801)%20390-6997" value="+18013906997" target="_blank">8013906997</a></span></div></div></div>
            <div><br clear="none"></div><div><br clear="none"></div>
            
            <div class="m_-8519750199395975929m_4235253376202817533m_3284977983746319180ydp3e8dc46fyiv0608390740yqt2166443362" id="m_-8519750199395975929m_4235253376202817533m_3284977983746319180ydp3e8dc46fyiv0608390740yqt37620"><div class="m_-8519750199395975929m_4235253376202817533m_3284977983746319180ydp3e8dc46fyiv0608390740ydp84d5ae79yahoo_quoted" id="m_-8519750199395975929m_4235253376202817533m_3284977983746319180ydp3e8dc46fyiv0608390740ydp84d5ae79yahoo_quoted_5635597887">
                <div style="font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:13px;color:#26282a">
                    <div>----- Forwarded message -----</div>
                    <div><b>From:</b> jayanti pal <<a href="mailto:jiban_samudra18@yahoo.com" target="_blank">jiban_samudra18@yahoo.com</a>></div><div><b>To:</b> <a href="mailto:eoshelp@hdfgroup.org" target="_blank">eoshelp@hdfgroup.org</a> <<a href="mailto:eoshelp@hdfgroup.org" target="_blank">eoshelp@hdfgroup.org</a>></div><div><b>Sent:</b> Friday 22 December 2017, 12:28:59 PM IST</div><div><b>Subject:</b> scatsat-1 data plotting</div><div><br clear="none"></div>
                    <div><div id="m_-8519750199395975929m_4235253376202817533m_3284977983746319180ydp3e8dc46fyiv0608390740ydp84d5ae79yiv3642235653"><div><div style="font-family:courier new,courier,monaco,monospace,sans-serif;font-size:13px"><div><div>Sir</div><div><br clear="none"></div><div>I am new to ncl. I tried to plot scatsat-1 data with ncl. But figure is not correctly plotted.</div><div>I have attached the code I have used, Hdf file, actual plot (in color) and ncl plot (in black).</div><div><br clear="none"></div><div>Please help me. I have to plot those data urgently.</div><div><br clear="none"></div><div>Thanking you,<br clear="none"></div><div><br clear="none"></div><div class="m_-8519750199395975929m_4235253376202817533m_3284977983746319180ydp3e8dc46fyiv0608390740ydp84d5ae79yiv3642235653ydpb715be5dsignature"><span style="font-weight:bold;font-size:medium;font-family:'Courier New',courier,monaco,monospace,sans-serif">Dr. Jayanti Pal</span><div><span style="font-size:medium;font-family:'Courier New',courier,monaco,monospace,sans-serif">Post-doc Fellow</span></div><div><span style="font-size:medium;font-family:'Courier New',courier,monaco,monospace,sans-serif">Department of Atmospheric Sciences</span></div><div><span style="font-size:medium;font-family:'Courier New',courier,monaco,monospace,sans-serif">Institute of Atmospheric and Environmental Sciences</span></div><div><span style="font-size:medium;font-family:'Courier New',courier,monaco,monospace,sans-serif">University of Calcutta</span></div><div><span style="font-size:medium;font-family:'Courier New',courier,monaco,monospace,sans-serif">Contact: <span style="font-style:italic;font-weight:bold;color:rgb(203,0,142)"><a href="mailto:jiban_samudra18@yahoo.com" target="_blank">jiban_samudra18@yahoo.com</a></span>,<span style="font-weight:bold;font-style:italic;color:rgb(156,0,92)"> <a href="mailto:jayantibright@gmail.com" target="_blank">jayantibright@gmail.com</a></span></span></div><div><span style="font-weight:bold;font-size:medium;font-family:'Courier New',courier,monaco,monospace,sans-serif">Ph. <a href="tel:(801)%20390-6997" value="+18013906997" target="_blank">8013906997</a></span></div></div></div></div></div></div></div>
                </div>
            </div></div></div></div></div></div>
                </div>
            </div></div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div><br>______________________________<wbr>_________________<br>
ncl-install mailing list<br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-install" rel="noreferrer" target="_blank">http://mailman.ucar.edu/<wbr>mailman/listinfo/ncl-install</a><br>
<br></blockquote></div><br></div>