[ncl-talk] Ignore Fatal error question

Mary Haley haley at ucar.edu
Sun Jan 29 10:19:12 MST 2017


Barry,

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't
think this is going to work.

For starters, a NetCDF file has very specific definitions for all its
variables, include their sizes, types, and coordinate arrays, if any.

While you can overwrite a variable on a file with new values, I don't think
you can completely redefine the variable on the file with different
dimensions and/or type.

You said that NCL does not like the command. What does mean? Did you get an
error?

Also, what does the L_OBS variable on the file look like, compared to
what l_obs_new
looks like?

Use printVarSummary to look at your data!

  printVarSummary(l_obs_new)
  printVarSummary(f-> L_OBS)

--Mary


On Sun, Jan 29, 2017 at 1:06 AM, Barry Lynn <barry.h.lynn at gmail.com> wrote:

> I have moved past this and may be able to solve the problem on my own.
>
> NCL does not "like" the :
>
> f->L_OBS := l_obs_new
>
> Barry
>
> On Sat, Jan 28, 2017 at 10:17 PM, Barry Lynn <barry.h.lynn at gmail.com>
> wrote:
>
>> Hi:
>>
>> I have started to get a very strange error when trying to run the
>> attached program.
>>
>> It simply substitutes new values of a variable for the old values.
>>
>> It actually appears to run past the fatal error point, but doesn't do the
>> substitution.
>>
>> Thank you for your help,
>>
>> Barry
>>
>> University Corporation for Atmospheric Research
>>  NCAR Command Language Version 6.3.0
>>  The use of this software is governed by a License Agreement.
>>  See http://www.ncl.ucar.edu/ for more details.
>> *fatal:["Translate.c":2435]:Internal error*
>>
>> Variable: l_obs_old
>> Type: float
>> Total Size: 4861296 bytes
>>             1215324 values
>> Number of Dimensions: 3
>> Dimensions and sizes: [num_light_periods | 31] x [south_north | 198] x
>> [west_east | 198]
>> Coordinates:
>> Number Of Attributes: 6
>>   coordinates : XLONG XLAT XTIME
>>   stagger :
>>   units :
>>   description : Lightning OBS
>>   MemoryOrder : XYZ
>>   FieldType : 104
>> (0) dims3d(0) = 31
>> (0) dims3d(1) = 198
>> (0) dims3d(2) = 198
>> (0) nvals = 11761230
>> (0) nx = 198
>> (0) ny = 198
>> (0) n_l_times = 30
>>
>>
>> --
>> Barry H. Lynn, Ph.D
>> Senior Lecturer,
>> The Institute of the Earth Science,
>> The Hebrew University of Jerusalem,
>> Givat Ram, Jerusalem 91904, Israel
>> Tel: 972 547 231 170
>> Fax: (972)-25662581
>>
>> C.E.O, Weather It Is, LTD
>> Weather and Climate Focus
>> http://weather-it-is.com
>> Jerusalem, Israel
>> Local: 02 930 9525
>> Cell: 054 7 231 170
>> Int-IS: x972 2 930 9525
>> US 914 432 3108 <(914)%20432-3108>
>>
>
>
>
> --
> Barry H. Lynn, Ph.D
> Senior Lecturer,
> The Institute of the Earth Science,
> The Hebrew University of Jerusalem,
> Givat Ram, Jerusalem 91904, Israel
> Tel: 972 547 231 170
> Fax: (972)-25662581
>
> C.E.O, Weather It Is, LTD
> Weather and Climate Focus
> http://weather-it-is.com
> Jerusalem, Israel
> Local: 02 930 9525
> Cell: 054 7 231 170
> Int-IS: x972 2 930 9525
> US 914 432 3108 <(914)%20432-3108>
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20170129/ce9394ad/attachment.html 


More information about the ncl-talk mailing list