gsn_csm.ncl script problems.

From: <ern_at_nyahnyahspammersnyahnyah>
Date: Mon, 18 Dec 2006 18:53:00 +0100 (CET)

Hi NCL-talk,
I am trying to run the script found at:
http://www.ncl.ucar.edu/Applications/Scripts/WRF_me_5.ncl
to make a vertical cross section using a wrfout-file in mercator projection.
The problem is that I get a bunch of errors when the script tries to read
the gsn_csm.ncl script.
The error message looks like this:

fatal:syntax error: procedure gsnp_point_tickmarks_outward expects 8
arguments, got 9
fatal:Syntax Error in block, block not executed
fatal:syntax error: line 3956 in file gsn_csm.ncl before or near \n
                      lat_spacing,mlat_spacing,point_outward)
-------------------------------------------------------------^

fatal:syntax error: possibly an undefined procedure
fatal:Syntax Error in block, block not executed
fatal:syntax error: procedure gsnp_point_tickmarks_outward expects 8
arguments, got 9
fatal:Syntax Error in block, block not executed
fatal:syntax error: procedure gsnp_point_tickmarks_outward expects 8
arguments, got 9
fatal:Syntax Error in block, block not executed
fatal:syntax error: procedure gsnp_point_tickmarks_outward expects 8
arguments, got 9
fatal:Syntax Error in block, block not executed
fatal:syntax error: procedure gsnp_point_tickmarks_outward expects 8
arguments, got 9
fatal:Syntax Error in block, block not executed
fatal:syntax error: procedure gsnp_point_tickmarks_outward expects 8
arguments, got 9
fatal:Syntax Error in block, block not executed

Variable: X
Type: float
Total Size: 3078000 bytes
            769500 values
Number of Dimensions: 3
Dimensions and sizes: [lev | 30] x [lat | 171] x [lon | 150]
Coordinates:
            lev: [996.5..10.5]
            lat: [47.854..62.05588]
            lon: [-0.07104492..21.89435]
Number Of Attributes: 5
  FieldType : 104
  MemoryOrder : XYZ
  description : perturbation potential temperature (theta-t0)
  units : K
  stagger :
fatal:Undefined identifier: (gsn_csm_contour) is undefined, can't continue
fatal:Execute: Error occurred at or near line 10304 in file gsn_csm.ncl

fatal:Execute: Error occurred at or near line 10559 in file gsn_csm.ncl

fatal:Execute: Error occurred at or near line 69 in file
mercator_transect.ncl

I read in a thread at the forum that one is supposed to use the load
commands:
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl"

, but I don't have these libraries so I am using a copy of gsn_csm.ncl
script located in the directory where I run NCL (WRF_NCL). Should this
matter?

I have tried to remove everything in my script exept from the "load"
lines, but I still get the same error message.. It dissapears only if I
remove the gsn_csm.ncl script, but then of course I cannot do what I want
to do ;)

Do I perhaps need a new/other gsn_csm.ncl script?
Does anyone have an idea of what to do?
Thanks for your help!
/Erik

_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Mon Dec 18 2006 - 10:53:00 MST

This archive was generated by hypermail 2.2.0 : Tue Dec 19 2006 - 07:55:14 MST