<div dir="ltr">Hi Alan,<div><br></div><div>I'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 = "longitude" ;</div><div><span class="" style="white-space:pre">                </span>lon:long_name = "longitude" ;</div><div><span class="" style="white-space:pre">                </span>lon:units = "degrees_east" ;</div><div><span class="" style="white-space:pre">                </span>lon:axis = "X" ;</div><div><span class="" style="white-space:pre">        </span>double lat(lat) ;</div><div><span class="" style="white-space:pre">                </span>lat:standard_name = "latitude" ;</div><div><span class="" style="white-space:pre">                </span>lat:long_name = "latitude" ;</div><div><span class="" style="white-space:pre">                </span>lat:units = "degrees_north" ;</div><div><span class="" style="white-space:pre">                </span>lat:axis = "Y" ;</div><div><span class="" style="white-space:pre">        </span>double time(time) ;</div><div><span class="" style="white-space:pre">                </span>time:standard_name = "time" ;</div><div><span class="" style="white-space:pre">                </span>time:units = "days since 1979-01-01 12:00:00" ;</div><div><span class="" style="white-space:pre">                </span>time:calendar = "standard" ;</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 = "Climate Data Interface version 1.6.5 (<a href="http://code.zmaw.de/projects/cdi">http://code.zmaw.de/projects/cdi</a>)" ;</div><div><span class="" style="white-space:pre">                </span>:Conventions = "CF-1.4" ;</div><div><span class="" style="white-space:pre">                </span>:history = "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",</div><div><span class="" style="white-space:pre">                        </span>"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",</div><div><span class="" style="white-space:pre">                        </span>"Sun Mar 01 01:16:44 2015: cdo -O -s -f nc input,r1x1 <a href="http://balanco.tmp.nc">balanco.tmp.nc</a>" ;</div><div><span class="" style="white-space:pre">                </span>:CDO = "Climate Data Operators version 1.6.5 (<a href="http://code.zmaw.de/projects/cdo">http://code.zmaw.de/projects/cdo</a>)" ;</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"><<a href="mailto:abrammer@albany.edu" target="_blank">abrammer@albany.edu</a>></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'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&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"><<a href="mailto:jgmsantos@gmail.com" target="_blank">jgmsantos@gmail.com</a>></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'm trying to insert shaded area in my dataset observed using the gsn_add_polygon function, but I'm not getting. I don't get errors and the shaded area don't appear.</div><div><br></div><div>My files are in attached.</div><div><br></div><div>I'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>