jessehamner / WeatherWidget

Python and Shell scripts to get radar and hazardous weather outlook info, plus local conditions, from the NWS API. New RIDGE II radar compatibility coming soon.
Apache License 2.0
5 stars 0 forks source link

Need to add specific command line arguments #15

Open jessehamner opened 3 years ago

jessehamner commented 3 years ago

The NWS doesn't release new forecasts every hour, but it does release new radar images many times an hour. Therefore it makes no sense to retrieve forecasts, area forecast discussions, or current weather observation data on the same schedule as retrieving radar images and alerts data.

The main script should implement docopts such that individually useful data can be retrieved with the temporal granularity that is warranted by the frequency of the data being updated. Then the scheduled execution of the main script could be easily configured to gather data as needed. This move should improve overall performance and avoid wasting both bandwidth and time.