NWS_met module
Get weather forecasts for a location in the United States from National Weather Service (NWS).
- class NWS_met.NWS_met(lat, lon, temp_unit='F', wind_unit='mph')
 Bases:
objectClass for retrieving NWS weather forecast for a given location
- Parameters:
 lat (float) – forecast latitude (decimal degrees)
lon (float) – forecast longitude (decimal degrees)
temp_unit (str) – ‘F’ or ‘C’, temperature unit
wind_unit (str) – ‘mph’ or ‘km/hr’, wind speed unit
- get_nws_met()
 Get forecast from NWS at given location e.g. temperature, dewpoint, skyCover, probabilityOfPrecipitation
- Returns:
 dict of pandas.DataFrame objects for each forecast parameter
- Return type:
 nws_data (dict)
- property temp_unit
 
- property wind_unit
 
- NWS_met.c_to_f(temp)
 Convert degrees Celsius to Fahrenheit
- NWS_met.kmph_to_mph(speed)
 Convert km/hr to mph