CCockrum commited on
Commit
4143b21
·
verified ·
1 Parent(s): b72a9ca

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -16,8 +16,9 @@ class EnhancedOceanClimateAgent:
16
  def __init__(self):
17
  self.anomaly_threshold = 2.0
18
  self.critical_temp_change = 1.5
19
-
20
- self.noaa_base_url = "https://api.tidesandcurrents.noaa.gov/api/prod/datagetter"
 
21
  self.noaa_stations_url = "https://api.tidesandcurrents.noaa.gov/mdapi/prod/webapi/stations.json"
22
 
23
  # Popular NOAA stations for different regions
 
16
  def __init__(self):
17
  self.anomaly_threshold = 2.0
18
  self.critical_temp_change = 1.5
19
+
20
+ #https://api.tidesandcurrents.noaa.gov/api/prod/datagetter
21
+ self.noaa_base_url = "https://api.tidesandcurrents.noaa.gov/api/prod/datagetter?date=latest&product=water_level&time_zone=gmt&units=english&format=xml"
22
  self.noaa_stations_url = "https://api.tidesandcurrents.noaa.gov/mdapi/prod/webapi/stations.json"
23
 
24
  # Popular NOAA stations for different regions