<div dir="ltr">Hi Jalal,<div>Can you run this part of your script and send the results to ncl-talk? Also, please include a clean, complete script so we can see how you are creating the plot. </div><div><div>f = addfile("<a href="http://non_cy.nc/" target="_blank">non_cy.nc</a>", "r")</div><div> prc = f->pre(:,{-5:30},{40:100})</div><div> prc@long_name = "precipitation"</div><div> prc@units = "mm"</div><div> prc&longitude@units = "degrees_east"</div><div> prc&latitude@units = "degrees_north"</div><div> printVarSummary(prc)</div></div><div> printVarSummary(prc&latitude)</div><div> printVarSummary(prc&longitude)</div><div><br></div><div>As always please respond to ncl-talk.</div><div>Adam</div><div><br></div><div> </div><br class="gmail-Apple-interchange-newline"><div> </div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Sun, Sep 9, 2018 at 10:11 PM Md. Jalal Uddin <<a href="mailto:dmjalal90@gmail.com">dmjalal90@gmail.com</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"><div dir="ltr"><div dir="ltr"><div>Hi all,</div><div>I am getting the following errors:</div><div>(0)<span style="white-space:pre-wrap"> </span>check_for_y_lat_coord: Warning: Data either does not contain</div><div>(0)<span style="white-space:pre-wrap"> </span>a valid latitude coordinate array or doesn't contain one at all.</div><div>(0)<span style="white-space:pre-wrap"> </span>A valid latitude coordinate array should have a 'units'</div><div>(0)<span style="white-space:pre-wrap"> </span>attribute equal to one of the following values: </div><div>(0)<span style="white-space:pre-wrap"> </span> 'degrees_north' 'degrees-north' 'degree_north' 'degrees north' 'degrees_N' 'Degrees_north' 'degree_N' 'degreeN' 'degreesN' 'deg north'</div><div>(0)<span style="white-space:pre-wrap"> </span>check_for_lon_coord: Warning: Data either does not contain</div><div>(0)<span style="white-space:pre-wrap"> </span>a valid longitude coordinate array or doesn't contain one at all.</div><div>(0)<span style="white-space:pre-wrap"> </span>A valid longitude coordinate array should have a 'units'</div><div>(0)<span style="white-space:pre-wrap"> </span>attribute equal to one of the following values: </div><div>(0)<span style="white-space:pre-wrap"> </span> 'degrees_east' 'degrees-east' 'degree_east' 'degrees east' 'degrees_E' 'Degrees_east' 'degree_E' 'degreeE' 'degreesE' 'deg east'</div><div><br></div><div>I tried to fix these problems by:</div><div><div>f = addfile("<a href="http://non_cy.nc" target="_blank">non_cy.nc</a>", "r")</div><div> prc = f->pre(:,{-5:30},{40:100})</div><div> prc@long_name = "precipitation"</div><div> prc@units = "mm"</div><div> prc&longitude@units = "degrees_east"</div><div> prc&latitude@units = "degrees_north"</div><div> ;printVarSummary(prc)</div><div> </div><div> mean_prc = dim_avg_n_Wrap(prc,0)</div><div> mean_prc@long_name = "precipitation"</div><div> mean_prc@units = "mm"</div><div> mean_prc&longitude@units = "degrees_east"</div><div> mean_prc&latitude@units = "degrees_north"</div><div> </div></div><div>However, I am getting those errors again. How can I solve these problems? Please find the script herewith. I used TRMM daily rainfall data.</div><div><br></div><div>Best Regards</div><div>Jalal</div>-- <br><div dir="ltr" class="m_-3158424583002961196gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><font color="#000000" size="2"><b>Md. Jalal Uddin</b></font></div><div dir="ltr">MSc in Applied Meteorology (English Language)<br>Nanjing University of Information, Science and Technology, China</div><div dir="ltr"><span style="letter-spacing:0.2px">B.Sc. in Disaster Management (Hons.) </span><br></div><div dir="ltr"><span style="letter-spacing:0.2px">Patuakhali Science and Technology University, Bangladesh.</span></div><div dir="ltr">Cell: +8613260859092, <span style="letter-spacing:0.2px">+8801792052662</span></div><div dir="ltr"><font size="2">Web: <a href="http://www.dmjalal90.weebly.com" target="_blank">www.dmjalal90.weebly.com</a> <br>Facebook: jalal.hossen.39 <br>LinkedIn: <a href="https://bd.linkedin.com/in/md-jalal-uddin-80a026b0" target="_blank">https://bd.linkedin.com/in/md-jalal-uddin-80a026b0</a> <br>Twitter: dmjalal90 <br>Skype: dmjalal90</font><br></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu" target="_blank">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/mailman/listinfo/ncl-talk</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><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, </font></span><span><font color="#888888">Climate and Global Dynamics Laboratory, NCAR<br></font></span></div></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><span><font color="#888888">303-497-1726 </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>