<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hello Amarjiit,<br>
    <br>
    this is an ESMValTool problem and you should send the question to
    their mailing list. <br>
    <br>
    See <a class="moz-txt-link-freetext" href="https://www.esmvaltool.org/user-support-and-feedback.html">https://www.esmvaltool.org/user-support-and-feedback.html</a><br>
    <br>
    -Karin<br>
    <br>
    <div class="moz-cite-prefix">Am 20.06.18 um 09:30 schrieb Amarjiit
      Vikkas Pandde:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAFeu9dVGfxMcskOLYGA-4dwbJ-80+s8q_yDQbsS0kTr=S8bD2w@mail.gmail.com">
      <div dir="ltr">
        <p
style="box-sizing:border-box;margin-bottom:16px;color:rgb(36,41,46);font-family:-apple-system,system-ui,"Segoe
          UI",Helvetica,Arial,sans-serif,"Apple Color
          Emoji","Segoe UI Emoji","Segoe UI
Symbol";font-size:14px;text-decoration-style:initial;text-decoration-color:initial;margin-top:0px">Hello
          all,</p>
        <p
style="box-sizing:border-box;margin-bottom:16px;color:rgb(36,41,46);font-family:-apple-system,system-ui,"Segoe
          UI",Helvetica,Arial,sans-serif,"Apple Color
          Emoji","Segoe UI Emoji","Segoe UI
Symbol";font-size:14px;text-decoration-style:initial;text-decoration-color:initial;margin-top:0px">I
          am using ESMValTool (1.1) on Ubuntu(16.04) on Windows 10 WSL,
          I downloaded NCL(6.4) from anaconda (Conda-forge). After
          ESMValTool installation (clone from GitHub), I ran the test
          runs for SA-Monsoon, which ran without any major error(fatal),
          I have attached the screenshot below for some warnings which
          were thrown. Now, I am trying to run other namelists and it is
          throwing errors in many NCL scripts and after looking into the
          errors from each script, it is always due to systemfunc
          command.</p>
        <p
style="box-sizing:border-box;margin-top:0px;margin-bottom:16px;color:rgb(36,41,46);font-family:-apple-system,system-ui,"Segoe
          UI",Helvetica,Arial,sans-serif,"Apple Color
          Emoji","Segoe UI Emoji","Segoe UI
Symbol";font-size:14px;text-decoration-style:initial;text-decoration-color:initial">The
          systemfunc command randomly returns "missing" as output to the
          assigned variable and this causes errors in toint and logical
          operations.</p>
        <p
style="box-sizing:border-box;margin-top:0px;margin-bottom:16px;color:rgb(36,41,46);font-family:-apple-system,system-ui,"Segoe
          UI",Helvetica,Arial,sans-serif,"Apple Color
          Emoji","Segoe UI Emoji","Segoe UI
Symbol";font-size:14px;text-decoration-style:initial;text-decoration-color:initial">After
          this, I ran the test-SA-Monsoon namelists again and two of
          them also give systemfunc related errors. So I deleted the
          ESMValTool directory, uninstalled Ubuntu and reinstalled
          everything again(same process). again, test runs ran fine
          whereas while running namelists other than that the errors
          related to systemfunc cropped up.</p>
        <p
style="box-sizing:border-box;margin-top:0px;margin-bottom:16px;color:rgb(36,41,46);font-family:-apple-system,system-ui,"Segoe
          UI",Helvetica,Arial,sans-serif,"Apple Color
          Emoji","Segoe UI Emoji","Segoe UI
Symbol";font-size:14px;text-decoration-style:initial;text-decoration-color:initial">After
          searching online, I found out about default shell of Ubuntu is
          dash and systemfunc tries to invoke Bourne shell by "/bin/sh"
          and in the recent versions of Ubuntu /bin/sh refers to Dash
          instead of Bash. So, I tried adding "bash -c 'cmd' " as shown
          on NCL website but that didn't help.<br
            style="box-sizing:border-box">
          when NCL is run from the command line the same systemfunc
          command works.</p>
        <p
style="box-sizing:border-box;margin-top:0px;margin-bottom:16px;color:rgb(36,41,46);font-family:-apple-system,system-ui,"Segoe
          UI",Helvetica,Arial,sans-serif,"Apple Color
          Emoji","Segoe UI Emoji","Segoe UI
Symbol";font-size:14px;text-decoration-style:initial;text-decoration-color:initial">Thank
          you in advance<br style="box-sizing:border-box">
          Amarjiit Pandde</p>
        <br>
      </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>