<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hi Seyed,<br>
    <br>
    Mary wrote a few days ago, that version 6.5.0 will be coming soon
    but if you want to get the current developer version, which includes
    subprocess, use conda.<br>
    <br>
    ---<br>
    <i>Mary wrote:</i><br>
    <br>
    <div class="gmail_default" style="font-size:small"><i>   We are
        putting the final touches on NCL V6.5.0 and trying to get a
        version out this month. It's been <br>
           harder to get it out sooner because we had a lot of last
        minute issues come up.</i></div>
    <div class="gmail_default" style="font-size:small"><i><br>
      </i></div>
    <div class="gmail_default" style="font-size:small"><i>  If you are
        interested in trying a beta version now, then you can use
        "conda" to download a development <br>
          version.  See our conda page:</i></div>
    <div class="gmail_default" style="font-size:small"><i><br>
      </i></div>
    <div class="gmail_default"><i><a
          href="http://www.ncl.ucar.edu/Download/conda.shtml"> 
          http://www.ncl.ucar.edu/Download/conda.shtml</a></i><i><br>
      </i></div>
    ---<br>
    <br>
    -Karin<br>
    <br>
    <div class="moz-cite-prefix">Am 06.04.18 um 12:36 schrieb Seyed Omid
      Nabavi:<br>
    </div>
    <blockquote type="cite"
      cite="mid:E1f4Oiv-0001nH-1N@joan.univie.ac.at">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <meta name="Generator" content="Microsoft Word 15 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:Helvetica;
        panose-1:2 11 5 4 2 2 2 2 2 4;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Menlo;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style>
      <div class="WordSection1">
        <p class="MsoNormal">Thanks for your reply. I will try the
          second solution.</p>
        <p class="MsoNormal">Best.</p>
        <p class="MsoNormal">Omid.</p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">Sent from <a
            href="https://go.microsoft.com/fwlink/?LinkId=550986"
            moz-do-not-send="true">Mail</a> for Windows 10</p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <div
          style="mso-element:para-border-div;border:none;border-top:solid
          #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
          <p class="MsoNormal" style="border:none;padding:0in"><b>From:
            </b><a href="mailto:guidocioni@gmail.com"
              moz-do-not-send="true">Guido Cioni</a><br>
            <b>Sent: </b>Friday, April 6, 2018 12:24 PM<br>
            <b>To: </b><a href="mailto:seyed.omid.nabavi@univie.ac.at"
              moz-do-not-send="true">Seyed Omid Nabavi</a><br>
            <b>Cc: </b><a href="mailto:ncl-talk@ucar.edu"
              moz-do-not-send="true">ncl-talk@ucar.edu</a><br>
            <b>Subject: </b>Re: [ncl-talk] subprocess is undefined</p>
        </div>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">BTW I've just checked.<o:p></o:p></p>
        <div>
          <p class="MsoNormal"><o:p> </o:p></p>
        </div>
        <div>
          <p class="MsoNormal">6.5 is going to be the next release. The
            stable one is 6.4. now. You could ask some of the devs to
            send you the subprocess part of the source code to include
            it into your source.<o:p></o:p></p>
          <div>
            <p class="MsoNormal"><br>
              <br>
              <o:p></o:p></p>
            <blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
              <div>
                <p class="MsoNormal">On 6. Apr 2018, at 12:22, Guido
                  Cioni <<a href="mailto:guidocioni@gmail.com"
                    moz-do-not-send="true">guidocioni@gmail.com</a>>
                  wrote:<o:p></o:p></p>
              </div>
              <p class="MsoNormal"><o:p> </o:p></p>
              <div>
                <div>
                  <div>
                    <p class="MsoNormal">Do you have NCL 6.5.? This
                      function is only available there. <o:p></o:p></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><o:p> </o:p></p>
                  </div>
                  <div>
                    <p class="MsoNormal">You can still use the "old"
                      method that exploits Python. It works pretty well
                      and you don't necessarily need to have a NCL
                      "driver" script.<o:p></o:p></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><o:p> </o:p></p>
                  </div>
                  <div>
                    <p class="MsoNormal">That's how I've modified
                      task_parallelism_2.py<o:p></o:p></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><o:p> </o:p></p>
                  </div>
                  <div>
                    <div>
                      <p class="MsoNormal"><span
                          style="font-family:"Menlo",serif">def
                          launchTask(script):</span><o:p></o:p></p>
                    </div>
                    <div>
                      <p class="MsoNormal"><b><span
                            style="font-family:"Menlo",serif"> 
                              task = subprocess.Popen("ncl " + script,
                            shell=True, executable="/bin/bash") </span></b><o:p></o:p></p>
                    </div>
                    <div>
                      <p class="MsoNormal"><span
                          style="font-family:"Menlo",serif"> 
                            return task</span><o:p></o:p></p>
                    </div>
                  </div>
                  <div>
                    <p class="MsoNormal"><o:p> </o:p></p>
                  </div>
                  <div>
                    <p class="MsoNormal">and then simply launch it from
                      bash as <o:p></o:p></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><o:p> </o:p></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span
                        style="font-family:"Menlo",serif">python
                        task_parallelism.py plot_pres_t2m_winds10m.ncl
                        plot_gph_t_850.ncl</span><o:p></o:p></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><o:p> </o:p></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><o:p> </o:p></p>
                  </div>
                  <div>
                    <p class="MsoNormal">BTW to the devs, the link <a
