<div dir="ltr"><div class="gmail_default" style="font-size:small">Heri,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">In the future, please post installation issues to ncl-install and not ncl-talk.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Also, please don&#39;t include a bunch of digest email from other postings, because it becomes hard to read.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">You said you couldn&#39;t run any NCL commands, but you are running nedit&quot; which is not an NCL command. This is a UNIX editor, and is developed and supported by somebody else. </div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">If you google:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">  &quot;nedit UTF8 locale not supported&quot;</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">You will get lots of hits with potential solutions.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">If you are having problems running NCL, then please include the command that you are typing and the error message in a new email post, so we can read it better.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Thanks,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">--Mary</div><div class="gmail_default" style="font-size:small"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jun 4, 2015 at 2:48 AM, Heri Kuswanto <span dir="ltr">&lt;<a href="mailto:kuswanto.its82@yahoo.com" target="_blank">kuswanto.its82@yahoo.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="color:#000;background-color:#fff;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:16px"><div><span>Dear all,</span></div><div><br></div><div dir="ltr">I tried to install ncl in my WIndows system. It works but when I try to run it by writing &quot;nedit&quot; it give the following message &quot; UTF8 locale not supported&quot;. Consequently, I cannot run any *.ncl command. The detail is as follows:<br><br>$ startxwin<br><br>--------------------------------------------------------------<br>Could not load crashreporter dll<br>Welcome to the XWin X Server<br>Vendor: The Cygwin/X Project<br>Release: 1.17.1.0<br>OS: CYGWIN_NT-6.1 ROSYIDI-PC 2.0.1(0.287/5/3) 2015-04-30 18:13 i686<br>OS: Windows 7  [Windows NT 6.1 build 7600] (Win32)<br>Package: version 1.17.1-4 built 2015-05-01<br><br>XWin was started with the following command line:<br><br>/usr/bin/XWin :0 -multiwindow -auth<br> /home/ROSYIDI/.serverauth.5928<br><br>Could not load crashreporter dll<br>(II) xorg.conf is not supported<br>(II) See <a href="http://x.cygwin.com/docs/faq/cygwin-x-faq.html" target="_blank">http://x.cygwin.com/docs/faq/cygwin-x-faq.html</a> for more information<br>LoadPreferences: /home/ROSYIDI/.XWinrc not found<br>LoadPreferences: Loading /etc/X11/system.XWinrc<br>LoadPreferences: Done parsing the configuration file...<br>winDetectSupportedEngines - DirectDraw4 installed, allowing ShadowDDNL<br>winDetectSupportedEngines - Returning, supported engines 00000005<br>winSetEngine - Multi Window or Rootless =&gt; ShadowGDI<br>winScreenInit - Using Windows display depth of 32 bits per pixel<br>winAllocateFBShadowGDI - Creating DIB with width: 1366 height: 768 depth: 32<br>winFinishScreenInitFB - Masks: 00ff0000 0000ff00 000000ff<br>winInitVisualsShadowGDI - Masks 00ff0000 0000ff00 000000ff BPRGB 8 d 24 bpp 32<br>MIT-SHM extension disabled due to lack of kernel support<br>XFree86-Bigfont extension local-client optimization disabled due to lack of shared memory support in the kernel<br>glWinSelectGLimplementation: Loaded &#39;cygnativeGLthunk.dll&#39;<br>(II) AIGLX: Testing pixelFormatIndex 1<br>GL_VERSION:     4.1.10825 Compatibility Profile Context<br>GL_VENDOR:      ATI Technologies Inc.<br>GL_RENDERER:    AMD Radeon HD 6320 Graphics<br>(II) AIGLX: enabled GLX_SGI_make_current_read<br>(II) AIGLX: enabled GLX_MESA_copy_sub_buffer<br>(II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control<br>(II) AIGLX: enabled GLX_SGIX_pbuffer<br>(II) AIGLX: enabled GLX_ARB_multisample and GLX_SGIS_multisample<br>(II) 95 pixel formats reported by wglGetPixelFormatAttribivARB<br>(II) AIGLX: Set GLX version to 1.4<br>(II) 24 fbConfigs<br>(II) ignored pixel formats: 0 not OpenGL, 12 RBGA float, 24 RGBA unsigned float, 0 unknown pixel type, 35 unaccelerated<br>(II) GLX: Initialized Win32 native WGL GL provider for screen 0<br>winPointerWarpCursor - Discarding first warp: 683 384<br>(--) 5 mouse buttons found<br>(--) Setting autorepeat to delay=500, rate=31<br>(--) Windows keyboard layout: &quot;00000409&quot; (00000409) &quot;US&quot;, type 7<br>(--) Found matching XKB configuration &quot;English (USA)&quot;<br>(--) Model = &quot;pc105&quot; Layout = &quot;us&quot; Variant = &quot;none&quot; Options = &quot;none&quot;<br>Rules = &quot;base&quot; Model = &quot;pc105&quot; Layout = &quot;us&quot; Variant = &quot;none&quot; Options = &quot;none&quot;<br>winInitMultiWindowWM - DISPLAY=:0.0<br>winMultiWindowXMsgProc - DISPLAY=:0.0<br>winProcEstablishConnection - winInitClipboard returned.<br>winClipboardThreadProc - DISPLAY=:0.0<br>OS maintains clipboard viewer chain: yes<br>winInitMultiWindowWM - XOpenDisplay () returned and successfully opened the display.<br>winMultiWindowXMsgProc - XOpenDisplay () returned and successfully opened the display.<br>winClipboardProc - XOpenDisplay () returned and successfully opened the display.<br>winMultiWindowXMsgProcErrorHandler - ERROR: BadMatch (invalid parameter attributes)<br>---------------------------------------------------------------------------------------------------------------------------------------<br>$nedit<br><br>UTF8 locale not supported.<br><br>--------------<br>Anyone know the solution, please?<br><br>Thanks for your help. <br><br>Heri<br><br><span></span></div><div><span></span></div>  <br><div><br><br></div><div style="display:block"> <div style="font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:16px"> <div style="font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:16px"> <div dir="ltr"> <font size="2" face="Arial"> On Thursday, June 4, 2015 1:00 AM, &quot;<a href="mailto:ncl-talk-request@ucar.edu" target="_blank">ncl-talk-request@ucar.edu</a>&quot; &lt;<a href="mailto:ncl-talk-request@ucar.edu" target="_blank">ncl-talk-request@ucar.edu</a>&gt; wrote:<br> </font> </div>  <br><br> <div>Send ncl-talk mailing list submissions to<br>    <a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a><br><br>To subscribe or unsubscribe via the World Wide Web, visit<br>    <a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>or, via email, send a message with subject or body &#39;help&#39; to<br>    <a href="mailto:ncl-talk-request@ucar.edu" target="_blank">ncl-talk-request@ucar.edu</a><br><br>You can reach the person managing the list at<br>    <a href="mailto:ncl-talk-owner@ucar.edu" target="_blank">ncl-talk-owner@ucar.edu</a><br><br>When replying, please edit your Subject line so it is more specific<br>than &quot;Re: Contents of ncl-talk digest...&quot;<br><br><br>Today&#39;s Topics:<br><br>   1. Re: exporting variables and dimensions in excel sheet<br>      (Rick Brownrigg)<br>   2. Re: Editing a netcdf4 file (David Brown)<br>   3. Re: fileattdef seg fault on CESM LE files (David Brown)<br>   4. Re: drawing RMS semi-circles in Taylor diagram (Alan Brammer)<br>   5. Re: functions handling input of unknown dimension (Dennis Shea)<br>   6. Re: Panel Plot (Dennis Shea)<br><br><br>----------------------------------------------------------------------<br><br>Message: 1<br>Date: Wed, 3 Jun 2015 08:07:07 -0600<br>From: Rick Brownrigg &lt;<a href="mailto:brownrig@ucar.edu" target="_blank">brownrig@ucar.edu</a>&gt;<br>Subject: Re: [ncl-talk] exporting variables and dimensions in excel<br>    sheet<br>To: amit timilsina &lt;<a href="mailto:timilsinaamit87@huskers.unl.edu" target="_blank">timilsinaamit87@huskers.unl.edu</a>&gt;<br>Cc: &quot;<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a>&quot; &lt;<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a>&gt;<br>Message-ID:<br>    &lt;<a href="mailto:CAGKRhbEKr8MqfHvsaNvxCWWy8FaqA2EyTUqCUXu3Q2Jh7oOB7A@mail.gmail.com" target="_blank">CAGKRhbEKr8MqfHvsaNvxCWWy8FaqA2EyTUqCUXu3Q2Jh7oOB7A@mail.gmail.com</a>&gt;<br>Content-Type: text/plain; charset=&quot;utf-8&quot;<br><br>Hi,<br><br>Are you wanting to import these data into an Excel spreadsheet from the<br>NetCDF file? If using NCL for this purpose, you likely want to write a<br>comma-separated-file (csv), which Excel could directly import. Check out<br>the ascii-output examples at:<br><br><a href="http://ncl.ucar.edu/Applications/o-ascii.shtml" target="_blank">http://ncl.ucar.edu/Applications/o-ascii.shtml</a><br><br>particularly the write_table function.<br><br>Rick<br><br>On Wed, Jun 3, 2015 at 7:58 AM, amit timilsina &lt;<br><a href="mailto:timilsinaamit87@huskers.unl.edu" target="_blank">timilsinaamit87@huskers.unl.edu</a>&gt; wrote:<br><br>&gt;<br>&gt; Hello all,<br>&gt; The attached file contains tasmin_diff variable, and month,lat and lon<br>&gt; dimensions. Is it possible to export these all in combination in excel<br>&gt; sheet? Please share link any procedure described. Thanks in advance<br>&gt;<br>&gt;<br>&gt; Regards,<br>&gt; Amit<br>&gt; _______________________________________________<br>&gt; ncl-talk mailing list<br>&gt; <a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a><br>&gt; List instructions, subscriber options, unsubscribe:<br>&gt; <a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>&gt;<br>&gt;<br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: <a href="http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20150603/c6682ba7/attachment-0001.html" target="_blank">http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20150603/c6682ba7/attachment-0001.html </a><br><br>------------------------------<br><br>Message: 2<br>Date: Wed, 3 Jun 2015 08:50:48 -0600<br>From: David Brown &lt;<a href="mailto:dbrown@ucar.edu" target="_blank">dbrown@ucar.edu</a>&gt;<br>Subject: Re: [ncl-talk] Editing a netcdf4 file<br>To: Gerry Creager - NOAA Affiliate &lt;<a href="mailto:gerry.creager@noaa.gov" target="_blank">gerry.creager@noaa.gov</a>&gt;<br>Cc: ncl-talk &lt;<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a>&gt;<br>Message-ID:<br>    &lt;<a href="mailto:CAC92F7fVj6XAh_MEMGiS24wMMK9v13Pw-3piOcz6rvaVAofn6g@mail.gmail.com" target="_blank">CAC92F7fVj6XAh_MEMGiS24wMMK9v13Pw-3piOcz6rvaVAofn6g@mail.gmail.com</a>&gt;<br>Content-Type: text/plain; charset=UTF-8<br><br>Hi Dustin and Gerry,<br>I have confirmed there is a problem. It has been partially but not<br>completely fixed in the development version of the code. I am looking<br>into the remaining issue and will let you know when it has been fixed.<br> -dave<br><br>On Tue, Jun 2, 2015 at 10:34 AM, Gerry Creager - NOAA Affiliate<br>&lt;<a href="mailto:gerry.creager@noaa.gov" target="_blank">gerry.creager@noaa.gov</a>&gt; wrote:<br>&gt; Additional information: If we do an addfile(&quot;&lt;filename&gt;&quot;,&quot;r&quot;), we can open<br>&gt; and read the file. If we use &quot;w&quot;, well, we can open the file but assigning<br>&gt; an existing variable to an internal variable fails on the assign (var =<br>&gt; a-&gt;QRAIN). Of course, because it fails there, we can&#39;t see if it&#39;d also fail<br>&gt; on write.<br>&gt;<br>&gt; Thanks<br>&gt; Gerry<br>&gt;<br>&gt; On Mon, Jun 1, 2015 at 7:15 PM, Gerry Creager - NOAA Affiliate<br>&gt; &lt;<a href="mailto:gerry.creager@noaa.gov" target="_blank">gerry.creager@noaa.gov</a>&gt; wrote:<br>&gt;&gt;<br>&gt;&gt; I&#39;ve started looking at this with Dusty. Appreciate any thought you might<br>&gt;&gt; have as to why we&#39;re failing.<br>&gt;&gt;<br>&gt;&gt; I&#39;ve uploaded the input file (wrfinput_d02) to the FTP incoming site. I&#39;m<br>&gt;&gt; testing with the script:<br>&gt;&gt;<br>&gt;&gt; var = &quot;QRAIN&quot;<br>&gt;&gt; print(var)<br>&gt;&gt; a=addfile(&quot;<a href="http://wrfinput_d02.nc" target="_blank">wrfinput_d02.nc</a>&quot;, &quot;w&quot;)<br>&gt;&gt; var_orig=a-&gt;QRAIN<br>&gt;&gt; print(var_orig)<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; The result looks like:<a href="mailto:gerry@loki" target="_blank">gerry@loki</a>:~/NEWSe/NCL&gt; ncl test.ncl<br>&gt;&gt;  Copyright (C) 1995-2015 - All Rights Reserved<br>&gt;&gt;  University Corporation for Atmospheric Research<br>&gt;&gt;  NCAR Command Language Version 6.3.0<br>&gt;&gt;  The use of this software is governed by a License Agreement.<br>&gt;&gt;  See <a href="http://www.ncl.ucar.edu/" target="_blank">http://www.ncl.ucar.edu/ </a>for more details.<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; Variable: var<br>&gt;&gt; Type: string<br>&gt;&gt; Total Size: 8 bytes<br>&gt;&gt;             1 values<br>&gt;&gt; Number of Dimensions: 1<br>&gt;&gt; Dimensions and sizes: [1]<br>&gt;&gt; Coordinates:<br>&gt;&gt; (0) QRAIN<br>&gt;&gt; fatal:[&quot;NclNetCDF4.c&quot;:3073]:NclNetCDF4.c: Error in nc_def_var_chunking in<br>&gt;&gt; file (<a href="http://wrfinput_d02.nc" target="_blank">wrfinput_d02.nc</a>) for writing, at line: 3073<br>&gt;&gt;<br>&gt;&gt; line 3074 of NclNetCDF4.c: NetCDF: Attempt to define var properties, like<br>&gt;&gt; deflate, after enddef.<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; On Fri, May 29, 2015 at 8:54 PM, Dustan Wheatley - NOAA Affiliate<br>&gt;&gt; &lt;<a href="mailto:dustan.wheatley@noaa.gov" target="_blank">dustan.wheatley@noaa.gov</a>&gt; wrote:<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; I am trying to overwrite a netcdf4 file analogous to what is shown at<br>&gt;&gt;&gt; <a href="http://www.ncl.ucar.edu/Applications/change_netCDF.shtml." target="_blank">http://www.ncl.ucar.edu/Applications/change_netCDF.shtml. </a> In the attached<br>&gt;&gt;&gt; ncl script, I open the file to be modified at line 35 and attempt the<br>&gt;&gt;&gt; modification at line 73 (with a lot of calculations in between).  While I<br>&gt;&gt;&gt; have double-checked that the modified field (var_mod) has the same<br>&gt;&gt;&gt; dimensionality as the original variable (QRAIN), I am still get a<br>&gt;&gt;&gt; segmentation fault/core dump.  Never had this problem when I tried to<br>&gt;&gt;&gt; manipulate netcdf3 files.  Could it possibly be related to the netcdf4<br>&gt;&gt;&gt; compression?  It?s possible I may be trying to do something that?s no longer<br>&gt;&gt;&gt; possible.<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; Thanks in advance for any suggestions.<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; -Dusty Wheatley<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; _______________________________________________<br>&gt;&gt;&gt; ncl-talk mailing list<br>&gt;&gt;&gt; <a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a><br>&gt;&gt;&gt; List instructions, subscriber options, unsubscribe:<br>&gt;&gt;&gt; <a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>&gt;&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; --<br>&gt;&gt; Gerry Creager<br>&gt;&gt; NSSL/CIMMS<br>&gt;&gt; <a href="tel:405.325.6371" value="+14053256371" target="_blank">405.325.6371</a><br>&gt;&gt; ++++++++++++++++++++++<br>&gt;&gt; ?Big whorls have little whorls,<br>&gt;&gt; That feed on their velocity;<br>&gt;&gt; And little whorls have lesser whorls,<br>&gt;&gt; And so on to viscosity.?<br>&gt;&gt; Lewis Fry Richardson (1881-1953)<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt; --<br>&gt; Gerry Creager<br>&gt; NSSL/CIMMS<br>&gt; <a href="tel:405.325.6371" value="+14053256371" target="_blank">405.325.6371</a><br>&gt; ++++++++++++++++++++++<br>&gt; ?Big whorls have little whorls,<br>&gt; That feed on their velocity;<br>&gt; And little whorls have lesser whorls,<br>&gt; And so on to viscosity.?<br>&gt; Lewis Fry Richardson (1881-1953)<br>&gt;<br>&gt; _______________________________________________<br>&gt; ncl-talk mailing list<br>&gt; <a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a><br>&gt; List instructions, subscriber options, unsubscribe:<br>&gt; <a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>&gt;<br><br><br>------------------------------<br><br>Message: 3<br>Date: Wed, 3 Jun 2015 09:36:55 -0600<br>From: David Brown &lt;<a href="mailto:dbrown@ucar.edu" target="_blank">dbrown@ucar.edu</a>&gt;<br>Subject: Re: [ncl-talk] fileattdef seg fault on CESM LE files<br>To: &quot;David B. Reusch&quot; &lt;<a href="mailto:dreusch@ees.nmt.edu" target="_blank">dreusch@ees.nmt.edu</a>&gt;<br>Cc: NCL Talk &lt;<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a>&gt;<br>Message-ID:<br>    &lt;CAC92F7dnPLD=<a href="mailto:J4_Odjydw7hkALzbn1vGoLXUHGGxhRwNpMs4CA@mail.gmail.com" target="_blank">J4_Odjydw7hkALzbn1vGoLXUHGGxhRwNpMs4CA@mail.gmail.com</a>&gt;<br>Content-Type: text/plain; charset=UTF-8<br><br>Hi David,<br>I want to let you know that this issue has been fixed in the<br>development version of NCL. Let us know if you&#39;d like to try it out on<br>yellowstone.<br> -dave<br><br>On Tue, May 26, 2015 at 2:11 PM, Mary Haley &lt;<a href="mailto:haley@ucar.edu" target="_blank">haley@ucar.edu</a>&gt; wrote:<br>&gt; Hi Dave,<br>&gt;<br>&gt; Thanks for providing the script.<br>&gt;<br>&gt; I was able to reproduce your results with NCL 6.2.1, NCL 6.3.0 (both intel<br>&gt; and gcc versions) and a test version of NCL, which is our development<br>&gt; version. I&#39;ve created a ticket, NCL-2223.<br>&gt;<br>&gt; If/when we get this working, I can point you to a development version that<br>&gt; you can use on yellowstone.<br>&gt;<br>&gt; --Mary<br>&gt;<br>&gt;<br>&gt;<br>&gt; On Tue, May 26, 2015 at 11:37 AM, David B. Reusch &lt;<a href="mailto:dreusch@ees.nmt.edu" target="_blank">dreusch@ees.nmt.edu</a>&gt;<br>&gt; wrote:<br>&gt;&gt;<br>&gt;&gt; I seem to have found an NCL seg fault when copying global attributes with<br>&gt;&gt; fileattdef from CESM Large Ensemble (LE) files.  This was part of a larger<br>&gt;&gt; script I&#39;ve been using to regrid for multiple years. The attached script<br>&gt;&gt; just does the fileattdef step and it works on at least one of my other,<br>&gt;&gt; non-CESM LE files.  I&#39;ve tried it on multiple CESM LE files with the same<br>&gt;&gt; results.  Copying the attributes individually works so I&#39;m assuming it&#39;s<br>&gt;&gt; related to doing all the attributes together.<br>&gt;&gt;<br>&gt;&gt; This is on yellowstone with NCL 6.3.<br>&gt;&gt;<br>&gt;&gt; My temporary workaround is to just comment out this step so that I can<br>&gt;&gt; continue my file processing.  Since that means losing global metadata, a<br>&gt;&gt; better solution/fix would be preferred.<br>&gt;&gt;<br>&gt;&gt; Thanks,<br>&gt;&gt; Dave<br>&gt;&gt;<br>&gt;&gt; --<br>&gt;&gt; Associate Research Professor of Climatology<br>&gt;&gt; Dept of Earth and Environmental Science<br>&gt;&gt; MSEC 304; 801 Leroy Place<br>&gt;&gt; New Mexico Tech<br>&gt;&gt; Socorro, NM 87801<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; _______________________________________________<br>&gt;&gt; ncl-talk mailing list<br>&gt;&gt; List instructions, subscriber options, unsubscribe:<br>&gt;&gt; <a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>&gt;&gt;<br>&gt;<br>&gt;<br>&gt; _______________________________________________<br>&gt; ncl-talk mailing list<br>&gt; List instructions, subscriber options, unsubscribe:<br>&gt; <a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>&gt;<br><br><br>------------------------------<br><br>Message: 4<br>Date: Wed, 3 Jun 2015 11:40:14 -0400<br>From: Alan Brammer &lt;<a href="mailto:abrammer@albany.edu" target="_blank">abrammer@albany.edu</a>&gt;<br>Subject: Re: [ncl-talk] drawing RMS semi-circles in Taylor diagram<br>To: LI Qi &lt;<a href="mailto:liqi123sh@qq.com" target="_blank">liqi123sh@qq.com</a>&gt;<br>Cc: ncl-talk &lt;<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a>&gt;<br>Message-ID:<br>    &lt;CA+V766SnYssWRYVuoSJeQcyZz7MBYivwjTcKzBwO_=<a href="mailto:tz67qnCg@mail.gmail.com" target="_blank">tz67qnCg@mail.gmail.com</a>&gt;<br>Content-Type: text/plain; charset=&quot;utf-8&quot;<br><br>I would say you want to edit the constants on the below lines.  I&#39;m not<br>sure how these were obtained though, trial and error might be the simplest<br>way.<br>These are just restricting how long the line is, with your base plot I<br>would think that even your 3rd circle can span the full 180-360. Increase<br>0.77 and 0.61 until the circles reach a respective edge.<br>   n3 = floattointeger( 0.77*npts )<br>   n4 = floattointeger( 0.61*npts )<br><br><br>Good luck.<br><br>On 3 June 2015 at 09:43, LI Qi &lt;<a href="mailto:liqi123sh@qq.com" target="_blank">liqi123sh@qq.com</a>&gt; wrote:<br><br>&gt; Dear NCL developers,<br>&gt;<br>&gt; I use the script &quot;taylor_diagram.ncl&quot; to draw Taylor diagram. I extend the<br>&gt; outer curve from the original 1.65 to 1.75 to fit my data, but it seems<br>&gt; that the parameters w.r.t. RMS semi-circles need also be changed<br>&gt; accordingly (as is shown below, the semi-circles are incomplete).<br>&gt; The issue is, I have no idea how to change it.<br>&gt;<br>&gt;<br>&gt; Below is a snippet of the script, which I guess is related to the RMS<br>&gt; semi-circles<br>&gt; Any hints about how to change the parameters would be sincerely<br>&gt; appreciated!<br>&gt;<br>&gt; Best,<br>&gt; Qi<br>&gt;<br>&gt; dx   = 0.25<br>&gt;       ncon = 4                                       ; 0.75, 0.50, 0.25,<br>&gt; 0.0<br>&gt;       npts = 100                                     ; arbitrary<br>&gt;       ang  = fspan(180,360,npts)*rad<br>&gt;<br>&gt;       dum9 = new(ncon,graphic)<br>&gt;<br>&gt;       do n=1,ncon<br>&gt;          rr  = n*dx            ; radius from 1.0 [OBS] abscissa<br>&gt;          xx  = 1. + rr*cos(ang)<br>&gt;          yy  = fabs( rr*sin(ang) )<br>&gt;          if (n.le.2) then<br>&gt;              dum9(n-1) = gsn_add_polyline(wks,taylor,xx,yy,respl)<br>&gt;          end if<br>&gt;          if (n.eq.3) then<br>&gt;              n3 = floattointeger( 0.77*npts )<br>&gt;              dum9(n-1) =<br>&gt; gsn_add_polyline(wks,taylor,xx(0:n3),yy(0:n3),respl)<br>&gt;          end if<br>&gt;          if (n.eq.4) then<br>&gt;              n4 = floattointeger( 0.61*npts )<br>&gt;              dum9(n-1) =<br>&gt; gsn_add_polyline(wks,taylor,xx(0:n4),yy(0:n4),respl)<br>&gt;          end if<br>&gt;       end do<br>&gt;<br>&gt; _______________________________________________<br>&gt; ncl-talk mailing list<br>&gt; <a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a><br>&gt; List instructions, subscriber options, unsubscribe:<br>&gt; <a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>&gt;<br>&gt;<br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: <a href="http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20150603/4b3ede87/attachment-0001.html" target="_blank">http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20150603/4b3ede87/attachment-0001.html </a><br>-------------- next part --------------<br>A non-text attachment was scrubbed...<br>Name: <a href="mailto:2E05F4FE@0FC9496C.9F046F55" target="_blank">2E05F4FE@0FC9496C.9F046F55</a><br>Type: application/octet-stream<br>Size: 56453 bytes<br>Desc: not available<br>Url : <a href="http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20150603/4b3ede87/attachment-0001.obj" target="_blank">http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20150603/4b3ede87/attachment-0001.obj </a><br><br>------------------------------<br><br>Message: 5<br>Date: Wed, 3 Jun 2015 10:12:41 -0600<br>From: Dennis Shea &lt;<a href="mailto:shea@ucar.edu" target="_blank">shea@ucar.edu</a>&gt;<br>Subject: Re: [ncl-talk] functions handling input of unknown dimension<br>To: Walter Kolczynski &lt;<a href="mailto:walter.kolczynski@noaa.gov" target="_blank">walter.kolczynski@noaa.gov</a>&gt;<br>Cc: &quot;<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a>&quot; &lt;<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a>&gt;<br>Message-ID:<br>    &lt;<a href="mailto:CAOF1d_6MzNWNh_-eycynEZvbehBF8Z2SjJjsOAv6ND-kRbx_Lw@mail.gmail.com" target="_blank">CAOF1d_6MzNWNh_-eycynEZvbehBF8Z2SjJjsOAv6ND-kRbx_Lw@mail.gmail.com</a>&gt;<br>Content-Type: text/plain; charset=&quot;utf-8&quot;<br><br>Will, Walt<br><br>To my knowledge there is no &#39;simple&#39; way to do what Will originally posted.<br><br>Walt&#39;s &#39;flattening&#39; suggestion would be &#39;clean&#39; if it is general and hidden<br>with a simple interface. However, I am not sure that it would be more<br>efficient. More memory would be required for the &#39;flat&#39; array.<br>--<br><br>re: WH&#39;s comment: &quot;particularly &#39;clean&#39; or efficient code&quot;<br><br>The nested &#39;if&#39; approach is certainly cumbersome<br><br>if (rankx.eq.1) then<br>    ...<br>end if<br>if (rankx.eq.2) then<br>    ...<br>end if<br>if (rankx.eq.3) then<br>    ...<br>end if<br>if (rankx.eq.4) then<br>    ...<br>end if<br><br>but I don&#39;t think it is particularly inefficient.<br><br><br>On Tue, Jun 2, 2015 at 11:09 AM, Walter Kolczynski &lt;<br><a href="mailto:walter.kolczynski@noaa.gov" target="_blank">walter.kolczynski@noaa.gov</a>&gt; wrote:<br><br>&gt;  Will,<br>&gt;<br>&gt; Depending on what you are doing, you might be able to flatten into a lower<br>&gt; dimensional array, do whatever operation, then convert back. I&#39;ve attached<br>&gt; an example to get you started: it returns a random sample in the left-most<br>&gt; dimension of any 2+ dimensional array. To run it just go into an<br>&gt; interactive NCL session, load the file, and run the test procedure:<br>&gt;<br>&gt; [<a href="mailto:user@machine" target="_blank">user@machine</a> ~]$ ncl<br>&gt;  Copyright (C) 1995-2014 - All Rights Reserved<br>&gt;  University Corporation for Atmospheric Research<br>&gt;  NCAR Command Language Version 6.2.0<br>&gt;  The use of this software is governed by a License Agreement.<br>&gt;  See <a href="http://www.ncl.ucar.edu/" target="_blank">http://www.ncl.ucar.edu/ </a>for more details.<br>&gt; ncl 0&gt; load &quot;takeSample.ncl&quot;<br>&gt; ncl 1&gt; test_takeSample()<br>&gt;<br>&gt; - Walter<br>&gt;<br>&gt;<br>&gt; On 02-Jun-15 02:43, Will Hobbs wrote:<br>&gt;<br>&gt; Hi all<br>&gt;<br>&gt;  I wonder if anyone has any suggestions for a generic way of writing<br>&gt; functions that deal with input/output arrays which may have different<br>&gt; numbers of dimensions, e.g.<br>&gt;<br>&gt;  function generic_example(input:numeric)<br>&gt;<br>&gt;  begin<br>&gt;    output = some_subset_of_(input)<br>&gt;<br>&gt;   return(output)<br>&gt;         end<br>&gt;<br>&gt;  where input/output might be 1, 2, 3, 4 or more dimensions, and so a<br>&gt; different line is needed to do the subsetting step.<br>&gt;<br>&gt;  At the moment I just use nested &#39;if&#39; statements based on the rank of the<br>&gt; array (where rank is the number of dimensions, i.e. dimsizes(dim<br>&gt; sizes(input)), and this works fine. But, it does not make for particularly<br>&gt; &#39;clean&#39; or efficient code, so I wonder if anyone has any nicer ways of<br>&gt; doing this.<br>&gt;<br>&gt;  Many thanks<br>&gt;<br>&gt;  Will<br>&gt;<br>&gt;<br>&gt;<br>&gt; University of Tasmania Electronic Communications Policy (December, 2014).<br>&gt; This email is confidential, and is for the intended recipient only.<br>&gt; Access, disclosure, copying, distribution, or reliance on any of it by<br>&gt; anyone outside the intended recipient organisation is prohibited and may be<br>&gt; a criminal offence. Please delete if obtained in error and email<br>&gt; confirmation to the sender. The views expressed in this email are not<br>&gt; necessarily the views of the University of Tasmania, unless clearly<br>&gt; intended otherwise.<br>&gt;<br>&gt;<br>&gt; _______________________________________________<br>&gt; ncl-talk mailing <a href="mailto:listncl-talk@ucar.edu" target="_blank">listncl-talk@ucar.edu</a><br>&gt; List instructions, subscriber options, unsubscribe:<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>&gt;<br>&gt;<br>&gt; --<br>&gt; Walter Kolczynski, Jr.<br>&gt; Global Ensemble Team<br>&gt; NOAA/NWS/NCEP/EMC (via I.M. Systems Group)<a href="tel:%28301%29%20683-3781" value="+13016833781" target="_blank">(301) 683-3781</a><br>&gt;<br>&gt;<br>&gt; _______________________________________________<br>&gt; ncl-talk mailing list<br>&gt; <a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a><br>&gt; List instructions, subscriber options, unsubscribe:<br>&gt; <a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>&gt;<br>&gt;<br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: <a href="http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20150603/92a38701/attachment-0001.html" target="_blank">http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20150603/92a38701/attachment-0001.html </a><br><br>------------------------------<br><br>Message: 6<br>Date: Wed, 3 Jun 2015 11:33:33 -0600<br>From: Dennis Shea &lt;<a href="mailto:shea@ucar.edu" target="_blank">shea@ucar.edu</a>&gt;<br>Subject: Re: [ncl-talk] Panel Plot<br>To: Amadou Coulibaly &lt;<a href="mailto:mpapin24@gmail.com" target="_blank">mpapin24@gmail.com</a>&gt;<br>Cc: &quot;<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a>&quot; &lt;<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a>&gt;<br>Message-ID:<br>    &lt;CAOF1d_62pZAVQ=MtHYNicnQdtdatfet_kKH7yee363+wkTM_+<a href="mailto:w@mail.gmail.com" target="_blank">w@mail.gmail.com</a>&gt;<br>Content-Type: text/plain; charset=&quot;utf-8&quot;<br><br>Looking at scripts can be a tedious and time consuming task.<br>--<br><br>Your code<br><br>  infile = addfile(&quot;/home/amadou/NCL/<a href="http://all_new.nc" target="_blank">all_new.nc</a>&quot;, &quot;r&quot;)<br>  temp = infile-&gt;air_temperature<br>  Temp = temp(256392:258575,7)                                ; for 5 years<br>(2012_JFMAMJ)<br>  time = infile-&gt;time<br>  Time = time(256392:258575)<br><br>  index = ind(Temp(:) .ne. <a href="mailto:Temp@_FillValue" target="_blank">Temp@_FillValue</a>)                   ; indices of<br>Temp without missing values<br>  printVarSummary(index)<br>  Time0 = time(256444:258575)<br>  Temp1 = new((/2132/), float)<br>  Temp1 = Temp(index)<br><br>[snip]<br><br>[1] You can **not** use the following to check for missing values. These<br>can *only* be checked via the &#39;ismissing&#39; function.<br><br>     index = ind(Temp(:) .ne. <a href="mailto:Temp@_FillValue" target="_blank">Temp@_FillValue</a>)                   ; indices<br>of Temp without missing values<br><br>     Use<br><br>     index = ind(.not.ismissing(Temp))   ; indices of Temp without missing<br>values<br><br>     <a href="https://www.ncl.ucar.edu/Document/Functions/Built-in/ismissing.shtml" target="_blank">https://www.ncl.ucar.edu/Document/Functions/Built-in/ismissing.shtml</a><br>     <a href="https://www.ncl.ucar.edu/Document/Functions/Built-in/ind.shtml" target="_blank">https://www.ncl.ucar.edu/Document/Functions/Built-in/ind.shtml</a><br><br>[2]<br>As I mentioned to you in a previous ncl-talk response, you can not just<br>eliminate missing values and perform a wavelet analysis on the &#39;good&#39;<br>values. Omitting values will result in &#39;numbers&#39; but they are not the<br>&#39;correct numbers&#39;. Omitting values results in spectral gaps. If you have<br>(say) hourly values and very short spans with missing values you could<br>perform a linear interpolation. This will affect the spectra but likely not<br>in any substantive manner.<br><br>[3]<br>You have two different sets of index values: 256392:258575 and<br>256444:258575 ... this is likely the source of your plotting issue.<br><br>Good programming practice suggest that you use variables rather than hard<br>wired constants.<br><br>  tStrt  = 256392<br>  tLast = 258575<br><br>and use these<br><br>  temp = infile-&gt;air_temperature<br>  Temp = temp(tStrt:tLast,7)                                ; for 5 years<br>(2012_JFMAMJ)<br>  time = infile-&gt;time<br>  Time = time(tStrt:tLast)<br><br>Actually .... better<br><br>  Temp = infile-&gt;air_temperature(tStrt:tLast,7)<br>   printVarSummary(Temp)<br><br><br><br><br><br><br><br><br><br>On Wed, Jun 3, 2015 at 6:00 AM, Amadou Coulibaly &lt;<a href="mailto:mpapin24@gmail.com" target="_blank">mpapin24@gmail.com</a>&gt; wrote:<br><br>&gt; Dear NCL users,<br>&gt;<br>&gt; I tried to do a panel plot between &quot;Wavelet Power Spectrum&quot; and &quot;Timesires&quot;<br>&gt; from hourly temperature data of April-May-June. But this data contained 61<br>&gt; hours of missing values that I cancelled. When I plotted my data, I<br>&gt; remarked that the x-axis on the wavelet power spectrum does not match the<br>&gt; timeserie one.<br>&gt;<br>&gt; What is wrong with my script?<br>&gt;<br>&gt; Please find attached my script and my plot.<br>&gt;<br>&gt; Best<br>&gt; --<br>&gt; * COULIBALY   AMADOU   *<br>&gt; PhD  Student  on  West  African  Climate  System (WACS)<br>&gt; FUTA - Federal  University  of  Technology of Akure, Nigeria<br>&gt;<br>&gt; *Visiting Student - *<br>&gt; *University of Cologne, Germany**Institute of Geophysics and Meteorology*<br>&gt; Pohligstr. 3 / Office 3.102<br>&gt; D-50969 K?ln<br>&gt;<br>&gt; *Project*: WASCAL (West African Science Service Centre on Climate Change<br>&gt; and Adapted Land Use)<br>&gt; Phone:<a href="tel:%28%2B234%29%20810%20795%202836" value="+2348107952836" target="_blank">(+234) 810 795 2836</a> /<a href="tel:%28%2B223%29%2065%2067%2027%2057" value="+22365672757" target="_blank">(+223) 65 67 27 57</a> /<a href="tel:%28%2B226%29%2064%2057%2037%2027" value="+22664573727" target="_blank">(+226) 64 57 37 27</a> /+49<br>&gt; 15218352574<br>&gt;<br>&gt; E-mail: <a href="mailto:mpapin24@gmail.com" target="_blank">mpapin24@gmail.com</a> / <a href="mailto:coulibalya68@yahoo.com" target="_blank">coulibalya68@yahoo.com</a><br>&gt;<br>&gt; &quot;*The time is always right to do right&quot;: Nelson Mandela*<br>&gt;<br>&gt; *&quot;Character is like a tree and reputation like a shadow.  The shadow is<br>&gt; what we think of it; the tree is the real thing&quot; : Abraham Lincoln*<br>&gt;<br>&gt; *&quot;Do what you can, with what you have, where you are&quot; Theodore Roosevelt*<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt; _______________________________________________<br>&gt; ncl-talk mailing list<br>&gt; <a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a><br>&gt; List instructions, subscriber options, unsubscribe:<br>&gt; <a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>&gt;<br>&gt;<br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: <a href="http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20150603/2ea068de/attachment-0001.html" target="_blank">http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20150603/2ea068de/attachment-0001.html </a><br><br>------------------------------<br><br>_______________________________________________<br>ncl-talk mailing list<br><a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a><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><br>End of ncl-talk Digest, Vol 139, Issue 5<br>****************************************<br><br><br></div>  </div> </div>  </div></div></div><br>_______________________________________________<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" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>