Skip to content

Commit 7a8cd3b

Browse files
fix: use load balancer for soilweb (#346)
* build: bump ruff * fix: use load balancer for soilweb
1 parent 7d32ff2 commit 7a8cd3b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ repos:
99
- id: pre-commit-update
1010

1111
- repo: https://github.com/astral-sh/ruff-pre-commit
12-
rev: v0.13.0
12+
rev: v0.14.0
1313
hooks:
1414
- id: ruff-check
1515
args: [--fix]

soil_id/services.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ def get_soilweb_data(lon, lat):
153153
Returns:
154154
dict: A dictionary containing soil data or error information if the request fails.
155155
"""
156-
base_url = "https://soilmap4-1.lawr.ucdavis.edu/api/landPKS.php"
156+
base_url = "https://casoilresource.lawr.ucdavis.edu/api/landPKS.php"
157157
params = {
158158
"q": "spn", # Query type - static for this function's purpose
159159
"lon": lon,

0 commit comments

Comments
 (0)