<div dir="ltr">Hi Ipshita,<div>You have the following in your resource list:</div><div><div>res@cnLevelSelectionMode  = "ManualLevels"   ; set manual contour levels</div><div>   res@cnMinLevelValF        =  -1           ; set min contour level</div><div>   res@cnMaxLevelValF        = 1       ; set max contour level</div><div>   res@cnLevelSpacingF       =  0.0001           ; set contour interval</div></div><div><br></div><div>That will result in 20,001 contour levels, and is likely beyond what NCL can plot. So I would adjust those numbers.</div><div><br></div><div>You are getting a mpFillOn error as you are callng gsn_csm_contour for your first plot. If you want to plot your data over a map you should call gsn_csm_contour_map instead. </div><div><br></div><div>Hope that all helps. If you have any further questions please respond to the ncl-talk email list.</div><div>Adam</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Aug 23, 2017 at 3:37 PM, Ipshita Majhi <span dir="ltr"><<a href="mailto:ipmajhi@alaska.edu" target="_blank">ipmajhi@alaska.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">Dear NCL,<div><br></div><div>I wanted to plot spatial trend and significance to but I am not overlay the plots. When I plot significance plot seperately it does not seem to have to right result. </div><div><br></div><div>I am getting errors:</div><div><div>******************************<wbr>******************************<wbr>******************************<wbr>*********************</div><div><br></div><div>SLATEC/NCL: DGAMMA: X IS 0: NERR=           4 : LEVEL=           2</div><div>SLATEC/NCL: DBETAI: X IS NOT IN THE RANGE (0,1): NERR=           1 : LEVEL=           2</div><div>SLATEC/NCL: DBETAI: P AND/OR Q IS LE ZERO: NERR=           2 : LEVEL=           2</div></div><div><br></div><div>******************************<wbr>******************************<wbr>******************************<wbr>*********************</div><div><br></div><div>I am getting the following as printVarSummary outptut:</div><div><br></div><div><div>Variable: rc</div><div>Type: float</div><div>Total Size: 4620 bytes</div><div>            1155 values</div><div>Number of Dimensions: 2</div><div>Dimensions and sizes:<span class="m_299643961520979384gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>[lat | 33] x [lon | 35]</div><div>Coordinates: </div><div>            lat: [ 6.5..38.5]</div><div>            lon: [66.5..100.5]</div><div>Number Of Attributes: 5</div><div>  _FillValue :<span class="m_299643961520979384gmail-Apple-tab-span" style="white-space:pre-wrap">        </span>-999</div><div>  nptxy :<span class="m_299643961520979384gmail-Apple-tab-span" style="white-space:pre-wrap">        </span><ARRAY of 1155 elements></div><div>  rstd :<span class="m_299643961520979384gmail-Apple-tab-span" style="white-space:pre-wrap">       </span><ARRAY of 1155 elements></div><div>  yintercept :<span class="m_299643961520979384gmail-Apple-tab-span" style="white-space:pre-wrap"> </span><ARRAY of 1155 elements></div><div>  tval :<span class="m_299643961520979384gmail-Apple-tab-span" style="white-space:pre-wrap">       </span><ARRAY of 1155 elements></div></div><div><br></div><div><br></div><div><div><br></div><div><div>Variable: prob</div></div><div>Type: float<br></div><div>Total Size: 4620 bytes</div><div>            1155 values</div><div>Number of Dimensions: 1</div><div>Dimensions and sizes:<span class="m_299643961520979384gmail-Apple-tab-span" style="white-space:pre-wrap">  </span>[1155]</div><div>Coordinates: </div></div><div><br></div><div><br></div><div>I get the following warnings</div><div><div>warning:ContourPlotSetValues: cnLevelSpacingF value causes level count to exceed maximum: using AUTOMATICLEVELS mode</div><div>warning:ContourPlotSetValues: cnLevelSpacingF value causes level count to exceed maximum: defaulting</div><div>warning:mpFillOn is not a valid resource in Trend_sig_griddedIMD_MAY_<wbr>contour at this time</div><div>warning:ContourPlotDraw: data boundary is out of range</div></div><div>******************************<wbr>******************************<wbr>*********</div><div><br></div><div>I am attaching the code and my plot with this email. If any more information is required I will be happy to provide it.</div><div>I will be grateful for any guidance</div><div><br></div><div>Best Regards</div><span class="HOEnZb"><font color="#888888"><div>Ipshita</div><div><br></div><div><br></div><div><br></div><div><div class="m_299643961520979384gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><br></div></div></div></div></div></div>
</div></font></span></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><br clear="all"><div><br></div>-- <br><div 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>
</div>