Spaces:
Running
Running
Update app.py
Browse files
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 |
-
|
|
|
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
|