how to read ascii file with varying column lengths

From: BasitAli Khan <BasitAli.Khan_at_nyahnyahspammersnyahnyah>
Date: Tue Mar 11 2014 - 15:34:04 MDT

Dear NCL users,

I am just wondering as how can I read an ascii file with varying column lengths e.g.

    PRES HGHT TEMP DWPT RELH MIXR DRCT SKNT THTA THTE
    hPa m C C % g/kg deg knot K K
-------------------------------------------------------------------------
  1013.0 17 22.8 16.8 69 12.02 20 10 294.9 329.5
  1012.0 26 22.8 16.9 70 12.15 350 14 294.9 330.0
  1000.0 136 22.4 18.8 80 345 16 295.6 335.5
  984.0 275 21.3 83 345 20 295.8 335.5
   930.0 763 17.6 97 350 14 296.8

At the moment when I read this kind of ascii data using readasciiTable, data columns get mixed up and actually messed up.

Any help/advise/suggestion would be greatly appreciated.

Thanks and best regards,

Basit

________________________________

This message and its contents including attachments are intended solely for the original recipient. If you are not the intended recipient or have received this message in error, please notify me immediately and delete this message from your computer system. Any unauthorized use or distribution is prohibited. Please consider the environment before printing this email.

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Tue Mar 11 15:34:19 2014

This archive was generated by hypermail 2.1.8 : Fri Mar 14 2014 - 15:08:52 MDT