NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

Re: perl read example (fwd)

NOTE: The decoders mailing list is no longer active. The list archives are made available for historical reasons.



==============================================================================
Robb Kambic                                Unidata Program Center
Software Engineer III                      Univ. Corp for Atmospheric Research
rkambic@xxxxxxxxxxxxxxxx                   WWW: http://www.unidata.ucar.edu/
==============================================================================

---------- Forwarded message ----------
Date: Sun, 20 Aug 2000 03:57:24 GMT
From: Donald Britton <Donald.Britton@xxxxxxxx>
To: Gary Hodges <Gary.Hodges@xxxxxxxx>
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 <Gary.Hodges@xxxxxxxx>
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

  • 2000 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the decoders archives: