Skip to content

Commit d8546f1

Browse files
committed
2 parents 53e29a1 + 91af8ca commit d8546f1

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

backend/bounding_polygons.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ def get_county_polygon(name, as_wkt=True):
162162
_warning(f"Invalid state. {state}")
163163

164164

165-
def get_state_polygon(state: str, buffer: int | None =None):
165+
def get_state_polygon(state: str, buffer: int | None = None):
166166
statefp = _statelookup(state)
167167
if statefp:
168168
obj = _get_cached_object(

backend/connectors/nmose/source.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from typing import List,Dict, Tuple
1+
from typing import List, Dict, Tuple
22

33
from shapely import wkt
44
from backend.connectors import NM_STATE_BOUNDING_POLYGON
@@ -37,7 +37,9 @@ def get_records(self, *args, **kw) -> List[Dict]:
3737
# if config.end_date:
3838
# params["endDt"] = config.end_dt.date().isoformat()
3939

40-
url: str = "https://services2.arcgis.com/qXZbWTdPDbTjl7Dy/arcgis/rest/services/OSE_PODs/FeatureServer/0/query"
40+
url: str = (
41+
"https://services2.arcgis.com/qXZbWTdPDbTjl7Dy/arcgis/rest/services/OSE_PODs/FeatureServer/0/query"
42+
)
4143

4244
params["where"] = (
4345
"pod_status = 'ACT' AND pod_basin IN ('A','B','C','CC','CD','CL','CP','CR','CT','E','FS','G','GSF','H', 'HA','HC','HS','HU','J','L','LA','LRG','LV','M','MR','NH','P','PL','PN','RA','RG','S','SB','SJ','SS','T','TU','UP','VV')"

0 commit comments

Comments
 (0)