comparison myw2/myw_flask_app.py @ 132:99e4022eae52

pics3: add Dockerfile and requirements.pip
author paulo
date Thu, 20 Jan 2022 01:28:46 -0800
parents 3192e40f5eaf
children 93ad5ecd149d
comparison
equal deleted inserted replaced
2:f792152aa020 3:44a36330a0f8
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/ridge/lite/KMUX_loop.gif", 15 "radar": "https://radar.weather.gov/ridge/lite/KMUX_loop.gif",
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", 16 "hourly": "https://forecast.weather.gov/MapClick.php?w0=t&w1=td&w2=wc&w3=sfcwind&w4=sky&w5=pop&w6=rh&w7=rain&w8=thunder&w12=fog&AheadHour=0&Submit=Submit&&FcstType=graphical&textField1=37.6305&textField2=-122.4111&site=all",
17 "goes": "https://www.star.nesdis.noaa.gov/GOES/sector.php?sat=G17&sector=psw", 17 "goes": "https://www.star.nesdis.noaa.gov/GOES/sector.php?sat=G17&sector=psw",
18 }) 18 })
19 19
20 20
21 @app.route("/") 21 @app.route("/")