Re: Ascii file read (and netcdf write)

From: David Brown <dbrown_at_nyahnyahspammersnyahnyah>
Date: Tue Sep 18 2012 - 18:13:38 MDT

Hi Gary,
It would help to see what a snippet of this file looks like. Is the problem converting the 5 byte hex value into a number of some sort? Is it supposed to be an integer or a float?
 -dave

On Sep 18, 2012, at 5:59 PM, Gerry Creager wrote:

> I'm working with some ceilometer data (Vaisala CL31) in log-file
> format. There's some consistent headers with metadata for date/time
> and instrument health, cloud layers, etc. One line in each "message"
> is a 5-byte hex value. There are 770 or so of these, representing
> backscatter intensity values (corrected for range) at the various
> range gates in 10m increments.
>
> I've discovered asciiread (and used it successfully before...). I can
> iterate through the lines, associate individual measurements with
> their associated metadata. That's all trivial. I'm wondering if anyone
> thoughts on how to step through the data line and create that array
> easily. If this isn't something I can readily do in NCL, I will
> address it with python...
>
> Thanks, Gerry
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Tue Sep 18 18:13:47 2012

This archive was generated by hypermail 2.1.8 : Fri Sep 21 2012 - 16:22:30 MDT