=============================================================================== Robb Kambic Unidata Program Center Software Engineer III Univ. Corp for Atmospheric Research address@hidden WWW: http://www.unidata.ucar.edu/ =============================================================================== ---------- Forwarded message ---------- Date: Sun, 20 Aug 2000 03:57:24 GMT From: Donald Britton <address@hidden> To: Gary Hodges <address@hidden> Subject: Re: perl read example Gary, Please find attached a small perl script that reads the most recent lightning file from AWIPS and determines whether lightning has struck within 60NM. This program really only functions as a demo. A slightly more involved version creates a cccWRKLTG file if lightning has occurred within 60NM. I have netcdf programs that extract data from other netcdf files such as METAR observations, the ETA model, and XClimate files. I've also written a perl version of ncdump that can serve as a sort of template for reading netcdf files. If you (or anyone else) wants these files, I'll happily make them available. One of these days I will place them on the AWIPS Local Applications Development page. Don Britton WFO Great Falls, MT ----- Original Message ----- From: Gary Hodges <address@hidden> Date: Friday, August 18, 2000 9:30 pm Subject: perl read example > Hope I've made it to the list... > > I'm looking for a simple Perl example of reading a netCDF file, and > doing something like outputting time and a var or two to a file. I've > been reading docs, and either I'm overlooking this, or I'm not > seeing it > from the examples. I'm very much a Perl novice, so nothing too > exciting. > > Gary > >
Attachment:
ltg.pl
Description: Binary data