[ncl-talk] Divergence computation assistance

Maria Gehne - NOAA Affiliate maria.gehne at noaa.gov
Sun Aug 10 11:33:24 MDT 2014


I think you are missing a few things. First of all you have a do loop that
never ends. You need to insert the end do command at the end of the loop.
Then you add files with f= add files(...), but you reference a variable "a"
when you try to read U and V from the files. Change line 8
f=addfiles(fils,"r") to a=addfiles(fils,"r").

Please respond to ncl-talk if you still have problems.

Maria


On Sat, Aug 9, 2014 at 3:48 PM, mmbuh at masonlive.gmu.edu <
mmbuh at masonlive.gmu.edu> wrote:

>  Hi everyone,
>
>     I am trying to compute divergence and keeps getting an error message
> for the first and the last line, and i am not sure how to resolve that
> problem. Can some look through my script and assist me with where the error
> is coming from?
>
>       Thanks​
>  Mbongowo J Mbuh
> Department of Geography and Geoinformation Science
> College of Science
> George Mason University
> Research Hall, Room 230
> 4400 University Drive, MS 6C3
> Fairfax, VA   22032
>
> _______________________________________________
> ncl-talk mailing list
> 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/20140810/39e92762/attachment.html 


More information about the ncl-talk mailing list