<div dir="ltr"> Thank you very much, sir. I used the following resources:<div><br></div><div> opt = True<br> opt@gsnShadeFillType = "pattern"<br> opt@gsnShadeLow = 17 ; stipple<br> opt@gsnShadeFillScaleF = 0.5 ; add extra density<br></div><div><br></div><div> plot = gsn_csm_contour_map(wks,r_sst, res) ; create plot<br> plot2 = gsn_csm_contour(wks,p, res2) <br> plot2 = gsn_contour_shade(plot2,0.05,999.,opt)\<br> <br> overlay (plot, plot2)<br> <br> draw(plot)<br> frame(wks)<br></div><div><br></div><div>However, I did not get output as stipple areas where p value is less than 0.05. I added the full code including Nino data in the attachment. Should I send the SST data (<a href="http://sst.mon.mean.nc">sst.mon.mean.nc</a>) via ftp?</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, 13 Jan 2024 at 06:55, Adam Phillips <<a href="mailto:asphilli@ucar.edu">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 Jalal,<div>As you are pattern filling, and the default is color filling, you need to set:</div><div>opt@gsnShadeFillType = "pattern" <br></div><div>I am also unclear what you mean by this statement:</div><div>"...to show the significance level as a shaded pattern where p value is less than 0.05 and 0.01"<br></div><div><br></div><div>Do you want to stipple areas less than .05? If so the following code should do that:</div><div> opt = True<br> opt@gsnShade<b>Low</b> = 17 ; stipple <br> opt@gsnShadeFillScaleF = 0.5 ; add extra density</div><div> plot2 = gsn_contour_shade(plot2,0.05,999.,opt)<br></div><div><br></div><div>If instead you want to stipple areas less than .01, you will need to modify the contour levels in your res2 resource list to have a contour at .01:</div><div> res2@cnMinLevelValF = 0.00 ; set min contour level<br> res2@cnMaxLevelValF = .10 ; set max contour level<br> res2@cnLevelSpacingF = 0.01 ; set contour spacing<br></div><div><div><br></div><div> opt = True<br> opt@gsnShade<b>Low</b> = 17 ; stipple<br> opt@gsnShadeFillScaleF = 0.5 ; add extra density</div><div> plot2 = gsn_contour_shade(plot2,0.01,999.,opt)\</div></div><div><br></div><div>Hope that answers your question. As always please respond to the ncl-talk email list with further questions.</div><div>Best,</div><div>Adam </div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jan 5, 2024 at 6:15 AM Md. Jalal Uddin 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">Dear all,<div><br></div><div>I have tried to use the gsn_contour_shade function to show the significance level as a shaded pattern where p value is less than 0.05 and 0.01. However, the output map does not show the shaded areas (please see the attached map). </div><div><br></div><div>Here are some codes:</div><div>r_sst = escorc(ano_nino,ano_sstSON(lat|:,lon|:,time|:)) ; ccr(lat,lon)<br>copy_VarCoords(ano_sstSON(0,:,:), r_sst)<br>r_sst@long_name = "Correlation: r_sst"<br> <br> p = rtest(r_sst,42,0)<br> copy_VarCoords(r_sst, p)<br> </div><div>opt = True<br>opt@gsnShadeHigh = 17 ; stipple<br>opt@gsnShadeFillScaleF = 0.5 ; add extra density<br>opt@gsnShadeFillDotSizeF = 0.002 ; make dots larger<br><br> plot = gsn_csm_contour_map(wks,r_sst, res) ; create plot <br> <br> plot2 = gsn_csm_contour(wks,p, res2) <br> plot2 = gsn_contour_shade(plot2,0.01,0.05,opt)<br> <br> overlay (plot, plot2)<br> <br> draw(plot)<br> frame(wks)<br></div><div><br></div><div>Please find the full code in the attached file.</div><div><br></div><div>Any suggestions would be appreciated.</div><div><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal"><font face="Verdana, sans-serif" color="#000000"><span style="font-size:12px"><b>Regards,</b></span></font></p><p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal"><font face="Verdana, sans-serif" color="#000000"><span style="font-size:12px">Dr. Jalal</span></font></p><p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal"><span style="font-size:9pt;font-family:Verdana,sans-serif"><font color="#5b9bd5"><b>Postdoctoral Researcher,</b> </font><font color="#000000">Typhoon Research Center, Jeju National University, South Korea</font></span></p><p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal"><span style="font-size:9pt;font-family:Verdana,sans-serif;color:rgb(91,155,213)"><b>PhD</b></span><span style="font-size:9pt;font-family:Verdana,sans-serif;color:black"> in Atmospheric Physics and Atmospheric Environment, NUIST, China</span><br></p><p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal"><span style="font-size:9pt;font-family:Verdana,sans-serif;color:rgb(255,192,0)"><b>M.Sc.</b></span><span style="font-size:9pt;font-family:Verdana,sans-serif;color:black"> in Applied Meteorology, NUIST, China</span></p><p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal"><span style="font-size:9pt;font-family:Verdana,sans-serif;color:red"><b>B.Sc.</b></span><span style="font-size:9pt;font-family:Verdana,sans-serif;color:black"> in Disaster Management, PSTU, Bangladesh</span></p><p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal"><span style="font-size:9pt;font-family:Verdana,sans-serif;color:black"><b>Founder and Director</b> of Research Society</span></p><p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal"><span style="font-size:9pt;font-family:Verdana,sans-serif;color:black"><b>Website</b>: </span><font color="#000000" face="Verdana, sans-serif"><span style="font-size:12px"><a href="https://researchsociety20.org/founder-and-director/" target="_blank">https://researchsociety20.org/founder-and-director/</a></span></font></p><p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal"><font color="#000000" face="Verdana, sans-serif"><span style="font-size:12px"><b>E-mails</b>: <a href="mailto:founder-and-director@researchsociety20.org" target="_blank">founder-and-director@researchsociety20.org</a></span></font></p><p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal"><font color="#000000" face="Verdana, sans-serif"><span style="font-size:12px"> <a href="mailto:jalal@jejunu.ac.kr" target="_blank">jalal@jejunu.ac.kr</a></span></font></p><p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal"><font color="#000000" face="Verdana, sans-serif"><span style="font-size:12px"> <a href="mailto:20205103002@nuist.edu.cn" target="_blank">20205103002@nuist.edu.cn</a></span></font></p></div></div></div></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><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="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 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><br clear="all"><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal"><font face="Verdana, sans-serif" color="#000000"><span style="font-size:12px"><b>Regards,</b></span></font></p><p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal"><font face="Verdana, sans-serif" color="#000000"><span style="font-size:12px">Dr. Jalal</span></font></p><p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal"><span style="font-size:9pt;font-family:Verdana,sans-serif"><font color="#5b9bd5"><b>Postdoctoral Researcher,</b> </font><font color="#000000">Typhoon Research Center, Jeju National University, South Korea</font></span></p><p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal"><span style="font-size:9pt;font-family:Verdana,sans-serif;color:rgb(91,155,213)"><b>PhD</b></span><span style="font-size:9pt;font-family:Verdana,sans-serif;color:black"> in Atmospheric Physics and Atmospheric Environment, NUIST, China</span><br></p><p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal"><span style="font-size:9pt;font-family:Verdana,sans-serif;color:rgb(255,192,0)"><b>M.Sc.</b></span><span style="font-size:9pt;font-family:Verdana,sans-serif;color:black"> in Applied Meteorology, NUIST, China</span></p><p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal"><span style="font-size:9pt;font-family:Verdana,sans-serif;color:red"><b>B.Sc.</b></span><span style="font-size:9pt;font-family:Verdana,sans-serif;color:black"> in Disaster Management, PSTU, Bangladesh</span></p><p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal"><span style="font-size:9pt;font-family:Verdana,sans-serif;color:black"><b>Founder and Director</b> of Research Society</span></p><p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal"><span style="font-size:9pt;font-family:Verdana,sans-serif;color:black"><b>Website</b>: </span><font color="#000000" face="Verdana, sans-serif"><span style="font-size:12px"><a href="https://researchsociety20.org/founder-and-director/" target="_blank">https://researchsociety20.org/founder-and-director/</a></span></font></p><p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal"><font color="#000000" face="Verdana, sans-serif"><span style="font-size:12px"><b>E-mails</b>: <a href="mailto:founder-and-director@researchsociety20.org" target="_blank">founder-and-director@researchsociety20.org</a></span></font></p><p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal"><font color="#000000" face="Verdana, sans-serif"><span style="font-size:12px"> <a href="mailto:jalal@jejunu.ac.kr" target="_blank">jalal@jejunu.ac.kr</a></span></font></p><p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal"><font color="#000000" face="Verdana, sans-serif"><span style="font-size:12px"> <a href="mailto:20205103002@nuist.edu.cn" target="_blank">20205103002@nuist.edu.cn</a></span></font></p></div></div>