<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Lara,<br>
<br>
I can create the Temp variable and its named dimensions as you
described without problems. <br>
I attached my test script which should be the same as yours. The
result is<br>
<br>
<tt>[~/NCL/tests] > ncl define_named_dimensions.ncl </tt><tt><br>
</tt><tt> Copyright (C) 1995-2015 - All Rights Reserved</tt><tt><br>
</tt><tt> University Corporation for Atmospheric Research</tt><tt><br>
</tt><tt> NCAR Command Language Version 6.3.0</tt><tt><br>
</tt><tt> The use of this software is governed by a License
Agreement.</tt><tt><br>
</tt><tt> See <a class="moz-txt-link-freetext" href="http://www.ncl.ucar.edu/">http://www.ncl.ucar.edu/</a> for more details.</tt><tt><br>
</tt><tt><br>
</tt><tt>Variable: Temp</tt><tt><br>
</tt><tt>Type: float</tt><tt><br>
</tt><tt>Total Size: 1252800 bytes</tt><tt><br>
</tt><tt> 313200 values</tt><tt><br>
</tt><tt>Number of Dimensions: 3</tt><tt><br>
</tt><tt>Dimensions and sizes: [time | 29] x [lat | 180] x [lon |
60]</tt><tt><br>
</tt><tt>Coordinates: </tt><tt><br>
</tt><tt>Number Of Attributes: 1</tt><br>
<tt> _FillValue : 9.96921e+36</tt><br>
<br>
Try to run the attached script maybe there is an 'unvisible' typo
like a Control character in your script.<br>
<br>
Bye,<br>
Karin<br>
<br>
<div class="moz-cite-prefix">Am 01.12.16 um 11:00 schrieb Lara Gunn:<br>
</div>
<blockquote
cite="mid:CAFZLEJOY=Fbe3prXtuB2h2Wxfey7BAxjJOQBCMxNzZ1u=RrS=Q@mail.gmail.com"
type="cite">
<div dir="ltr">Hi
<div><br>
</div>
<div>I am having an odd error in ncl so thought I'd see if
anyone knows what I've done wrong. I am simply writing an
array and trying to name the dimensions but for some reason
ncl doesn't want me to name the time dimension.</div>
<div><br>
</div>
<div>Here is a snapshot of the code.</div>
<div><br>
</div>
<div><img src="cid:part1.424D2FA9.BD276644@dkrz.de" alt="Inline
image 1" height="192" width="390"><br>
</div>
<div><br>
</div>
<div>when I run this I get this error</div>
<div><br>
</div>
<div>warning:VarVarWrite: lhs has dimension name and rhs
doesn't, deleting name of lhs dimension number(0), use
"(/../)" if this is not desired outcome. I did this and still
get the same issue so just a bbit confused as to why it will
name the other two dimensions but not the first one.</div>
<div><br>
</div>
<div><img src="cid:part2.D3D926FF.BEB178AE@dkrz.de" alt="Inline
image 3" height="185" width="412"><br>
</div>
<div><br>
</div>
<div>Thanks in advance</div>
</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>
<pre class="moz-signature" cols="72">--
Dipl. Geophys. Karin Meier-Fleischer
Visualization, NCL
Application Support
Deutsches Klimarechenzentrum GmbH (DKRZ)
Bundesstrasse 45a - D20146 Hamburg - Germany
Phone: +49 (0)40 460094 126
Fax: +49 (0)40 460094 270
E-Mail: <a class="moz-txt-link-abbreviated" href="mailto:meier-fleischer@dkrz.de">meier-fleischer@dkrz.de</a>
URL: <a class="moz-txt-link-abbreviated" href="http://www.dkrz.de">www.dkrz.de</a>
Geschäftsführer: Prof. Dr. Thomas Ludwig
Sitz der Gesellschaft: Hamburg
Amtsgericht Hamburg HRB 39784
</pre>
</body>
</html>