mabuseif commited on
Commit
af2eed1
·
verified ·
1 Parent(s): 777e108

Update data/solar_calculations.py

Browse files
Files changed (1) hide show
  1. data/solar_calculations.py +1 -1
data/solar_calculations.py CHANGED
@@ -84,7 +84,7 @@ class SolarCalculations:
84
  if first_hour:
85
  st.write(f"- **Equation of Time (EOT)**: {EOT:.2f} minutes")
86
 
87
- standard_time = hour - 2 + 0.5 # Convert to decimal, assume mid-hour
88
  LST = standard_time + (4 * (lambda_std - longitude) + EOT)/60
89
  if first_hour:
90
  st.write(f"- **Local Solar Time (LST)**: {LST:.2f} hours")
 
84
  if first_hour:
85
  st.write(f"- **Equation of Time (EOT)**: {EOT:.2f} minutes")
86
 
87
+ standard_time = hour - 1 + 0.5 # Convert to decimal, assume mid-hour
88
  LST = standard_time + (4 * (lambda_std - longitude) + EOT)/60
89
  if first_hour:
90
  st.write(f"- **Local Solar Time (LST)**: {LST:.2f} hours")