RE: [ncl-talk] Re: transect plot

From: Debasish Pai Mazumder <debasish_at_nyahnyahspammersnyahnyah>
Date: Thu, 28 Aug 2008 17:31:29 -0800

Dear Lin,

Before declaring

X!0 = "alt"
X&alt = alt

You need to declare "alt"

If the real altitudes' values are stored in Layer_Base_Altitude and
Layer_Top_Altitude, you may declare "alt" as

alt(:)=altBase(1,:) or alt(:)=altTop(1,:)

Thanks

Debasish
   

-----Original Message-----
From: ncl-talk-bounces_at_ucar.edu [mailto:ncl-talk-bounces_at_ucar.edu] On Behalf
Of Lin Su
Sent: Thursday, August 28, 2008 10:18 AM
To: Mary Haley
Cc: ncl-talk_at_ucar.edu
Subject: Re: transect plot

Thanks, Mary:) No more error at the dimensional issue on triple2grid right
now.
But the following error comes up:

fatal:Variable (alt) is undefined
fatal:Execute: Error occurred at or near line 36 in file tran.ncl

The problem is I need to define the height for the transect plot although
the
second dimension in x (and the 1st dimension in X) is layer numbers (8
layers
totally). The real altitudes' values are stored in Layer_Base_Altitude and
Layer_Top_Altitude.

Any ideas or suggestions to do this?

Thanks for your great help as always!
-Lin

---
Lin Su
http://atoc.colorado.edu/~sul/
Received on Thu Aug 28 2008 - 19:31:29 MDT

This archive was generated by hypermail 2.2.0 : Fri Aug 29 2008 - 07:39:21 MDT