Author Topic: Fahrenheit from latest observation  (Read 572 times)

0 Members and 1 Guest are viewing this topic.

Offline dnavarrojr

  • Member
  • *
  • Posts: 43
    • Weather Center
Fahrenheit from latest observation
« on: October 05, 2018, 05:14:30 PM »
I am using https://api.weather.gov/stations/KTOP/observations/latest to get the current weather info.

All of the units default to Celcius. Is there a way to default it to Fahrenheit?

The documentation at https://www.weather.gov/documentation/services-web-api is pretty poor.
Dave Navarro, Jr. - The Weather Center
https://weathercenter.us

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9257
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: Fahrenheit from latest observation
« Reply #1 on: October 06, 2018, 04:53:07 PM »
AFAIK, there's no query parameter to have temperature in Fahrenheit -- the units for temperature are always in Celsius 
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

 

anything