<div dir="ltr"><div class="gmail_default" style="font-size:small">Barry,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">If you are trying to use the reassignment operator to try to force a variable on a file to potentially be a different type and/or size, I don&#39;t think this is going to work.  </div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">For starters, a NetCDF file has very specific definitions for all its variables, include their sizes, types, and coordinate arrays, if any. </div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">While you can overwrite a variable on a file with new values, I don&#39;t think you can completely redefine the variable on the file with different dimensions and/or type.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">You said that NCL does not like the command. What does mean? Did you get an error? </div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Also, what does the L_OBS variable on the file look like, compared to what <span style="font-size:12.8px">l_obs_new looks like?</span></div><div class="gmail_default" style="font-size:small"><span style="font-size:12.8px"><br></span></div><div class="gmail_default"><span style="font-size:12.8px">Use printVarSummary to look at your data!</span></div><div class="gmail_default"><span style="font-size:12.8px"><br></span></div><div class="gmail_default"><span style="font-size:12.8px">  printVarSummary(</span><span style="font-size:12.8px">l_obs_new)</span></div><div class="gmail_default"><span style="font-size:12.8px">  printVarSummary(f-&gt;</span> L_OBS)</div><div class="gmail_default"><br></div><div class="gmail_default">--Mary</div><div class="gmail_default"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Jan 29, 2017 at 1:06 AM, Barry Lynn <span dir="ltr">&lt;<a href="mailto:barry.h.lynn@gmail.com" target="_blank">barry.h.lynn@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I have moved past this and may be able to solve the problem on my own.<div><br></div><div>NCL does not &quot;like&quot; the :</div><div><br></div><div>f-&gt;L_OBS := l_obs_new<br><div><br></div><div>Barry<br><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Jan 28, 2017 at 10:17 PM, Barry Lynn <span dir="ltr">&lt;<a href="mailto:barry.h.lynn@gmail.com" target="_blank">barry.h.lynn@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi:<div><br></div><div>I have started to get a very strange error when trying to run the attached program.</div><div><br></div><div>It simply substitutes new values of a variable for the old values.</div><div><br></div><div>It actually appears to run past the fatal error point, but doesn&#39;t do the substitution.</div><div><br></div><div>Thank you for your help,</div><div><br></div><div>Barry</div><div><br></div><div><div>University Corporation for Atmospheric Research</div><div> NCAR Command Language Version 6.3.0</div><div> The use of this software is governed by a License Agreement.</div><div> See <a href="http://www.ncl.ucar.edu/" target="_blank">http://www.ncl.ucar.edu/</a> for more details.</div><div><b>fatal:[&quot;Translate.c&quot;:2435]:Int<wbr>ernal error</b></div><div><br></div><div>Variable: l_obs_old</div><div>Type: float</div><div>Total Size: 4861296 bytes</div><div>            1215324 values</div><div>Number of Dimensions: 3</div><div>Dimensions and sizes:<span class="m_-1356726584440850645gmail-m_6322178068437867504gmail-Apple-tab-span" style="white-space:pre-wrap">        </span>[num_light_periods | 31] x [south_north | 198] x [west_east | 198]</div><div>Coordinates: </div><div>Number Of Attributes: 6</div><div>  coordinates :<span class="m_-1356726584440850645gmail-m_6322178068437867504gmail-Apple-tab-span" style="white-space:pre-wrap">        </span>XLONG XLAT XTIME</div><div>  stagger :<span class="m_-1356726584440850645gmail-m_6322178068437867504gmail-Apple-tab-span" style="white-space:pre-wrap">        </span></div><div>  units :<span class="m_-1356726584440850645gmail-m_6322178068437867504gmail-Apple-tab-span" style="white-space:pre-wrap">        </span></div><div>  description :<span class="m_-1356726584440850645gmail-m_6322178068437867504gmail-Apple-tab-span" style="white-space:pre-wrap">        </span>Lightning OBS</div><div>  MemoryOrder :<span class="m_-1356726584440850645gmail-m_6322178068437867504gmail-Apple-tab-span" style="white-space:pre-wrap">        </span>XYZ</div><div>  FieldType :<span class="m_-1356726584440850645gmail-m_6322178068437867504gmail-Apple-tab-span" style="white-space:pre-wrap">        </span>104</div><div>(0)<span class="m_-1356726584440850645gmail-m_6322178068437867504gmail-Apple-tab-span" style="white-space:pre-wrap">        </span> dims3d(0) = 31</div><div>(0)<span class="m_-1356726584440850645gmail-m_6322178068437867504gmail-Apple-tab-span" style="white-space:pre-wrap">        </span> dims3d(1) = 198</div><div>(0)<span class="m_-1356726584440850645gmail-m_6322178068437867504gmail-Apple-tab-span" style="white-space:pre-wrap">        </span> dims3d(2) = 198</div><div>(0)<span class="m_-1356726584440850645gmail-m_6322178068437867504gmail-Apple-tab-span" style="white-space:pre-wrap">        </span>nvals = 11761230</div><div>(0)<span class="m_-1356726584440850645gmail-m_6322178068437867504gmail-Apple-tab-span" style="white-space:pre-wrap">        </span>nx = 198</div><div>(0)<span class="m_-1356726584440850645gmail-m_6322178068437867504gmail-Apple-tab-span" style="white-space:pre-wrap">        </span>ny = 198</div><div>(0)<span class="m_-1356726584440850645gmail-m_6322178068437867504gmail-Apple-tab-span" style="white-space:pre-wrap">        </span>n_l_times = 30</div><div><br></div><div><br></div>-- <br><div class="m_-1356726584440850645gmail-m_6322178068437867504gmail_signature"><div dir="ltr">Barry H. Lynn, Ph.D<div><div>Senior Lecturer,</div><div><div><span style="color:rgb(136,136,136)">The Institute of the Earth Science, </span><br style="color:rgb(136,136,136)"><span style="color:rgb(136,136,136)">The Hebrew University of Jerusalem, </span><br style="color:rgb(136,136,136)"><span style="color:rgb(136,136,136)">Givat Ram, Jerusalem 91904, Israel </span><br style="color:rgb(136,136,136)"></div><span style="color:rgb(136,136,136)">Tel: 972 547 231 170</span><br style="color:rgb(136,136,136)"><span style="color:rgb(136,136,136)">Fax: (972)-25662581</span></div></div><div><span style="color:rgb(136,136,136)"><br></span></div><div>C.E.O, Weather It Is, LTD<br>Weather and Climate Focus<br><a href="http://weather-it-is.com" target="_blank">http://weather-it-is.com</a><br>Jerusalem, Israel<br>Local: 02 930 9525<br>Cell: 054 7 231 170<br>Int-IS: x972 2 930 9525<br>US <a href="tel:(914)%20432-3108" value="+19144323108" target="_blank">914 432 3108</a><br></div></div></div>
</div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="m_-1356726584440850645gmail_signature"><div dir="ltr">Barry H. Lynn, Ph.D<div><div>Senior Lecturer,</div><div><div><span style="color:rgb(136,136,136)">The Institute of the Earth Science, </span><br style="color:rgb(136,136,136)"><span style="color:rgb(136,136,136)">The Hebrew University of Jerusalem, </span><br style="color:rgb(136,136,136)"><span style="color:rgb(136,136,136)">Givat Ram, Jerusalem 91904, Israel </span><br style="color:rgb(136,136,136)"></div><span style="color:rgb(136,136,136)">Tel: 972 547 231 170</span><br style="color:rgb(136,136,136)"><span style="color:rgb(136,136,136)">Fax: (972)-25662581</span></div></div><div><span style="color:rgb(136,136,136)"><br></span></div><div>C.E.O, Weather It Is, LTD<br>Weather and Climate Focus<br><a href="http://weather-it-is.com" target="_blank">http://weather-it-is.com</a><br>Jerusalem, Israel<br>Local: 02 930 9525<br>Cell: 054 7 231 170<br>Int-IS: x972 2 930 9525<br>US <a href="tel:(914)%20432-3108" value="+19144323108" target="_blank">914 432 3108</a><br></div></div></div>
</div></div></div></div>
<br>______________________________<wbr>_________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/<wbr>mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>