comparison myw2/myw_flask_app.py @ 120:86e71857d99e

myw2: update radar URL; add flask_run_dev.sh
author paulo
date Sat, 16 Jan 2021 01:53:09 -0800
parents 17454b47b15f
children 3192e40f5eaf
comparison
equal deleted inserted replaced
0:5d2b55f6f5bf 1:032bd8003875
10 10
11 11
12 REDIRECTS = collections.OrderedDict({ 12 REDIRECTS = collections.OrderedDict({
13 "desktop": "http://forecast.weather.gov/MapClick.php?lat=37.63048605200049&lon=-122.41107706299971", 13 "desktop": "http://forecast.weather.gov/MapClick.php?lat=37.63048605200049&lon=-122.41107706299971",
14 "mobile": "http://mobile.weather.gov/index.php?lat=37.61961&lon=-122.36558", 14 "mobile": "http://mobile.weather.gov/index.php?lat=37.61961&lon=-122.36558",
15 "radar": "https://radar.weather.gov/lite/N0R/MUX_loop.gif", 15 #"radar": "https://radar.weather.gov/lite/N0R/MUX_loop.gif",
16 "radar": "https://radar.weather.gov/?settings=v1_eyJhZ2VuZGEiOnsiaWQiOiJ3ZWF0aGVyIiwiY2VudGVyIjpbLTEyMi40MiwzNy43NzddLCJ6b29tIjo3LCJsb2NhdGlvbiI6Wy0xMjIuNDIsMzcuNzc3XX0sImJhc2UiOiJzdGFuZGFyZCIsImNvdW50eSI6ZmFsc2UsImN3YSI6ZmFsc2UsInN0YXRlIjpmYWxzZSwibWVudSI6dHJ1ZSwic2hvcnRGdXNlZE9ubHkiOmZhbHNlfQ%3D%3D#/",
16 "hourly": "http://forecast.weather.gov/meteograms/Plotter.php?lat=37.6305&lon=-122.4111&wfo=MTR&zcode=CAZ508&gset=18&gdiff=3&unit=0&tinfo=PY8&ahour=0&pcmd=11011111111110000000000000000000000000000000000000000000000&lg=en&indu=1!1!1!&dd=&bw=&hrspan=48&pqpfhr=6&psnwhr=6", 17 "hourly": "http://forecast.weather.gov/meteograms/Plotter.php?lat=37.6305&lon=-122.4111&wfo=MTR&zcode=CAZ508&gset=18&gdiff=3&unit=0&tinfo=PY8&ahour=0&pcmd=11011111111110000000000000000000000000000000000000000000000&lg=en&indu=1!1!1!&dd=&bw=&hrspan=48&pqpfhr=6&psnwhr=6",
17 "goes": "https://www.star.nesdis.noaa.gov/GOES/sector.php?sat=G17&sector=psw", 18 "goes": "https://www.star.nesdis.noaa.gov/GOES/sector.php?sat=G17&sector=psw",
18 }) 19 })
19 20
20 21