Array of characters

From: Debasish <debasish_at_nyahnyahspammersnyahnyah>
Date: Thu Jun 02 2011 - 12:15:20 MDT

Dear NCL users,

I have latitudes and longitudes for N station. I would like to create a array of names of the N stations using lat and lon.

For example:

lat = (/38.5, 38, 37.5, 37, 36.5, 36, 35.5, 35, 34.5.............................12, 11.5, 11/) ; N dimensional float
lon=(/66.5, 67, 67.5, 68, 68.5, 69, 69.5, 70, 70.5,.............................99.5, 100, 100.5/); N dimensional float

NAME = new(N, character)

where NAME(0) = 3850665 ; (lat*100000)+(lon*10)
             NAME(1)= 3800670
             :
             :
            so on

How do I create this type of character array in NCL?

Thanks

Debasish

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Jun 2 12:13:07 2011

This archive was generated by hypermail 2.1.8 : Thu Jun 09 2011 - 14:56:48 MDT