<div dir="ltr">Hi Alan,<div><br></div><div>I&#39;ll take a look in your sugestion. Thanks.<br><div><br></div><div>The informations about my file using the ncdump</div><div><br></div><div><div>netcdf fluxos.ERAI {</div><div>dimensions:</div><div><span class="" style="white-space:pre">        </span>lon = 1 ;</div><div><span class="" style="white-space:pre">        </span>lat = 1 ;</div><div><span class="" style="white-space:pre">        </span>time = UNLIMITED ; // (12 currently)</div><div>variables:</div><div><span class="" style="white-space:pre">        </span>double lon(lon) ;</div><div><span class="" style="white-space:pre">                </span>lon:standard_name = &quot;longitude&quot; ;</div><div><span class="" style="white-space:pre">                </span>lon:long_name = &quot;longitude&quot; ;</div><div><span class="" style="white-space:pre">                </span>lon:units = &quot;degrees_east&quot; ;</div><div><span class="" style="white-space:pre">                </span>lon:axis = &quot;X&quot; ;</div><div><span class="" style="white-space:pre">        </span>double lat(lat) ;</div><div><span class="" style="white-space:pre">                </span>lat:standard_name = &quot;latitude&quot; ;</div><div><span class="" style="white-space:pre">                </span>lat:long_name = &quot;latitude&quot; ;</div><div><span class="" style="white-space:pre">                </span>lat:units = &quot;degrees_north&quot; ;</div><div><span class="" style="white-space:pre">                </span>lat:axis = &quot;Y&quot; ;</div><div><span class="" style="white-space:pre">        </span>double time(time) ;</div><div><span class="" style="white-space:pre">                </span>time:standard_name = &quot;time&quot; ;</div><div><span class="" style="white-space:pre">                </span>time:units = &quot;days since 1979-01-01 12:00:00&quot; ;</div><div><span class="" style="white-space:pre">                </span>time:calendar = &quot;standard&quot; ;</div><div><span class="" style="white-space:pre">        </span>float fnorte(time, lat, lon) ;</div><div><span class="" style="white-space:pre">                </span>fnorte:code = 3 ;</div><div><span class="" style="white-space:pre">        </span>float fsul(time, lat, lon) ;</div><div><span class="" style="white-space:pre">                </span>fsul:code = 5 ;</div><div><span class="" style="white-space:pre">        </span>float fleste(time, lat, lon) ;</div><div><span class="" style="white-space:pre">                </span>fleste:code = 2 ;</div><div><span class="" style="white-space:pre">        </span>float foeste(time, lat, lon) ;</div><div><span class="" style="white-space:pre">                </span>foeste:code = 4 ;</div><div><span class="" style="white-space:pre">        </span>float fbalanco(time, lat, lon) ;</div><div><span class="" style="white-space:pre">                </span>fbalanco:code = 1 ;</div><div><br></div><div>// global attributes:</div><div><span class="" style="white-space:pre">                </span>:CDI = &quot;Climate Data Interface version 1.6.5 (<a href="http://code.zmaw.de/projects/cdi">http://code.zmaw.de/projects/cdi</a>)&quot; ;</div><div><span class="" style="white-space:pre">                </span>:Conventions = &quot;CF-1.4&quot; ;</div><div><span class="" style="white-space:pre">                </span>:history = &quot;Sun Mar 01 01:16:49 2015: cdo -O -s merge <a href="http://norte.nc">norte.nc</a> <a href="http://sul.nc">sul.nc</a> <a href="http://leste.nc">leste.nc</a> <a href="http://oeste.nc">oeste.nc</a> <a href="http://balanco.nc">balanco.nc</a> <a href="http://fluxos.ERAI.nc">fluxos.ERAI.nc</a>\n&quot;,</div><div><span class="" style="white-space:pre">                        </span>&quot;Sun Mar 01 01:16:44 2015: cdo -O -s -r -ymonmean -monmean -setcalendar,standard -settaxis,1979-01-01,12:00:00,1day -setcode,1 -chname,var1,fbalanco <a href="http://balanco.tmp.nc">balanco.tmp.nc</a> <a href="http://balanco.nc">balanco.nc</a>\n&quot;,</div><div><span class="" style="white-space:pre">                        </span>&quot;Sun Mar 01 01:16:44 2015: cdo -O -s -f nc input,r1x1 <a href="http://balanco.tmp.nc">balanco.tmp.nc</a>&quot; ;</div><div><span class="" style="white-space:pre">                </span>:CDO = &quot;Climate Data Operators version 1.6.5 (<a href="http://code.zmaw.de/projects/cdo">http://code.zmaw.de/projects/cdo</a>)&quot; ;</div><div>}</div></div><div><br></div><div>Guilherme.</div></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><b><font>Guilherme Martins</font></b></div><div><font><a href="https://sites.google.com/site/jgmsantos/" target="_blank">https://sites.google.com/site/jgmsantos</a><br></font><div><div><div></div></div></div></div><div><br></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">2015-03-01 15:25 GMT-03:00 Alan Brammer <span dir="ltr">&lt;<a href="mailto:abrammer@albany.edu" target="_blank">abrammer@albany.edu</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hard to know without the file information. <div>It looks like your plotting the data on ax axis of  1-12.  The x points of your polygon therefore need to be with respect to this 1-12 axis.  Whereas you&#39;re defining them based on the time coordinate of your data which I presume is not 1-12 currently.  <br></div><div><div><br></div><div>Either scale the x coordinates of the polygon to match the 1-12 axis or change the plot to be with respect to y1&amp;time. </div><div><br></div><div>Throw a print(xp)  between line 81 and the end and if the values are not between 1-12 then the polygon is being plotted but somewhere else not within the plot bounds.  </div><div><br></div><div>Hopefully that makes sense. <span class="HOEnZb"><font color="#888888"><br></font></span></div><span class="HOEnZb"><font color="#888888"><div><br></div><div><br></div><div>~Alan.</div><div><br></div></font></span></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Sun, Mar 1, 2015 at 12:08 PM, Guilherme Martins <span dir="ltr">&lt;<a href="mailto:jgmsantos@gmail.com" target="_blank">jgmsantos@gmail.com</a>&gt;</span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div><div>Hi NCL users!</div><div><br></div><div>I&#39;m trying to insert shaded area in my dataset observed using the gsn_add_polygon function, but I&#39;m not getting. I don&#39;t get errors and the shaded area don&#39;t appear.</div><div><br></div><div>My files are in attached.</div><div><br></div><div>I&#39;m using ncl 6.2.1.</div><div><br></div><div>Any help is very appreciated.</div><span><font color="#888888"><div><br></div><div><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><b><font>Guilherme Martins</font></b></div><div><font><a href="https://sites.google.com/site/jgmsantos/" target="_blank">https://sites.google.com/site/jgmsantos</a><br></font><div><div><div></div></div></div></div><div><br></div></div></div></div></div></div></div></div>
</font></span></div></div>
<br></div></div><span class="">_______________________________________________<br>
ncl-talk mailing list<br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
<br></span></blockquote></div><br></div>
</blockquote></div><br></div>