<div dir="ltr">Thank you very much Mary, I solved my doubts. It works really well now.<br><br>Best regards, <br>Sebastián.</div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Mar 4, 2015 at 6:58 PM, Mary Haley <span dir="ltr"><<a href="mailto:haley@ucar.edu" target="_blank">haley@ucar.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"><div class="gmail_default" style="font-size:small"><span style="font-size:12.8000001907349px">Sebastián,</span><br></div><div class="gmail_default" style="font-size:small"><span style="font-size:12.8000001907349px"><br></span></div><div class="gmail_default" style="font-size:small"><span style="font-size:12.8000001907349px">Regarding your questions:</span></div><div class="gmail_default"><span class=""><ul><li><span style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">I also tried the animate_2.ncl script, but I have some doubts, what exactly are the coordinates that are ploted?</span><br></span></li></ul></span><div><span style="font-size:12.8000001907349px">It looks like this example was never finished! It just generates a contour plot, and not a contour plot over a map. The coordinates you're seeing are just index values into the the data. The 2D field is 369 x 369, so you are seeing index values from 0 to 368 on both axes.</span></div><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px">I've updated this script and the images/movie to draw these contours over a map, so please check it out again.</span></div><span class=""><div><span style="font-size:12.8000001907349px"><br></span></div><div><ul><li><span style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">If i want to plot a vectormap, the documentation says that u,v velocities must be 2D, but my variables have the following dimensions ( Time, Lat,Lon), there is any command to set this or I need to do this manually?</span><br></span></li></ul><div><br></div></div></span><div><span style="font-size:12.8000001907349px">You should be able to use "gsn_csm_vector_map" close to the same way that "gsn_csm_contour_map" is being used, except instead of one 2D arrays, you have two 2D arrays. You will need to subscript on time, just as the "animate_2.ncl" does (which subscripts across levels). Go to the "vectors" examples page for some help on this:</span></div><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px"><a href="http://www.ncl.ucar.edu/Applications/vector.shtml" target="_blank">http://www.ncl.ucar.edu/Applications/vector.shtml</a></span><br></div><div><span style="font-size:12.8000001907349px"><br></span></div><div><span class=""><ul><li><span style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">Finally, the animate_2.ncl plot temperatures at one time(I guess) for each pressure level, how can I get variables related to the pressure levels.</span><br></span></li></ul></span><div><span style="font-size:12.8000001907349px">I'm not sure what you mean by this question, "related to the pressure levels".</span></div></div><span class="HOEnZb"><font color="#888888"><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px">--Mary</span></div><div><span style="font-size:12.8000001907349px"><br></span></div></font></span></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 3, 2015 at 11:09 PM, Sebastian Otarola-Bustos <span dir="ltr"><<a href="mailto:Sebastian.F.Otarola-Bustos.1@nd.edu" target="_blank">Sebastian.F.Otarola-Bustos.1@nd.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">Hi Mary,<br><br>Thank you very much for your help and sorry for the delay in my answer, I was out of the city and I just return. I used a "ps" file and it works fine. I also tried the animate_2.ncl script, but I have some doubts, what exactly are the coordinates that are ploted?, because I was used to plot the results showing Lat/Lon coordinates with the map projection. How can I use Lat/Lon insted of those? I also see that animate_2.ncl uses gsn_cme resources, If i want to plot a vectormap, the documentation says that u,v velocities must be 2D, but my variables have the following dimensions ( Time, Lat,Lon), there is any command to set this or I need to do this manually?. Finally, the animate_2.ncl plot temperatures at one time(I guess) for each pressure level, how can I get variables related to the pressure levels.<br><br>Thank you very much in advance, <br>Any help would be great.<br>Best regards, <br>Sebastián.<br><br></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Feb 13, 2015 at 2:21 PM, Mary Haley <span dir="ltr"><<a href="mailto:haley@ucar.edu" target="_blank">haley@ucar.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"><div class="gmail_default" style="font-size:small"><span style="font-size:12.8000001907349px">Sebastián,</span><br></div><div class="gmail_default" style="font-size:small"><span style="font-size:12.8000001907349px"><br></span></div><div class="gmail_default" style="font-size:small"><span style="font-size:12.8000001907349px">First, make sure you are typing "idt" and not "Idt". The "idt" command is included with the NCL software, so you should have access to it. If you type:</span></div><div class="gmail_default" style="font-size:small"><span style="font-size:12.8000001907349px"><br></span></div><div class="gmail_default" style="font-size:small"><span style="font-size:12.8000001907349px">which ncl</span></div><div class="gmail_default" style="font-size:small"><span style="font-size:12.8000001907349px">which idt</span></div><div class="gmail_default" style="font-size:small"><span style="font-size:12.8000001907349px"><br></span></div><div class="gmail_default" style="font-size:small"><span style="font-size:12.8000001907349px">it should report finding both of these commands in the same directory.</span></div><div class="gmail_default" style="font-size:small"><span style="font-size:12.8000001907349px"><br></span></div><div class="gmail_default" style="font-size:small"><span style="font-size:12.8000001907349px">My suggestion is to perhaps *not* use NCGM as your output format, but instead use "eps" or "ps" and then use one of many tools available for converting a PS file to an animated GIF or MPEG, depending on what you want. Here's how you would use the "convert" tool, which is part of the free ImageMagick package to convert a series of EPS files to an animated GIF:</span></div><div class="gmail_default" style="font-size:small"><span style="font-size:12.8000001907349px"><br></span></div><div class="gmail_default" style="font-size:small"><pre> convert -delay 50 *.eps anim.gif</pre></div><div class="gmail_default" style="font-size:small"><span style="font-size:12.8000001907349px"><br></span></div><div class="gmail_default" style="font-size:small"><span style="font-size:12.8000001907349px">The second example "animate_2.ncl" shows how to do this. You should also read our FAQ on this topic:</span></div><div class="gmail_default" style="font-size:small"><span style="font-size:12.8000001907349px"><br></span></div><div class="gmail_default"><span style="font-size:12.8000001907349px"><a href="http://www.ncl.ucar.edu/FAQ/#o_formats_008" target="_blank">http://www.ncl.ucar.edu/FAQ/#o_formats_008</a></span><br></div><div class="gmail_default"><span style="font-size:12.8000001907349px"><br></span></div><div class="gmail_default"><span style="font-size:12.8000001907349px">Hopefully some NCL Talkers out there will have other ( maybe better) suggestions for creating animations. There are lots of ways to do this, and it just depends on what format and quality you need.</span></div><div class="gmail_default"><span style="font-size:12.8000001907349px"><br></span></div><div class="gmail_default"><span style="font-size:12.8000001907349px">--Mary</span></div><div class="gmail_default"><span style="font-size:12.8000001907349px"><br></span></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div>On Wed, Feb 11, 2015 at 4:44 PM, Sebastian Otarola-Bustos <span dir="ltr"><<a href="mailto:sotarola@nd.edu" target="_blank">sotarola@nd.edu</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><div dir="ltr">Hello, I am new at WRF and I'm trying to postprocess some results. I've been trying to run the example script animate_1.ncl which I found in the NCL_page. But It threw me some errors. Particularly, when I use Idt, it doesn't recognize the command. You know what can I do to solve this. Another thing I am wondering to know, can you tell me if the files are well loaded, because It doesn't threw me any error, I' ve loaded directly a <a href="http://wrfout.nc" target="_blank">wrfout.nc</a> file.I attached you the script so it would be great if you can help me with this. Finally, I would like to share the video, how can I export ncgm to multimedia stantar format.<br><br>Best regards,<br>Sebastián. <br></div>
<br></div></div>_______________________________________________<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></blockquote></div><br></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>