[a] The
"fatal: error in statement"
"fatal: syntax error: line -1 before or near"
may be the error of interest. Based on experience,
it is likely that there is an illegal or missing
character in the 1st line of the script.
[b] I would suggest interpolating the U and V components rather
than wind speed and direction. Then calculate the wind speed
and direction from the interpolated wind components.
FYI:
http://www.ncl.ucar.edu/Document/Functions/Contributed/wind_direction.shtml
also
http://www.ncl.ucar.edu/Document/Functions/Contributed/wind_component.shtml
On 3/6/14, 8:43 PM, Victor Savatia Indasi wrote:
> Dear NCL users,
> I have written an NCL script to help me interpolate wind wind speed and wind direction to 45m above ground level from wrf output file. However, I get this error when I run this script ("synatax error:line 130 in file windspeed4.ncl" - this line contain the end statement).
>
> Please find the error screen print and the script attached.
>
> I hope to hear your suggestions on how to solve this. I hope to hear from you soon.
>
> Thank you.
> Victor.
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Mar 6 21:29:27 2014
This archive was generated by hypermail 2.1.8 : Fri Mar 14 2014 - 15:08:51 MDT