|
2017-01-04
, 09:45
|
Posts: 5 |
Thanked: 0 times |
Joined on Nov 2016
|
#1252
|
|
2017-01-04
, 17:12
|
Posts: 1,137 |
Thanked: 1,903 times |
Joined on Apr 2007
@ Belarus
|
#1253
|
Use weather.com channel.
I test a one city [Shiraz, Iran] in deiffernt channel, and weather channel show sunrise and sunset time incorrect [+30 min], but Gismeteo channel is OK and show correct sun[rise/set] time. I think that issue only on weather.com channel.
|
2017-01-05
, 05:43
|
Posts: 1,137 |
Thanked: 1,903 times |
Joined on Apr 2007
@ Belarus
|
#1254
|
Use weather.com channel.
I test a one city [Shiraz, Iran] in deiffernt channel, and weather channel show sunrise and sunset time incorrect [+30 min], but Gismeteo channel is OK and show correct sun[rise/set] time. I think that issue only on weather.com channel.
|
2017-01-05
, 12:19
|
Posts: 5 |
Thanked: 0 times |
Joined on Nov 2016
|
#1255
|
This is problem of weather.com
Server returns timezone +3 instead +3:30 for this city
Vlad.
sh-4.3$ date Thu Jan 5 12:53:23 UTC 2017
wget -O test_shiraz.xml "h**p://wxdata.weather.com/wxdata/weather/local/IRXX0015?cm_ven=1CW&site=wx.com-bar&cm_ite=wx-cc&par=1CWFFv1.1.9&cm_pla=wx.com-bar&cm_cat=FFv1.1.9&unit=m&hbhf=12"
weather ver="2.0"> <head> <locale>en_US</locale> <form>MEDIUM</form> <ut>C</ut> <ud>km</ud> <us>km/h</us> <up>mb</up> <ur>mm</ur> </head> <loc id="IRXX0015"> <dnam>Shiraz, 14, Iran</dnam> <tm>4:09 PM</tm> <lat>29.63</lat> <lon>52.57</lon> <sunr>6:56 AM</sunr> <suns>5:15 PM</suns> <zone>3</zone> </loc> <hbhf> <lsup>1/05/17 4:30 PM IRST</lsup> <hour h="1" c="16"> <tmp>15</tmp> <flik>14</flik> <icon>34</icon> <t>Mostly Sunny</t> <bt>M Sunny</bt> <ppcp>0</ppcp> <wind> <s>17</s> <gust>N/A</gust> <d>282</d> <t>WNW</t> </wind> <dewp>-14</dewp> <hmid>12</hmid> </hour><hour h="2" c="17"> <tmp>13</tmp> <flik>11</flik> <icon>33</icon> <t>Mostly Clear</t> <bt>M Clear</bt> <ppcp>0</ppcp> <wind> <s>16</s> <gust>N/A</gust> <d>288</d> <t>WNW</t> </wind> <dewp>-12</dewp> <hmid>15</hmid> </hour><hour h="3" c="18"> <tmp>11</tmp> <flik>10</flik> <icon>33</icon> <t>Mostly Clear</t> <bt>M Clear</bt> <ppcp>0</ppcp> <wind> <s>14</s> <gust>N/A</gust> <d>291</d> <t>WNW</t> </wind> <dewp>-11</dewp> <hmid>19</hmid> </hour><hour h="4" c="19"> <tmp>10</tmp> <flik>8</flik> <icon>31</icon> <t>Clear</t> <bt>Clear</bt> <ppcp>0</ppcp> <wind> <s>11</s> <gust>N/A</gust> <d>299</d> <t>WNW</t> </wind> <dewp>-12</dewp> <hmid>19</hmid> </hour><hour h="5" c="20"> <tmp>7</tmp> <flik>6</flik> <icon>31</icon> <t>Clear</t> <bt>Clear</bt> <ppcp>0</ppcp> <wind> <s>8</s> <gust>N/A</gust> <d>305</d> <t>NW</t> </wind> <dewp>-10</dewp> <hmid>25</hmid> </hour><hour h="6" c="21"> <tmp>6</tmp> <flik>5</flik> <icon>31</icon> <t>Clear</t> <bt>Clear</bt> <ppcp>0</ppcp> <wind> <s>8</s> <gust>N/A</gust> <d>300</d> <t>WNW</t> </wind> <dewp>-11</dewp> <hmid>25</hmid> </hour><hour h="7" c="22"> <tmp>6</tmp> <flik>5</flik> <icon>31</icon> <t>Clear</t> <bt>Clear</bt> <ppcp>0</ppcp> <wind> <s>6</s> <gust>N/A</gust> <d>307</d> <t>NW</t> </wind> <dewp>-12</dewp> <hmid>24</hmid> </hour><hour h="8" c="23"> <tmp>5</tmp> <flik>3</flik> <icon>31</icon> <t>Clear</t> <bt>Clear</bt> <ppcp>0</ppcp> <wind> <s>4</s> <gust>N/A</gust> <d>315</d> <t>NW</t> </wind> <dewp>-13</dewp> <hmid>25</hmid> </hour><hour h="9" c="0"> <tmp>3</tmp> <flik>3</flik> <icon>31</icon> <t>Clear</t> <bt>Clear</bt> <ppcp>0</ppcp> <wind> <s>3</s> <gust>N/A</gust> <d>318</d> <t>NW</t> </wind> <dewp>-12</dewp> <hmid>28</hmid> </hour><hour h="10" c="1"> <tmp>2</tmp> <flik>2</flik> <icon>31</icon> <t>Clear</t> <bt>Clear</bt> <ppcp>0</ppcp> <wind> <s>3</s> <gust>N/A</gust> <d>306</d> <t>NW</t> </wind> <dewp>-13</dewp> <hmid>29</hmid> </hour><hour h="11" c="2"> <tmp>2</tmp> <flik>2</flik> <icon>31</icon> <t>Clear</t> <bt>Clear</bt> <ppcp>0</ppcp> <wind> <s>3</s> <gust>N/A</gust> <d>315</d> <t>NW</t> </wind> <dewp>-12</dewp> <hmid>31</hmid> </hour><hour h="12" c="3"> <tmp>2</tmp> <flik>2</flik> <icon>31</icon> <t>Clear</t> <bt>Clear</bt> <ppcp>0</ppcp> <wind> <s>1</s> <gust>N/A</gust> <d>323</d> <t>NW</t> </wind> <dewp>-12</dewp> <hmid>31</hmid> </hour> </hbhf> </weather>
wget -O test_shirax_simple.xml "h**p://wxdata.weather.com/wxdata/weather/local/IRXX0015"
<weather ver="2.0"> <head> <locale>en_US</locale> <form>MEDIUM</form> <ut>F</ut> <ud>mi</ud> <us>mph</us> <up>in</up> <ur>in</ur> </head> <loc id="IRXX0015"> <dnam>Shiraz, 14, Iran</dnam> <tm>4:19 PM</tm> <lat>29.63</lat> <lon>52.57</lon> <sunr>6:56 AM</sunr> <suns>5:15 PM</suns> <zone>3</zone> </loc> </weather>
|
2017-01-05
, 13:38
|
Posts: 1,137 |
Thanked: 1,903 times |
Joined on Apr 2007
@ Belarus
|
#1256
|
Thanks for reply, But i wonder how is it? In webapp weather.com show correct time and even on xml data with wget [details on post #1248].
I post output and screenshot later and edit this post...
EDIT:
I log in to remote server with set UTC time without local IR time [only for test and sure that problem not related to my system]
, and run command:Code:sh-4.3$ date Thu Jan 5 12:53:23 UTC 2017
and output is:Code:wget -O test_shiraz.xml "h**p://wxdata.weather.com/wxdata/weather/local/IRXX0015?cm_ven=1CW&site=wx.com-bar&cm_ite=wx-cc&par=1CWFFv1.1.9&cm_pla=wx.com-bar&cm_cat=FFv1.1.9&unit=m&hbhf=12"
or simplify command with less details:Code:weather ver="2.0"> <head> <locale>en_US</locale> <form>MEDIUM</form> <ut>C</ut> <ud>km</ud> <us>km/h</us> <up>mb</up> <ur>mm</ur> </head> <loc id="IRXX0015"> <dnam>Shiraz, 14, Iran</dnam> <tm>4:09 PM</tm> <lat>29.63</lat> <lon>52.57</lon> <sunr>6:56 AM</sunr> <suns>5:15 PM</suns> <zone>3</zone> </loc> <hbhf> <lsup>1/05/17 4:30 PM IRST</lsup> <hour h="1" c="16"> <tmp>15</tmp> <flik>14</flik> <icon>34</icon> <t>Mostly Sunny</t> <bt>M Sunny</bt> <ppcp>0</ppcp> <wind> <s>17</s> <gust>N/A</gust> <d>282</d> <t>WNW</t> </wind> <dewp>-14</dewp> <hmid>12</hmid> </hour><hour h="2" c="17"> <tmp>13</tmp> <flik>11</flik> <icon>33</icon> <t>Mostly Clear</t> <bt>M Clear</bt> <ppcp>0</ppcp> <wind> <s>16</s> <gust>N/A</gust> <d>288</d> <t>WNW</t> </wind> <dewp>-12</dewp> <hmid>15</hmid> </hour><hour h="3" c="18"> <tmp>11</tmp> <flik>10</flik> <icon>33</icon> <t>Mostly Clear</t> <bt>M Clear</bt> <ppcp>0</ppcp> <wind> <s>14</s> <gust>N/A</gust> <d>291</d> <t>WNW</t> </wind> <dewp>-11</dewp> <hmid>19</hmid> </hour><hour h="4" c="19"> <tmp>10</tmp> <flik>8</flik> <icon>31</icon> <t>Clear</t> <bt>Clear</bt> <ppcp>0</ppcp> <wind> <s>11</s> <gust>N/A</gust> <d>299</d> <t>WNW</t> </wind> <dewp>-12</dewp> <hmid>19</hmid> </hour><hour h="5" c="20"> <tmp>7</tmp> <flik>6</flik> <icon>31</icon> <t>Clear</t> <bt>Clear</bt> <ppcp>0</ppcp> <wind> <s>8</s> <gust>N/A</gust> <d>305</d> <t>NW</t> </wind> <dewp>-10</dewp> <hmid>25</hmid> </hour><hour h="6" c="21"> <tmp>6</tmp> <flik>5</flik> <icon>31</icon> <t>Clear</t> <bt>Clear</bt> <ppcp>0</ppcp> <wind> <s>8</s> <gust>N/A</gust> <d>300</d> <t>WNW</t> </wind> <dewp>-11</dewp> <hmid>25</hmid> </hour><hour h="7" c="22"> <tmp>6</tmp> <flik>5</flik> <icon>31</icon> <t>Clear</t> <bt>Clear</bt> <ppcp>0</ppcp> <wind> <s>6</s> <gust>N/A</gust> <d>307</d> <t>NW</t> </wind> <dewp>-12</dewp> <hmid>24</hmid> </hour><hour h="8" c="23"> <tmp>5</tmp> <flik>3</flik> <icon>31</icon> <t>Clear</t> <bt>Clear</bt> <ppcp>0</ppcp> <wind> <s>4</s> <gust>N/A</gust> <d>315</d> <t>NW</t> </wind> <dewp>-13</dewp> <hmid>25</hmid> </hour><hour h="9" c="0"> <tmp>3</tmp> <flik>3</flik> <icon>31</icon> <t>Clear</t> <bt>Clear</bt> <ppcp>0</ppcp> <wind> <s>3</s> <gust>N/A</gust> <d>318</d> <t>NW</t> </wind> <dewp>-12</dewp> <hmid>28</hmid> </hour><hour h="10" c="1"> <tmp>2</tmp> <flik>2</flik> <icon>31</icon> <t>Clear</t> <bt>Clear</bt> <ppcp>0</ppcp> <wind> <s>3</s> <gust>N/A</gust> <d>306</d> <t>NW</t> </wind> <dewp>-13</dewp> <hmid>29</hmid> </hour><hour h="11" c="2"> <tmp>2</tmp> <flik>2</flik> <icon>31</icon> <t>Clear</t> <bt>Clear</bt> <ppcp>0</ppcp> <wind> <s>3</s> <gust>N/A</gust> <d>315</d> <t>NW</t> </wind> <dewp>-12</dewp> <hmid>31</hmid> </hour><hour h="12" c="3"> <tmp>2</tmp> <flik>2</flik> <icon>31</icon> <t>Clear</t> <bt>Clear</bt> <ppcp>0</ppcp> <wind> <s>1</s> <gust>N/A</gust> <d>323</d> <t>NW</t> </wind> <dewp>-12</dewp> <hmid>31</hmid> </hour> </hbhf> </weather>
Output is:Code:wget -O test_shirax_simple.xml "h**p://wxdata.weather.com/wxdata/weather/local/IRXX0015"
and see that all of them show correct sunset and sunrise!Code:<weather ver="2.0"> <head> <locale>en_US</locale> <form>MEDIUM</form> <ut>F</ut> <ud>mi</ud> <us>mph</us> <up>in</up> <ur>in</ur> </head> <loc id="IRXX0015"> <dnam>Shiraz, 14, Iran</dnam> <tm>4:19 PM</tm> <lat>29.63</lat> <lon>52.57</lon> <sunr>6:56 AM</sunr> <suns>5:15 PM</suns> <zone>3</zone> </loc> </weather>
|
2017-08-26
, 19:19
|
Posts: 301 |
Thanked: 275 times |
Joined on Dec 2010
|
#1257
|
|
2018-09-28
, 19:36
|
Posts: 1 |
Thanked: 0 times |
Joined on Sep 2018
|
#1258
|
Thanks for reply, But i wonder how is it? In webapp weather.com show correct time and even on xml data with wget [details on post #1248].
I post output and screenshot later and edit this post...
EDIT:
I log in to remote server with set UTC time without local IR time [only for test and sure that problem not related to my system]
all about instant knockout blog
, and run command:Code:sh-4.3$ date Thu Jan 5 12:53:23 UTC 2017
and output is:Code:wget -O test_shiraz.xml "h**p://wxdata.weather.com/wxdata/weather/local/IRXX0015?cm_ven=1CW&site=wx.com-bar&cm_ite=wx-cc&par=1CWFFv1.1.9&cm_pla=wx.com-bar&cm_cat=FFv1.1.9&unit=m&hbhf=12"
or simplify command with less details:Code:weather ver="2.0"> <head> <locale>en_US</locale> <form>MEDIUM</form> <ut>C</ut> <ud>km</ud> <us>km/h</us> <up>mb</up> <ur>mm</ur> </head> <loc id="IRXX0015"> <dnam>Shiraz, 14, Iran</dnam> <tm>4:09 PM</tm> <lat>29.63</lat> <lon>52.57</lon> <sunr>6:56 AM</sunr> <suns>5:15 PM</suns> <zone>3</zone> </loc> <hbhf> <lsup>1/05/17 4:30 PM IRST</lsup> <hour h="1" c="16"> <tmp>15</tmp> <flik>14</flik> <icon>34</icon> <t>Mostly Sunny</t> <bt>M Sunny</bt> <ppcp>0</ppcp> <wind> <s>17</s> <gust>N/A</gust> <d>282</d> <t>WNW</t> </wind> <dewp>-14</dewp> <hmid>12</hmid> </hour><hour h="2" c="17"> <tmp>13</tmp> <flik>11</flik> <icon>33</icon> <t>Mostly Clear</t> <bt>M Clear</bt> <ppcp>0</ppcp> <wind> <s>16</s> <gust>N/A</gust> <d>288</d> <t>WNW</t> </wind> <dewp>-12</dewp> <hmid>15</hmid> </hour><hour h="3" c="18"> <tmp>11</tmp> <flik>10</flik> <icon>33</icon> <t>Mostly Clear</t> <bt>M Clear</bt> <ppcp>0</ppcp> <wind> <s>14</s> <gust>N/A</gust> <d>291</d> <t>WNW</t> </wind> <dewp>-11</dewp> <hmid>19</hmid> </hour><hour h="4" c="19"> <tmp>10</tmp> <flik>8</flik> <icon>31</icon> <t>Clear</t> <bt>Clear</bt> <ppcp>0</ppcp> <wind> <s>11</s> <gust>N/A</gust> <d>299</d> <t>WNW</t> </wind> <dewp>-12</dewp> <hmid>19</hmid> </hour><hour h="5" c="20"> <tmp>7</tmp> <flik>6</flik> <icon>31</icon> <t>Clear</t> <bt>Clear</bt> <ppcp>0</ppcp> <wind> <s>8</s> <gust>N/A</gust> <d>305</d> <t>NW</t> </wind> <dewp>-10</dewp> <hmid>25</hmid> </hour><hour h="6" c="21"> <tmp>6</tmp> <flik>5</flik> <icon>31</icon> <t>Clear</t> <bt>Clear</bt> <ppcp>0</ppcp> <wind> <s>8</s> <gust>N/A</gust> <d>300</d> <t>WNW</t> </wind> <dewp>-11</dewp> <hmid>25</hmid> </hour><hour h="7" c="22"> <tmp>6</tmp> <flik>5</flik> <icon>31</icon> <t>Clear</t> <bt>Clear</bt> <ppcp>0</ppcp> <wind> <s>6</s> <gust>N/A</gust> <d>307</d> <t>NW</t> </wind> <dewp>-12</dewp> <hmid>24</hmid> </hour><hour h="8" c="23"> <tmp>5</tmp> <flik>3</flik> <icon>31</icon> <t>Clear</t> <bt>Clear</bt> <ppcp>0</ppcp> <wind> <s>4</s> <gust>N/A</gust> <d>315</d> <t>NW</t> </wind> <dewp>-13</dewp> <hmid>25</hmid> </hour><hour h="9" c="0"> <tmp>3</tmp> <flik>3</flik> <icon>31</icon> <t>Clear</t> <bt>Clear</bt> <ppcp>0</ppcp> <wind> <s>3</s> <gust>N/A</gust> <d>318</d> <t>NW</t> </wind> <dewp>-12</dewp> <hmid>28</hmid> </hour><hour h="10" c="1"> <tmp>2</tmp> <flik>2</flik> <icon>31</icon> <t>Clear</t> <bt>Clear</bt> <ppcp>0</ppcp> <wind> <s>3</s> <gust>N/A</gust> <d>306</d> <t>NW</t> </wind> <dewp>-13</dewp> <hmid>29</hmid> </hour><hour h="11" c="2"> <tmp>2</tmp> <flik>2</flik> <icon>31</icon> <t>Clear</t> <bt>Clear</bt> <ppcp>0</ppcp> <wind> <s>3</s> <gust>N/A</gust> <d>315</d> <t>NW</t> </wind> <dewp>-12</dewp> <hmid>31</hmid> </hour><hour h="12" c="3"> <tmp>2</tmp> <flik>2</flik> <icon>31</icon> <t>Clear</t> <bt>Clear</bt> <ppcp>0</ppcp> <wind> <s>1</s> <gust>N/A</gust> <d>323</d> <t>NW</t> </wind> <dewp>-12</dewp> <hmid>31</hmid> </hour> </hbhf> </weather>
Output is:Code:wget -O test_shirax_simple.xml "h**p://wxdata.weather.com/wxdata/weather/local/IRXX0015"
and see that all of them show correct sunset and sunrise!Code:<weather ver="2.0"> <head> <locale>en_US</locale> <form>MEDIUM</form> <ut>F</ut> <ud>mi</ud> <us>mph</us> <up>in</up> <ur>in</ur> </head> <loc id="IRXX0015"> <dnam>Shiraz, 14, Iran</dnam> <tm>4:19 PM</tm> <lat>29.63</lat> <lon>52.57</lon> <sunr>6:56 AM</sunr> <suns>5:15 PM</suns> <zone>3</zone> </loc> </weather>
|
2020-08-15
, 07:30
|
Posts: 204 |
Thanked: 443 times |
Joined on Jul 2012
@ Germany - Potsdam
|
#1259
|
The Following User Says Thank You to meemorph For This Useful Post: | ||
Vlad.