Re: doesn't recognize gsn_csm_contour_map_ce

From: Dave Allured <dave.allured_at_nyahnyahspammersnyahnyah>
Date: Fri, 07 Sep 2007 16:15:08 -0600

Erik,

There is a missing double quote at the end of the first line in your
script. I bet this is your problem.

Everyone, it is helpful on many mystery problems to PLEASE include a
full session log (when of reasonable length), not just excerpt an
isolated error message. At least include concurrent error messages!
  NCL tends to throw multiple messages and other diagnostic info,
and it saves time to have this information present. Thank you.
<soap box off>

--Dave A.
CU/CIRES Climate Diagnostics Center (CDC)
NOAA/ESRL/PSD, Climate Analysis Branch (CAB)
http://www.cdc.noaa.gov/

Erik Noble wrote:
> I used one of the contour examples on the web to try an display
> variables from FNL data. I
>
> I am getting an error:
> fatal:Undefined identifier: (gsn_csm_contour_map_ce) is undefined,
> can't continue
>
> Its not clear how i am arriving to this error in my code
>
> Could I have some help with this?
> -Erik
>
> load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl
> load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"
> load "$NCARG_ROOT/lib/ncarg/nclscripts/wrf/WRFUserARW.ncl"
>
> begin
> ;Make a list of all files we are interested in
> DATADir = "/ptmp/noble/Metgrid-WRF_Store/MET_EM-STORAGE/SOP3_Month-Study_MET_EM_FILES/"
> ; pa
> th to
> FILES = systemfunc ("csh -c ' ls " + DATADir + "met_em* '") ;
> root of data file you want to pl
> ot
> numFILES = dimsizes(FILES)
>
> do ifil = 0, numFILES-1 ; BIG FILES LOOP ; NEW file loop
> a = addfile(FILES(ifil)+".nc","r")
>
> type = "x11"
>
> wks = gsn_open_wks(type,"Input_")
>
> ; Which times and how many time steps are in this data set?
> times = wrf_user_list_times(a) ; get times in the file
> ntimes = dimsizes(times) ; number of times in the file
>
> do it = 0,ntimes-1,8 ; TIME LOOP
> print("Working on time: " + times(it) )
>
> slp = a->PMSL
> ;tk = a->TT
> ; tk = a->SKINTEMP ;surface temperature
> ;u = a->UU
> ;v = a->VV
> plot = gsn_csm_contour_map_ce(wks,slp,false)
> end do
> end do
> end.
> _______________________________________________
> ncl-talk mailing list
> ncl-talk_at_ucar.edu
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk

_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Fri Sep 07 2007 - 16:15:08 MDT

This archive was generated by hypermail 2.2.0 : Tue Sep 11 2007 - 10:34:39 MDT