diff --git a/README.md b/README.md index 81fe766..61af124 100644 --- a/README.md +++ b/README.md @@ -3,8 +3,10 @@ Done by Armando Vega, Eduardo Sanchez, Lily Saragoza and Gabriel Class: Digital Multimedia (Cst205) Created:4/22/2024 -The program can be run on terminal with the command flask --app weather.py --debug run +The program can be run on powershell with the command flask --app weather.py --debug run This will give you the link for the website Otter Weather. When you get to the home page it will ask you to enter any City you would like to search the weather conditions of and it will take you the details page where it will give you the detail such as temperature both in degrees Farenheight and Celsius as well as the wind speed. In the future we will like to enter functionality that doesn't require entering a city but rather use location where you can enter the route which displays how the weather conditions change throughout your trip. + +GitHub Link: https://github.com/Wei-HaiMing/WeatherProject diff --git a/__pycache__/weather.cpython-312.pyc b/__pycache__/weather.cpython-312.pyc index 4fb88ae..83b8cc3 100644 Binary files a/__pycache__/weather.cpython-312.pyc and b/__pycache__/weather.cpython-312.pyc differ diff --git a/templates/Weather_Details.html b/templates/Weather_Details.html index d0dccd7..3e3c148 100644 --- a/templates/Weather_Details.html +++ b/templates/Weather_Details.html @@ -1,4 +1,6 @@ - + + @@ -16,6 +18,8 @@
Temperature Fahrenheit:
{{(((weatherdata['main']['temp']) - 273.15) * 1.8 + 32) | round(2)}}°F
Temperature Celsius:
{{((weatherdata['main']['temp']) - 273.15) | round(2)}}°C
Wind Speed:
+{{weatherdata['wind']['speed'] | round(2)}}m/s or {{((weatherdata['wind']['speed']) * 2.23694) | round(2)}}mpH
-Humidity{humidity}
-Weather Condition: {weather_condition}
+Humidity: {{weatherdata['main']['humidity']}}g/kg^-1
+Weather Condition: {{weatherdata['weather'][0]['description']}}
{% if temp_celsius < 0 %} {% endif %}