<div dir="auto">Thanks Adam for all your help.</div><div dir="auto">Debasish</div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Nov 15, 2022 at 1:56 PM Adam Phillips <<a href="mailto:asphilli@ucar.edu">asphilli@ucar.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Debasish,<div>I have downloaded your <a href="http://simple3.nc" target="_blank">simple3.nc</a> file, and modified and ran your Test_lambert2.ncl file. I believe you were plotting the data correctly, and I am attaching my script and resulting plot. In short, I believe your data spans a very narrow range from 99.9999->100.0001. When I ran your <a href="http://simple3.nc" target="_blank">simple3.nc</a> array dust array through a simple statistical function of mine (that is similar to <a href="https://www.ncl.ucar.edu/Document/Functions/Contributed/stat_dispersion.shtml" target="_blank">stat_dispersion</a>), here's what it shows:</div><div><br></div><div>Type: double</div>Total Size: 15241128 bytes<br> 1905141 values<br>Number of Dimensions: 2<br>Dimensions and sizes: [grid_yt | 1059] x [grid_xt | 1799]<br>Coordinates: <br> grid_yt: [ 0..3174000]<br> grid_xt: [ 0..5394000]<br>Number Of Attributes: 8<br> _FillValue : -10000000000<br> pfull : 3.176593<br> time : 0.01666666666666667<br> cell_methods : time: point<br> long_name : dust mixing ratio<br> output_file : dyn<br> units : ug/kg<br> missing_value : -10000000000<br>(0) Min of array = 99.99990879805409, max = 100.0001006445927, mean = 100.0000030975023, std dev = 9.552738461320711e-06<br>(0) 1 std dev range =99.99999354476387:100.0000126502408 (68%)<br>(0) 2 std dev range =99.99998399202541:100.0000222029793 (95%)<br>(0) 3 std dev range =99.99997443928694:100.0000317557177 (99%)<br>(0) No missing data is present in this array<div><br></div><div>Hope this helps!</div></div><div dir="ltr"><div>Adam</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Nov 11, 2022 at 6:04 PM Debasish Hazra <<a href="mailto:debasish.hazra5@gmail.com" target="_blank">debasish.hazra5@gmail.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 dir="ltr"><div>Hi Adam,</div><div>Thanks. I have put first 8 variables as you suggested and put them in google drive (as putting in ftp failed again) : <br></div><div><a href="https://drive.google.com/drive/folders/1FCFWNVf95sLpjhBYfMt7zZyqz_hiNZ2i?usp=sharing" target="_blank">https://drive.google.com/drive/folders/1FCFWNVf95sLpjhBYfMt7zZyqz_hiNZ2i?usp=sharing</a></div><div><br></div><div>and shared it among ncl-talk group. I have worked on the ncl script and attached the current code and figure. <br></div><div>Any help on this is appreciated.</div><div>Debasish<br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Nov 11, 2022 at 2:38 PM Adam Phillips <<a href="mailto:asphilli@ucar.edu" target="_blank">asphilli@ucar.edu</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 dir="ltr">Hi Debasish,<div>As a reminder, please do not write to any ncl-talk contributor directly unless asked to do so. This way the community can see the complete discussion.</div><div>The ftp site seemingly works for some people but fails for others, and there unfortunately is nothing that can be done about it. The best way forward is for ncl-talk participants to reduce the size of their data file to a size less than 15MB, and to email the file to ncl-talk, as you have done here.</div><div><br></div><div>With regards to the file you sent (<a href="http://simple2.nc" target="_blank">simple2.nc</a>): The file does not include variables that are needed to correctly plot the data. For example, the lat and lon arrays were not included. Please include the first 8 variables shown in your ncdump output shown in your original message.</div><div><br></div><div>Finally, you say the plot did not work, but ncl-talk needs more information to be able to help. What did not work? Was a plot created? If so, was the data displayed incorrectly? Were there any error messages returned to the terminal? If so, what were they? </div><div><br></div><div>Unfortunately, less folks are participating in ncl-talk discussions, and there are no longer any NCAR staff that are paid to respond. The more information users provide in initial ncl-talk queries, the cleaner/easier the included script is to inspect, the better the odds are that the query will be answered. </div><div>Adam</div><div><br></div><div> </div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Nov 9, 2022 at 11:11 AM Debasish Hazra <<a href="mailto:debasish.hazra5@gmail.com" target="_blank">debasish.hazra5@gmail.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 dir="ltr"><div>I am not able to put the full data file on ucar ftp. But extracted the variable in 2D and attached in the email. <br></div><div>Thanks</div><div>Debasish<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Nov 9, 2022 at 10:55 AM Debasish Hazra <<a href="mailto:debasish.hazra5@gmail.com" target="_blank">debasish.hazra5@gmail.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 dir="ltr"><div>Thanks Adam, unfortunately It did not work. I have attached a tried script . I ma trying to put data in ftp, using this link <a href="https://www.ncl.ucar.edu/ftp_files.shtml" target="_blank">https://www.ncl.ucar.edu/ftp_files.shtml</a> .But is not working. <br></div><div>Any help is appreciated. <br></div><div>Thanks,<br></div><div>Debasish. <br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Nov 7, 2022 at 4:28 PM Adam Phillips <<a href="mailto:asphilli@ucar.edu" target="_blank">asphilli@ucar.edu</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 dir="ltr">Hi Debasish,<div>I do not have any experience working with lambert_conformal gridded data, but looking at your ncdump output there are variables named lat and lon that are 2D variables that I think you can use to plot the data directly using the lat2d/lon2d assignment method. </div><div>I would try this:</div><div><br></div><div>dustsfc = flt2dble(a1->dust)<br>lev = a1->pfull <br></div><div>dustsfc2@lat2d = a1->lat<br>dustsfc2@lon2d = a1->lon<br></div><div>labes = (/"Dust conc(ug/kg) at surface : 00FH"/)<br><br> wks_type = "png"<br></div><div>..... (continue using the rest of your script)</div><div><br></div><div>If that does not work I would recommend creating a new netCDF file that only contains a single 3D variable, along with the first 8 variables shown in your ncdump output (pfull->lat), and send that new file to the ncl-talk email list. Include your most recent script and any error messages that you are getting as well. </div><div>Good luck,</div><div>Adam</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Nov 7, 2022 at 12:35 PM Debasish Hazra via ncl-talk <<a href="mailto:ncl-talk@mailman.ucar.edu" target="_blank">ncl-talk@mailman.ucar.edu</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 dir="ltr">
<div>Hi,</div><div>I am trying to plot variable which is in
lambert_conformal grid, but I am not able to generate the plot. Attached
is ncl_filedump and ncl script.Can anyone point out how to do it.
Thanks</div><font color="#888888"><div><br></div><div>Debasish.</div></font>
</div>
_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@mailman.ucar.edu" target="_blank">ncl-talk@mailman.ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="https://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">https://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div><div><span><font color="#888888">Adam Phillips <br></font></span></div><span><font color="#888888">Associate Scientist IV, Climate Analysis Section</font></span></div><div><span><font color="#888888">Climate and Global Dynamics Laboratory<br></font></span></div></div><div><span style="color:rgb(136,136,136)">National Center for Atmospheric Research</span><span><font color="#888888"><br></font></span></div><div><span><font color="#888888"><a href="http://www.cgd.ucar.edu/staff/asphilli/" target="_blank">www.cgd.ucar.edu/staff/asphilli/</a> </font></span></div><span><font color="#888888"></font></span><div><div><span><font color="#888888"><br></font></span><div><span><font color="#888888"><a href="http://www.cgd.ucar.edu/staff/asphilli" target="_blank"></a></font></span></div></div></div></div></div></div></div></div></div></div></div>
</blockquote></div>
</blockquote></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div><div><span><font color="#888888">Adam Phillips <br></font></span></div><span><font color="#888888">Associate Scientist IV, Climate Analysis Section</font></span></div><div><span><font color="#888888">Climate and Global Dynamics Laboratory<br></font></span></div></div><div><span style="color:rgb(136,136,136)">National Center for Atmospheric Research</span><span><font color="#888888"><br></font></span></div><div><span><font color="#888888"><a href="http://www.cgd.ucar.edu/staff/asphilli/" target="_blank">www.cgd.ucar.edu/staff/asphilli/</a> </font></span></div><span><font color="#888888"></font></span><div><div><span><font color="#888888"><br></font></span><div><span><font color="#888888"><a href="http://www.cgd.ucar.edu/staff/asphilli" target="_blank"></a></font></span></div></div></div></div></div></div></div></div></div></div></div>
</blockquote></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div><div><span><font color="#888888">Adam Phillips <br></font></span></div><span><font color="#888888">Associate Scientist IV, Climate Analysis Section</font></span></div><div><span><font color="#888888">Climate and Global Dynamics Laboratory<br></font></span></div></div><div><span style="color:rgb(136,136,136)">National Center for Atmospheric Research</span><span><font color="#888888"><br></font></span></div><div><span><font color="#888888"><a href="http://www.cgd.ucar.edu/staff/asphilli/" target="_blank">www.cgd.ucar.edu/staff/asphilli/</a> </font></span></div><span><font color="#888888"></font></span><div><div><span><font color="#888888"><br></font></span><div><span><font color="#888888"><a href="http://www.cgd.ucar.edu/staff/asphilli" target="_blank"></a></font></span></div></div></div></div></div></div></div></div></div></div></div>
</blockquote></div></div>