<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Title" content="">
<meta name="Keywords" content="">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Arial;
        panose-1:2 11 6 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:"Andale Mono";
        panose-1:2 11 5 9 0 0 0 0 0 4;}
@font-face
        {font-family:"Avenir Next";
        panose-1:2 11 5 3 2 2 2 2 2 4;}
@font-face
        {font-family:PMingLiU;
        panose-1:2 2 5 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.hoenzb
        {mso-style-name:hoenzb;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Avenir Next";
        color:windowtext;}
span.msoIns
        {mso-style-type:export-only;
        mso-style-name:"";
        text-decoration:underline;
        color:teal;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:595.0pt 842.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:1;
        mso-list-type:hybrid;
        mso-list-template-ids:1 1 -1 -1 -1 -1 -1 -1 -1 -1;}
@list l0:level1
        {mso-level-number-format:bullet;
        mso-level-text:•;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:18.0pt;
        text-indent:-18.0pt;}
@list l0:level2
        {mso-level-start-at:0;
        mso-level-text:"";
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:0cm;
        text-indent:0cm;}
@list l0:level3
        {mso-level-start-at:0;
        mso-level-text:"";
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:0cm;
        text-indent:0cm;}
@list l0:level4
        {mso-level-start-at:0;
        mso-level-text:"";
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:0cm;
        text-indent:0cm;}
@list l0:level5
        {mso-level-start-at:0;
        mso-level-text:"";
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:0cm;
        text-indent:0cm;}
@list l0:level6
        {mso-level-start-at:0;
        mso-level-text:"";
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:0cm;
        text-indent:0cm;}
@list l0:level7
        {mso-level-start-at:0;
        mso-level-text:"";
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:0cm;
        text-indent:0cm;}
@list l0:level8
        {mso-level-start-at:0;
        mso-level-text:"";
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:0cm;
        text-indent:0cm;}
@list l0:level9
        {mso-level-start-at:0;
        mso-level-text:"";
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:0cm;
        text-indent:0cm;}
ol
        {margin-bottom:0cm;}
ul
        {margin-bottom:0cm;}
--></style>
</head>
<body bgcolor="white" lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-GB" style="font-family:"Avenir Next"">Hi Mary,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-family:"Avenir Next""><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-family:"Avenir Next"">Yes, I also thought that might be the issue too but I checked and its definitely there (I also checked permissions and they are all fine):<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-family:"Avenir Next""><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Andale Mono"">ls $NCARG_ROOT/lib/ncarg/nclscripts/csm/<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Andale Mono"">ccm_func.ncl<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Andale Mono"">contributed.ncl<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Andale Mono"">diagnostics_cam.ncl<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Andale Mono"">gsn_code.ncl<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Andale Mono"">gsn_csm.ncl<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Andale Mono"">popRemap.ncl<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Andale Mono"">shea_util.ncl<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Andale Mono"">skewt_func.ncl<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Andale Mono"">wind_rose.ncl<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-family:"Avenir Next""><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-family:"Avenir Next"">I’ve been told the reason I can use ncl v 6.3 is because:</span><span style="font-family:"Avenir Next""><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:18.0pt;text-indent:-36.0pt;mso-list:l0 level2 lfo1">
<![if !supportLists]><span style="font-family:"Avenir Next""><span style="mso-list:Ignore"><span style="font:7.0pt "Times New Roman"">
</span></span></span><![endif]><span style="font-family:"Avenir Next""> </span><span style="font-family:"Avenir Next"">A missing "undef" before the declaration of the function "mreg_part_corr" in the NCL library “$NCARG_ROOT/lib/ncarg/nclscripts/csm/shea_util.ncl”
causes the ESMValTool to crash when this library is loaded more than once within the same execution. This unfortunately happens quite often within the tool, since libraries can be loaded multiple times within the various scripts.
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-family:"Avenir Next""><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-family:"Avenir Next"">If this is something that has been fixed in version 6.4, then I’m happy to wait until that’s released (apparently sometime this month), and hopefully the issue I’m having will fix itself?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-family:"Avenir Next""><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-family:"Avenir Next"">Thanks,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-family:"Avenir Next""><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-family:"Avenir Next"">Rebecca<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-family:"Avenir Next""><o:p> </o:p></span></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-family:Calibri;color:black">From: </span>
</b><span style="font-family:Calibri;color:black">Mary Haley <haley@ucar.edu><br>
<b>Date: </b>Wednesday, 15 February 2017 20:23<br>
<b>To: </b>"Thomas, Rebecca T" <r.thomas14@imperial.ac.uk><br>
<b>Cc: </b>"HAVENER, KEVIN F GS-12 USAF ACC 14 WS/WXED" <kevin.havener@us.af.mil>, "ncl-install@ucar.edu" <ncl-install@ucar.edu><br>
<b>Subject: </b>Re: [ncl-install] Error message: fatal:Could not open ($NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl)<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<div>
<p class="MsoNormal">Hi Rebecca,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">This may seem like a "is it plugged in" kind of question, but is there actually a contributed.ncl file in that directory?<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9.5pt;font-family:"Andale Mono"">ls $NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9.5pt;font-family:Arial">NCL Version 6.2.1 should definitely have that file, but you didn't say how you installed NCL, and it's possible that your "ncarg" directory got installed somewhere other than in $NCARG_ROOT/lib.</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9.5pt;font-family:Arial">--Mary</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>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">On Wed, Feb 15, 2017 at 6:50 AM, Thomas, Rebecca <<a href="mailto:r.thomas14@imperial.ac.uk" target="_blank">r.thomas14@imperial.ac.uk</a>> wrote:<o:p></o:p></p>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<p class="MsoNormal">Hi Kevin,<br>
<br>
Thanks for the suggestion, but unfortunately it didn’t fix the problem.<span style="font-family:PMingLiU"><br>
</span><span style="color:#888888"><br>
<span class="hoenzb">Rebecca</span></span><o:p></o:p></p>
<div>
<div>
<p class="MsoNormal"><br>
On 15/02/2017 13:16, "HAVENER, KEVIN F GS-12 USAF ACC 14 WS/WXED" <<a href="mailto:kevin.havener@us.af.mil">kevin.havener@us.af.mil</a>> wrote:<br>
<br>
I would export you NCARG environment in .bashrc not .bash_profile. In my experience, I've been bitten too many times by the the fact that the .bash_profile belongs to login shells, and .bashrc is more general applying to subshells and such. So in my
.bash_profile II just tend to source my .bshrc and keep my configuration there.<br>
<br>
Kevin Havener<br>
<br>
-----Original Message-----<br>
From: <a href="mailto:ncl-install-bounces@ucar.edu">ncl-install-bounces@ucar.edu</a> [mailto:<a href="mailto:ncl-install-bounces@ucar.edu">ncl-install-bounces@ucar.edu</a>] On Behalf Of Thomas, Rebecca<br>
Sent: Wednesday, February 15, 2017 5:30 AM<br>
To: <a href="mailto:ncl-install@ucar.edu">ncl-install@ucar.edu</a><br>
Subject: [ncl-install] Error message: fatal:Could not open ($NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl)<br>
<br>
Hi,<br>
<br>
<br>
<br>
I’ve just installed ncl 6.2.1 and am getting the following error message when I try to run a scrip:<br>
<br>
<br>
<br>
fatal:Could not open ($NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl)<br>
<br>
<br>
<br>
I have looked through posts from other people who have had similar error messages, but I’m sure my NCARG_ROOT environment is correctly set:<br>
<br>
<br>
<br>
In my .bash_profile I have:<br>
<br>
<br>
<br>
export NCARG_ROOT=/usr/local/ncl-6.2.1<br>
<br>
export PATH=$NCARG_ROOT/bin:$PATH<br>
<br>
<br>
<br>
And I have run the following checks:<br>
<br>
<br>
<br>
env | grep NCARG<br>
<br>
NCARG_ROOT=/usr/local/ncl-6.2.1<br>
<br>
<br>
<br>
which ncl<br>
<br>
/usr/local/ncl-6.2.1/bin/ncl<br>
<br>
<br>
<br>
ncl -V<br>
<br>
6.2.1<br>
<br>
<br>
<br>
Thanks,<br>
<br>
<br>
<br>
Rebecca<br>
<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
ncl-install mailing list<br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-install" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-install</a><o:p></o:p></p>
</div>
</div>
</blockquote>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</body>
</html>