CIS 2279 Homework Assignment #14

Due Tue Dec 13, 2016 16:45

Create a perl script named lab14.pl. The script needs to have the following features:(10 points each)

  1. Prompt the user to enter a date (year, month and day) to retrieve LSC weather observations.
  2. If no date is entered, it will determine the current date and use that as the request date.
  3. Retrieve station observation data from http://apollo.lsc.vsc.edu/cgi-bin/logger.pl and storing the data to a file. Retrieving the data should be done with the wget command (see examples below)
  4. Read through the downloaded file and build a summary of the data for the day which should include the following: high temperature, low temperature, average temperature, highest wind speed, and total precipitation.
  5. Print the calculated summary data to the screen for the requested date. Print all temperature values in both Celcius and Farenheit. Print the times that all highs and lows occurred.

last updated: 08 Dec 2016 18:03