Meteorama commited on
Commit
bc5d4ee
·
verified ·
1 Parent(s): 8ca56f2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -10,7 +10,7 @@ import numpy as np
10
  from scipy import interpolate
11
 
12
  #Page Configuration
13
- st.set_page_config(initial_sidebar_state="collapsed", page_title='10 Days Forecast', menu_items={
14
  'Get Help': None,
15
  'Report a bug': None,
16
  'About': "Designed by Meteorama"
@@ -19,7 +19,7 @@ st.set_page_config(initial_sidebar_state="collapsed", page_title='10 Days Foreca
19
 
20
  st.header("Meteorama")
21
 
22
- st.header("Weather Forecast")
23
 
24
  #Check for Lat Lon info and Get ECMWF Data
25
  #Get Initial Configuration
@@ -236,7 +236,7 @@ for sel_time in sel_times:
236
  wind_dir_list = []
237
  wind_speed_list = []
238
  temp_list = []
239
- for level in ['200hPa', '250hPa', '300hPa', '500hPa', '700hPa', '850hPa', '925hPa', '1000hPa'][::-1]:
240
  wind_dir_list.append(filter_df[f'winddirection_{level}'].values[0])
241
  wind_speed_list.append(filter_df[f'windspeed_{level}'].values[0])
242
  temp_list.append(int(filter_df[f'temperature_{level}'].values[0]))
@@ -256,4 +256,4 @@ for sel_time in sel_times:
256
 
257
  tab2.dataframe(upper_air_df, use_container_width=True)
258
 
259
- st.success("Made by Manaruchi Mohapatra")
 
10
  from scipy import interpolate
11
 
12
  #Page Configuration
13
+ st.set_page_config(initial_sidebar_state="collapsed", page_title='15 Days Forecast', menu_items={
14
  'Get Help': None,
15
  'Report a bug': None,
16
  'About': "Designed by Meteorama"
 
19
 
20
  st.header("Meteorama")
21
 
22
+ st.header("10 Days Weather Forecast")
23
 
24
  #Check for Lat Lon info and Get ECMWF Data
25
  #Get Initial Configuration
 
236
  wind_dir_list = []
237
  wind_speed_list = []
238
  temp_list = []
239
+ for level in ['100hPa', '200hPa', '250hPa', '300hPa', '500hPa', '700hPa', '850hPa', '925hPa', '1000hPa'][::-1]:
240
  wind_dir_list.append(filter_df[f'winddirection_{level}'].values[0])
241
  wind_speed_list.append(filter_df[f'windspeed_{level}'].values[0])
242
  temp_list.append(int(filter_df[f'temperature_{level}'].values[0]))
 
256
 
257
  tab2.dataframe(upper_air_df, use_container_width=True)
258
 
259
+ st.success("Made by Meteo Rama..!!")