[ncl-talk] advect_variable problem
Dennis Shea
shea at ucar.edu
Mon May 9 10:54:35 MDT 2016
As noted by Thomas, I made a mistake
=======
I noted the issue here:
http://www.ncl.ucar.edu/current_release.shtml
==
The 6.4.0 contributed.ncl supports both names.
undef("advect_var")
function advect_var (u:numeric, v:numeric, x:numeric,gridType[1]:integer
,long_name:string, units:string, iopt[1]:integer)
begin
[SNIP]
end
;====================> Fix documentation name problem
undef("advect_variable")
function advect_variable (u:numeric, v:numeric,
x:numeric,gridType[1]:integer
,long_name:string, units:string, iopt[1]:integer)
; advect_variable was the original function
begin
return( advect_var(u, v, x, gridType, long_name, units, iopt) )
end
;---
On Mon, May 9, 2016 at 10:23 AM, Mary Haley <haley at ucar.edu> wrote:
> Xiaoxin,
>
> This funcction apparently used to be in "shea_util.ncl", and it was
> supposed to get moved to "contributed.ncl", but it seems that never
> happened.
>
> I've been trying to find the function so I could attach it here, but no
> luck yet. I'll see if Dennis knows where it is.
>
> --Mary
>
>
> On Sun, May 8, 2016 at 11:23 AM, Yang, Xiaoxin <yang.1143 at osu.edu> wrote:
>
>> Dear Thomas,
>>
>> Thank you for the reply.
>>
>> Then I tried to calculate the vertical weighted sum using
>> “wgt_vertical_n”, and encountered the same problem.
>>
>> Fatal: Undefined identifier: (wgt_vertical_n) is undefined, can’t
>> continue.
>>
>> Is there a typo in the documentation too? I was wondering what should the
>> right function be to conduct vertical integration.
>>
>> Thanks in advance.
>>
>> Xiaoxin
>>
>>
>>
>> *From:* Thomas Tobian [mailto:thomastobian at gmail.com]
>> *Sent:* 2016Äê5ÔÂ8ÈÕ 12:58 AM
>> *To:* Yang, Xiaoxin <yang.1143 at osu.edu>
>> *Cc:* ncl-talk at ucar.edu
>> *Subject:* Re: [ncl-talk] advect_variable problem
>>
>>
>>
>> Use "advect_var" instead. There is a typo in the documentation.
>>
>>
>>
>> Best,
>>
>> Thomas
>>
>>
>>
>> On Sat, May 7, 2016 at 10:53 PM, Yang, Xiaoxin <yang.1143 at osu.edu> wrote:
>>
>> Dear all,
>>
>> I was running NCL version 6.3.0. Yet when I tried using advect_variable
>> function, I got a mistake:
>>
>> Fatal: undefined identifier: (advect_variable) is undefined, can’t
>> continue.
>>
>> Can anybody help?
>>
>> Best,
>>
>> Xiaoxin
>>
>>
>>
>>
>> _______________________________________________
>> ncl-talk mailing list
>> ncl-talk at ucar.edu
>> List instructions, subscriber options, unsubscribe:
>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>
>>
>>
>> _______________________________________________
>> ncl-talk mailing list
>> ncl-talk at ucar.edu
>> List instructions, subscriber options, unsubscribe:
>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>
>>
>
> _______________________________________________
> 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/20160509/918088f8/attachment.html
More information about the ncl-talk
mailing list