(no subject)

From: Agee, David <david.r.agee_at_nyahnyahspammersnyahnyah>
Date: Fri Aug 16 2013 - 09:41:33 MDT

Hi all,

I am attempting to plot rainfall totals using a WRF precip sample script from ncl. My code is reading in 24 hourly output files and as soon as it prints to the command line I receive an error message of:

fatal:Argument type mismatch on argument (0) of (wrf_user_getvar) can not coerce
fatal:Execute: Error occurred at or near line 46 in file precip.ncl

and here are the lines of the script that the error stems from:

  times = wrf_user_getvar(a,"times",-1) ; get all times in the file (line 46)
  ntimes = dimsizes(times) ; number of times in the file (line 47)

Any time I comment out the line and re-run the script the error message jumps to the next line where wrf_user_getvar is called. The script seems to work for my co-workers but not for me. I've searched the archives for similar errors experienced by other users and nothing has proven to be the solution yet.

I appreciate any information anyone can provide.


David R. Agee

ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
Received on Fri Aug 16 09:41:46 2013

This archive was generated by hypermail 2.1.8 : Wed Aug 21 2013 - 13:54:15 MDT