Dear Krishna,
You are getting
Variable: fs
Type: string
Total Size: 8 bytes
1 values
Number of Dimensions: 1
Dimensions and sizes: [1]
Coordinates:
(0) wrfout_d02_2005-10-01_00-YKF-d02
(0) Check input data:1 .ne. 13
because in your program you mentioned
print(fs)
if(nfs .ne. ndate) then
print("Check input data:"+nfs+" .ne. "+ndate)
end if
your actual error massage
warning:gsnAddCyclic is not a valid resource in map at this time
fatal:Subscript out of range, error in subscript #0
fatal:An error occurred reading lon2d
fatal:Execute: Error occurred at or near line 118 in file WRF_track_1.ncl
to get rid of the warning massage you need to set
res_at_gsnAddCyclic = False
before the plotting statement.
Your error occurs at line 118 in program. The section is mentioned below,
do i = 0,ndate-2
res_lines_at_gsLineColor = cols(0)
--> xx=(/lon2d(imin(i),jmin(i)),lon2d(imin(i+1),jmin(i+1))/)
yy=(/lat2d(imin(i),jmin(i)),lat2d(imin(i+1),jmin(i+1))/)
line(i) = gsn_add_polyline(wks,plot,xx,yy,res_lines)
end do
In the above mentioned section 1st dimension of "lon2d" is out of range.
Please check the dimension of lon2d and ndate using printVarSummary (lon2d)
and printVarSummary (ndate)
Good Luck
Debasish
_____
From: ncl-talk-bounces_at_ucar.edu [mailto:ncl-talk-bounces_at_ucar.edu] On Behalf
Of osuri kishore
Sent: Wednesday, November 07, 2007 10:23 PM
To: ncl-talk_at_ucar.edu
Subject: error in storm track script
Dear users,
As iam a newer to NCL, Iam trying to plot the storm track using ncl storm
tracker script (WRF_track_1.ncl). Iam getting the following error. In my
single input file there are 21 times steps. so I have just given only 13
timesteps from 0100 to 0212 of October 2005.
Iam getting the error like that checking the input data 1.ne.13. why it is
coming.. Here iam attaching the tracker script. Please check and suggest
me.
Thanking you in advance
krishna.
/user3/wrftrt4/wrfv2.1/ncl2> ncl WRF_track_1.ncl
Copyright (C) 1995-2007 - All Rights Reserved
University Corporation for Atmospheric Research
NCAR Command Language Version 4.3.1
The use of this software is governed by a License Agreement.
See <http://www.ncl.ucar.edu/> http://www.ncl.ucar.edu/ for more details.
Variable: fs
Type: string
Total Size: 8 bytes
1 values
Number of Dimensions: 1
Dimensions and sizes: [1]
Coordinates:
(0) wrfout_d02_2005-10-01_00-YKF-d02
(0) Check input data:1 .ne. 13
warning:gsnAddCyclic is not a valid resource in map at this time
fatal:Subscript out of range, error in subscript #0
fatal:An error occurred reading lon2d
fatal:Execute: Error occurred at or near line 118 in file WRF_track_1.ncl
*******************************************
O. krishna Kishore
Project Associate,
Centre for Atmospheric Sciences,
IIT Delhi - 110016,
New Delhi, India.
<mailto:osurikishore_at_yahoo.co.in> osurikishore_at_yahoo.co.in
<mailto:osurikishore_at_gmail.com> osurikishore_at_gmail.com
<mailto:osurikishore_at_rediffmail.com> osurikishore_at_rediffmail.com
*******************************************
_____
Forgot the famous last words? Access your message archive online. Click
here.
<http://in.rd.yahoo.com/tagline_webmessenger_4/*http:/in.messenger.yahoo.com
/webmessengerpromo.php>
_____
Explore your hobbies and interests. Click
<http://in.rd.yahoo.com/tagline_groups_6/*http:/in.promos.yahoo.com/groups>
here to begin.
_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Nov 08 2007 - 01:41:37 MST
This archive was generated by hypermail 2.2.0 : Thu Nov 08 2007 - 09:58:24 MST