weather api - NWS - Temperature per hour -


i'm looking national weather service's api , trying temperature per hour location in next 24 hours.

i'm using test client generate requests:

http://graphical.weather.gov/xml/soap_server/ndfdxml.htm

input

from: 2015-06-29t15:00:00

to: 2015-06-30t15:00:00

product: time series

variables: hourly temperatures, dewpoint temperature, apparent temperature

unit: standard

<time-layout time-coordinate="local" summarization="none"> <layout-key>k-p3h-n9-1</layout-key> <start-valid-time>2015-06-29t17:00:00-04:00</start-valid-time> <start-valid-time>2015-06-29t20:00:00-04:00</start-valid-time> <start-valid-time>2015-06-29t23:00:00-04:00</start-valid-time> <start-valid-time>2015-06-30t02:00:00-04:00</start-valid-time> <start-valid-time>2015-06-30t05:00:00-04:00</start-valid-time> <start-valid-time>2015-06-30t08:00:00-04:00</start-valid-time> <start-valid-time>2015-06-30t11:00:00-04:00</start-valid-time> <start-valid-time>2015-06-30t14:00:00-04:00</start-valid-time> <start-valid-time>2015-06-30t17:00:00-04:00</start-valid-time> </time-layout> <parameters applicable-location="point1"> <temperature type="hourly" units="fahrenheit" time-layout="k-p3h-n9-1"> <name>temperature</name> <value>83</value> <value>79</value> <value>72</value> <value>70</value> <value>69</value> <value>74</value> <value>82</value> <value>87</value> <value>87</value> </temperature> <temperature type="dew point" units="fahrenheit" time-layout="k-p3h-n9-1"> <name>dew point temperature</name> <value>56</value> <value>59</value> <value>61</value> <value>63</value> <value>64</value> <value>67</value> <value>68</value> <value>68</value> <value>67</value> </temperature> <temperature type="apparent" units="fahrenheit" time-layout="k-p3h-n9-1"> <name>apparent temperature</name> <value>82</value> <value>79</value> <value>72</value> <value>70</value> <value>69</value> <value>74</value> <value>85</value> <value>91</value> <value>90</value> </temperature> 

the temperatures displayed in 3hour periods. figured change period parameter 'weather @ glance'. indeed got time period of 24 hours, parameter displayed in period 'hazards'.

obviously, each parameter tied time period, possible temperature in 1hour time period instead of 3hour somehow?

if open json there plenty of ways it.

i recommend 1 service named apixu.com. offer hour hour weather , have libraries in different programming languages.

https://github.com/apixu?tab=repositories


Comments

Popular posts from this blog

android - Gradle sync Error:Configuration with name 'default' not found -

java - Andrioid studio start fail: Fatal error initializing 'null' -

html - jQuery UI Sortable - Remove placeholder after item is dropped -