Skip to Main Content
Hands-On Data Science with the Command Line
book

Hands-On Data Science with the Command Line

by Jason Morris, Chris McCubbin, Raymond Page
January 2019
Beginner to intermediate content levelBeginner to intermediate
124 pages
2h 57m
English
Packt Publishing
Content preview from Hands-On Data Science with the Command Line

Analyzing weather data in bash

The National Weather Service has an API to get weather data: https://forecast-v3.weather.gov/documentation . The API delivers forecast data over a lightweight HTTP interface. If you pass the correct URL and parameters to the web endpoint, the service will return JSON-formatted weather data. Let's take a look at an example of some data exploration we can do with this rich dataset.

The NWS provides both current weather data and forecasts. Let's say I'd like to see just how accurate NWS forecasts are. I'd like to do this over some amount of time, say a week. I'd like to save tomorrow's forecast, and then later on, compare those forecasts to what the temperature really was. For this example, let's look at the forecast ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Data Science at the Command Line

Data Science at the Command Line

Jeroen Janssens

Publisher Resources

ISBN: 9781789132984Supplemental Content