How to use wrf_user_getvar command to get variable from files?

From: Lu Zheng <cfluzheng_at_nyahnyahspammersnyahnyah>
Date: Sat, 8 Nov 2008 11:09:31 -0500

 Hi,

I have 100 wrfout files. And I used addfiles and wrf_user_getvar commands
together. But it give me fatal message:
*fatal:Argument type mismatch on argument (0) of (wrf_user_getvar) can not
coerce*

This is a part of my code:

*files = systemfunc("ls ./wrfout_d01_*")

 a1 = addfiles(files+".nc","r")

    u = wrf_user_getvar(a1,"ua",it) ; u averaged to mass points
    v = wrf_user_getvar(a1,"va",it) ; v averaged to mass points
*

Any suggestion?

Thanks,

Zheng

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Sat Nov 08 2008 - 09:09:31 MST

This archive was generated by hypermail 2.2.0 : Sun Nov 09 2008 - 06:17:31 MST