href="https://www.ncl.ucar.edu/Document/Functions/Built-in/subprocess.shtml"
                        moz-do-not-send="true">https://www.ncl.ucar.edu/Document/Functions/Built-in/subprocess.shtml</a> is
                      broken. <o:p></o:p></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><o:p> </o:p></p>
                    <div>
                      <p class="MsoNormal"><br>
                        <br>
                        <o:p></o:p></p>
                      <blockquote
                        style="margin-top:5.0pt;margin-bottom:5.0pt">
                        <div>
                          <p class="MsoNormal">On 6. Apr 2018, at 12:01,
                            Seyed Omid Nabavi <<a
                              href="mailto:seyed.omid.nabavi@univie.ac.at"
                              moz-do-not-send="true">seyed.omid.nabavi@univie.ac.at</a>>
                            wrote:<o:p></o:p></p>
                        </div>
                        <p class="MsoNormal"><o:p> </o:p></p>
                        <div>
                          <div>
                            <p class="MsoNormal">Dear NCL users,<br>
                              I am trying to build a parallel task using<br>
                              <a
                                href="https://www.ncl.ucar.edu/Applications/task_parallelism.shtml"
                                moz-do-not-send="true">https://www.ncl.ucar.edu/Applications/task_parallelism.shtml</a>.
                              But I<br>
                              receive the following error.<br>
                              fatal: Undefined identifier: (subprocess)
                              is undefined, can't continue.<br>
                              Should I load any library for that?<br>
                              Best regards,<br>
                              <br>
                              -- <br>
                              Dr. Seyed Omid Nabavi;<br>
                              University of Vienna,<br>
                              Faculty of Earth Sciences, Geography and
                              Astronomy<br>
                              UZA II Althanstrasse 14 A-1010 Vienna<br>
_______________________________________________<br>
                              ncl-talk mailing list<br>
                              <a href="mailto:ncl-talk@ucar.edu"
                                moz-do-not-send="true">ncl-talk@ucar.edu</a><br>
                              List instructions, subscriber options,
                              unsubscribe:<br>
                              <a
                                href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk"
                                moz-do-not-send="true">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><o:p></o:p></p>
                          </div>
                        </div>
                      </blockquote>
                    </div>
                    <p class="MsoNormal"><o:p> </o:p></p>
                    <div>
                      <div>
                        <p class="MsoNormal"><span
                            style="font-size:9.0pt;font-family:"Helvetica",sans-serif"><br>
                            Guido Cioni<o:p></o:p></span></p>
                      </div>
                      <div>
                        <p class="MsoNormal"><span
                            style="font-size:9.0pt;font-family:"Helvetica",sans-serif"><a
                              href="http://guidocioni.altervista/"
                              moz-do-not-send="true">http://guidocioni.altervista</a>.org<o:p></o:p></span></p>
                      </div>
                    </div>
                    <p class="MsoNormal"><o:p> </o:p></p>
                  </div>
                </div>
              </div>
            </blockquote>
          </div>
          <p class="MsoNormal"><o:p> </o:p></p>
          <div>
            <div>
              <p class="MsoNormal"><span
style="font-size:9.0pt;font-family:"Helvetica",sans-serif;color:black"><br>
                  Guido Cioni<o:p></o:p></span></p>
            </div>
            <div>
              <p class="MsoNormal"><span
style="font-size:9.0pt;font-family:"Helvetica",sans-serif;color:black"><a
                    href="http://guidocioni.altervista"
                    moz-do-not-send="true">http://guidocioni.altervista</a>.org<o:p></o:p></span></p>
            </div>
          </div>
        </div>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
ncl-talk mailing list
<a class="moz-txt-link-abbreviated" href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a>
List instructions, subscriber options, unsubscribe:
<a class="moz-txt-link-freetext" href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>