Skip to content

Commit 5f2af8a

Browse files
authored
Merge pull request #22 from rcjackson/new_release
FIX: NEXRAD table lookup issue with case sensitivity and development environment for Python 3.14.
2 parents 65c3499 + 00bf23b commit 5f2af8a

5 files changed

Lines changed: 9 additions & 7 deletions

File tree

‎continuous-integration/environment-actions.yml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,5 @@ dependencies:
1515
- arm-test-data
1616
- distributed
1717
- xarray==2025.6.1
18+
- pandas
19+
- numpy

‎pyproject.toml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "radclss"
7-
version = "2026.3.5"
7+
version = "2026.3.6"
88
description = "Extracted Radar Columns and In Situ Sensors"
99
readme = "README.md"
10-
requires-python = ">=3.9"
10+
requires-python = ">=3.10"
1111
authors = [{ name = "rjackson" }, {name = "jrobrien91"}]
1212
license = { text = "MIT" }
1313
dependencies = [
1414
"arm_pyart",
15-
"numpy",
15+
"numpy<2.4.0",
1616
"xarray",
1717
"pandas",
1818
"xradar",

‎src/radclss/config/default_config.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@
262262
],
263263
}
264264

265-
DEFAULT_NEXRAD_RADARS = {"BNF": "KHTX", "SGP": "KVNX"}
265+
DEFAULT_NEXRAD_RADARS = {"bnf": "KHTX", "sgp": "KVNX"}
266266

267267

268268
def set_discarded_variables(instrument, var_list):

‎src/radclss/core/radclss_core.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ def _get_nexrad_wrapper(time_str):
295295
print(
296296
f" ERROR fetching NEXRAD data (total failures: {failed_count})"
297297
)
298-
logging.log.exception(error)
298+
logging.exception(error)
299299

300300
if verbose:
301301
print(

‎src/radclss/util/column_utils.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ def get_nexrad_column(
5050
5151
"""
5252
if nexrad_radar is None:
53-
if site in DEFAULT_NEXRAD_RADARS.keys():
54-
nexrad_radar = DEFAULT_NEXRAD_RADARS[site]
53+
if site.lower() in DEFAULT_NEXRAD_RADARS.keys():
54+
nexrad_radar = DEFAULT_NEXRAD_RADARS[site.lower()]
5555
else:
5656
raise UserWarning(
5757
f"There are no NEXRAD radars within 100 km of {site}. Returning None."

0 commit comments

Comments
 (0)