Hi,
just one hint - if you need to process weather data, tr (to replace separators) and awk (to select and reformat fields of records) will be helpful to load the relevant fields into gendaylit. Both are standard tools in any Unix-like system, includig Mac OS X and Linux.
Cheers, Lars.