BAS Main Index
  [Science]   [BAS home]   [Met home]   [WMC home] Antarctic Meteorology 


Perl scripts

This is my collection of vaguely useful Perl scripts.

  • GRIB and GRID decoding scripts. This link superceedes all others [2002/07/22]
  • If you are trying to decode ECMWF (ERA) grib, then you will need wmc_grib1.pl since ECMWF write their own variant on GRIB. If you are trying to decode their spectral/harmonic output, life becomes a bit harder... see here. Kai Logemann has written a fortran program based on wmc_grib1 that works under win32. Perhaps I should mention that I have an awful feeling that I have upgraded the script internally (or was it on my portable?) and never put it up here. Ho hum.
  • ftn2html.pl - take a whole bunch of files (probably in fortran, could be modified for other languages) and output a bunch of file.html files with hyperlinks between calls and subroutines and colour it in a bit too.
  • lv.pl - linkage verifier for fortran. Does what you might expect, at least partly. lvx.pl does a bit more, and better.
  • Radiosonde decoding - two perl scripts to do the decoding, plus a Java interface to the output (optional)
  • Synop and buoy decoding
  • gif1.pl - make an animated gif. Not very useful as there are lots of progs out there that do it far better.
  • CLIMAT.pm (rcs) CLIMAT decoder module, and a CLIMAT.pl (rcs) driver script.
    Forthcoming...
    I am in the progress of writing (nice) CLIMAT, GRIB, GRID decoders. In perl, of course. If you're interested, mail me... [2001/05/21: CLIMAT now available. See above]. [2001/10/01: GRID and GRIB placed online, so that as_grib is available].

    Past last modified: 21/8/2005

    wmc@bas.ac.uk     © Copyright Natural Environment Research Council - British Antarctic Survey 2001