problem to convert integer to character

From: Li Tao (taoli AT hawaii.edu)
Date: Fri Jan 21 2005 - 17:56:46 MST


Hi, all:

  I have some problems to convert integer to character:
I have a time array which value are 20020201, 20020602.....
I use ncl function integertochar to try to convert them into character,
but it doesn't work, could anyone help me about it? By the way, what is
difference between character and string?

   do nf=0,kk
     time1=integertochar(time(nf))
     print(time(nf))
     print(time1)
     time_file_exists = systemfunc ("ls
/disk/ide41/taoli/AMSR_nc/amsre_"+time1(0:7)+"v4.dat")

Thanks a lot!

Li Tao

International Pacific Research Center
School of Ocean and Earth Science and Technology
University of Hawaii
1680 East West Road, POST Bldg., Room:412,
Honolulu, HI, 96822

Phone: 808-956-2453(O)

_______________________________________________
ncl-talk mailing list
ncl-talk@ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk



This archive was generated by hypermail 2b29 : Sat Jan 22 2005 - 21:53:04 MST