<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>