<div dir="ltr"><div class="gmail_default" style="font-size:small">Hi Ipsita,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">I&#39;m not sure what you mean by &quot;<span style="font-size:12.8px"> </span><span style="font-size:12.8px">even though the plot is not coming with a clear contours.</span><span style="font-size:12.8px"> &quot;</span></div><div class="gmail_default" style="font-size:small"><br class="gmail-Apple-interchange-newline"><span style="font-size:12.8px">The plot you included doesn&#39;t look particularly wrong, so can you explain what you were expecting?</span><span style="font-size:12.8px"><br></span></div><div class="gmail_default" style="font-size:small"><span style="font-size:12.8px"><br></span></div><div class="gmail_default"><span style="font-size:12.8px">The script you attached does not include any plotting code, so I can&#39;t help you much there. </span></div><div class="gmail_default"><span style="font-size:12.8px"><br></span></div><div class="gmail_default"><span style="font-size:12.8px">Can you be more specific about the problem?  Also, it would really help if you can provide the data and the plotting script in the usual way (ftp).</span></div><div class="gmail_default"><span style="font-size:12.8px"><br></span></div><div class="gmail_default"><span style="font-size:12.8px">Thanks,</span></div><div class="gmail_default"><span style="font-size:12.8px"><br></span></div><div class="gmail_default"><span style="font-size:12.8px">--Mary</span></div><div class="gmail_default"><span style="font-size:12.8px"><br></span></div><div class="gmail_default" style="font-size:small"><p class="gmail-p1"><span class="gmail-s1"></span></p><p class="gmail-p1"><span class="gmail-s1"><br></span></p></div><div class="gmail_default" style="font-size:small"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jul 13, 2017 at 7:04 AM, Ipsita Putatunda <span dir="ltr">&lt;<a href="mailto:ipsita.putatunda@gmail.com" target="_blank">ipsita.putatunda@gmail.com</a>&gt;</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>Thank you Dave for your suggestions. I tried to plot the data, but it is coming only if I plot setting resource &quot;RasterFill&quot;, and even though the plot is not coming with a clear contours. Don&#39;t know where I am making mistake. I tried to regrid the data using &quot;triple2grid&quot; but then all the values are coming undefined. I am attaching herewith my script and the figure I have got after plotting. Any help will be appreciated.<br></div>Thanks in advance.<span class="HOEnZb"><font color="#888888"><br></font></span></div><span class="HOEnZb"><font color="#888888"><br>Ipsita<br><div><div> <br></div></div></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jul 13, 2017 at 4:19 AM, Dave Allured - NOAA Affiliate <span dir="ltr">&lt;<a href="mailto:dave.allured@noaa.gov" target="_blank">dave.allured@noaa.gov</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Ipsita,<div><br></div><div>This HDF5 file has coordinate arrays Colatitude and Longitude.  The units of each are degrees, not pixels.  However, please notice two anomalies:</div><div><br></div><div>1.  The coordinates are packed with an unusual scale/offset packing scheme.  The packing parameters are in attributes Scale_Factor and Add_Offset, which are not CF standard attributes.  However, the intent is fairly clear.  To unpack each coordinate value, just multiply by the Scale_Factor.</div><div><br></div><div>The Add_Offset&#39;s are zero in this case, and can therefore be ignored.  That is good, so that we do not have to worry about whether the offset would be applied before or after the scale factor.</div><div><br></div><div>This will produce colatitudes in the normal range 60 to 120 degrees, and longitudes in the normal range 0 to 360 degrees.</div><div><br></div><div>2.  I assume that the colatitudes conform to the current definition on Wikipedia.  You might confirm this with the data provider, if you wish.  This definition is the number of degrees southward from the north pole.  The colatitude values unpacked are in the range 60 to 120 degrees, which translate to 30 north to 30 south in normal latitude units.</div><span class="m_-8847643633996458601HOEnZb"><font color="#888888"><div><br></div><div>--Dave</div></font></span><div><div class="m_-8847643633996458601h5"><div><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jul 12, 2017 at 12:08 AM, Ipsita Putatunda <span dir="ltr">&lt;<a href="mailto:ipsita.putatunda@gmail.com" target="_blank">ipsita.putatunda@gmail.com</a>&gt;</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>The Latitude (here Colatitude) and Longitude data are in pixels which is -30 to 30 degree and 0 to 360 degree. Please find the file I am attaching herewith.<br><br></div>Ipsita<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jul 11, 2017 at 10:30 PM, Dave Allured - NOAA Affiliate <span dir="ltr">&lt;<a href="mailto:dave.allured@noaa.gov" target="_blank">dave.allured@noaa.gov</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span><span style="font-size:14px">Ipsita,</span><div style="font-size:14px"><br></div><div style="font-size:14px">How is your input data georeferenced?  Does the input file include coordinate variables?  That is the most common way to get lats and lons for individual pixels.</div><div style="font-size:14px"><br></div><div style="font-size:14px">--Dave</div></span><div style="font-size:14px">(Please reply to the mailing list.)</div><div style="font-size:14px"><br></div><div class="gmail_extra"><br><div class="gmail_quote"><span>On Tue, Jul 11, 2017 at 12:22 AM, Ipsita Putatunda <span dir="ltr">&lt;<a href="mailto:ipsita.putatunda@gmail.com" target="_blank">ipsita.putatunda@gmail.com</a>&gt;</span> wrote:<br></span><div><div class="m_-8847643633996458601m_965789795611814915m_-8075799568858523074m_7855867607137495160h5"><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></div>  I need help in converting pixels to Lat/Lon grid. Is there any function or way in ncl for doing this operation? Please suggest.<br><br></div>Thanks in advance,<br></div>Ipsita</div></blockquote></div></div></div></div></div></blockquote></div></div></blockquote></div></div></div></div></div>
</blockquote></div><br></div>
</div></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>