Hi all,
Once I load the contributed.ncl with the following line,
;----------------------------------------------------------------------
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl"
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl"
load "$NCARG_ROOT/lib/ncarg/nclscripts/roms/ROMS_utils.ncl"
I get some error message as follow,
fatal:syntax error: line 92 in file $NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl before or near size_array
function size_array
------------------^
fatal:Function identifier is defined
fatal:syntax error: line 100 in file $NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl before or near isatt_LongName
function isatt_LongName
----------------------^
fatal:Function identifier is defined
fatal:syntax error: line 101 in file $NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl before or near local
local
----^
fatal:error in statement
fatal:syntax error: line 121 in file $NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl before or near getLongName
function getLongName
-------------------^
fatal:Function identifier is defined
fatal:syntax error: line 154 in file $NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl before or near namDimCheck
function namDimCheck
-------------------^
fatal:Function identifier is defined
fatal:syntax error: line 155 in file $NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl before or near local
local
----^
fatal:error in statement
fatal:syntax error: line 177 in file $NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl before or near copy_VarCoords
procedure copy_VarCoords
-----------------------^
fatal:error in statement
fatal:syntax error: line 178 in file $NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl before or near local
local
----^
fatal:error in statement
fatal:syntax error: line 214 in file $NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl before or near copy_VarCoords_1
procedure copy_VarCoords_1
-------------------------^
fatal:error in statement
fatal:syntax error: line 215 in file $NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl before or near local
local
----^
fatal:error in statement
fatal:syntax error: line 247 in file $NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl before or near copy_VarCoords_2
........................
What's wrong with it? I just want to use the function flt2string. What should I do? Thanks.
2013-09-05
朱学明
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Wed Sep 4 13:29:09 2013
This archive was generated by hypermail 2.1.8 : Mon Sep 16 2013 - 13:43:52 MDT