@@ -43,7 +43,7 @@ def get_daily(
4343 monitoring_location_id : str | Iterable [str ] | None = None ,
4444 parameter_code : str | Iterable [str ] | None = None ,
4545 statistic_id : str | Iterable [str ] | None = None ,
46- properties : list [str ] | None = None ,
46+ properties : str | list [str ] | None = None ,
4747 time_series_id : str | Iterable [str ] | None = None ,
4848 daily_id : str | Iterable [str ] | None = None ,
4949 approval_status : str | Iterable [str ] | None = None ,
@@ -246,7 +246,7 @@ def get_continuous(
246246 monitoring_location_id : str | Iterable [str ] | None = None ,
247247 parameter_code : str | Iterable [str ] | None = None ,
248248 statistic_id : str | Iterable [str ] | None = None ,
249- properties : list [str ] | None = None ,
249+ properties : str | list [str ] | None = None ,
250250 time_series_id : str | Iterable [str ] | None = None ,
251251 continuous_id : str | Iterable [str ] | None = None ,
252252 approval_status : str | Iterable [str ] | None = None ,
@@ -472,7 +472,7 @@ def get_monitoring_locations(
472472 well_constructed_depth : str | Iterable [str ] | None = None ,
473473 hole_constructed_depth : str | Iterable [str ] | None = None ,
474474 depth_source_code : str | Iterable [str ] | None = None ,
475- properties : list [str ] | None = None ,
475+ properties : str | list [str ] | None = None ,
476476 skip_geometry : bool | None = None ,
477477 time : str | Iterable [str ] | None = None ,
478478 bbox : list [float ] | None = None ,
@@ -734,7 +734,7 @@ def get_time_series_metadata(
734734 monitoring_location_id : str | Iterable [str ] | None = None ,
735735 parameter_code : str | Iterable [str ] | None = None ,
736736 parameter_name : str | Iterable [str ] | None = None ,
737- properties : list [str ] | None = None ,
737+ properties : str | list [str ] | None = None ,
738738 statistic_id : str | Iterable [str ] | None = None ,
739739 hydrologic_unit_code : str | Iterable [str ] | None = None ,
740740 state_name : str | Iterable [str ] | None = None ,
@@ -1181,6 +1181,7 @@ def get_combined_metadata(
11811181 service = "combined-metadata"
11821182 output_id = "combined_meta_id"
11831183
1184+ monitoring_location_id = _check_monitoring_location_id (monitoring_location_id )
11841185 args = _get_args (locals ())
11851186
11861187 return get_ogc_data (args , output_id , service )
@@ -1190,7 +1191,7 @@ def get_latest_continuous(
11901191 monitoring_location_id : str | Iterable [str ] | None = None ,
11911192 parameter_code : str | Iterable [str ] | None = None ,
11921193 statistic_id : str | Iterable [str ] | None = None ,
1193- properties : list [str ] | None = None ,
1194+ properties : str | list [str ] | None = None ,
11941195 time_series_id : str | Iterable [str ] | None = None ,
11951196 latest_continuous_id : str | Iterable [str ] | None = None ,
11961197 approval_status : str | Iterable [str ] | None = None ,
@@ -1386,7 +1387,7 @@ def get_latest_daily(
13861387 monitoring_location_id : str | Iterable [str ] | None = None ,
13871388 parameter_code : str | Iterable [str ] | None = None ,
13881389 statistic_id : str | Iterable [str ] | None = None ,
1389- properties : list [str ] | None = None ,
1390+ properties : str | list [str ] | None = None ,
13901391 time_series_id : str | Iterable [str ] | None = None ,
13911392 latest_daily_id : str | Iterable [str ] | None = None ,
13921393 approval_status : str | Iterable [str ] | None = None ,
@@ -1583,7 +1584,7 @@ def get_field_measurements(
15831584 monitoring_location_id : str | Iterable [str ] | None = None ,
15841585 parameter_code : str | Iterable [str ] | None = None ,
15851586 observing_procedure_code : str | Iterable [str ] | None = None ,
1586- properties : list [str ] | None = None ,
1587+ properties : str | list [str ] | None = None ,
15871588 field_visit_id : str | Iterable [str ] | None = None ,
15881589 approval_status : str | Iterable [str ] | None = None ,
15891590 unit_of_measure : str | Iterable [str ] | None = None ,
@@ -1882,6 +1883,7 @@ def get_field_measurements_metadata(
18821883 service = "field-measurements-metadata"
18831884 output_id = "field_series_id"
18841885
1886+ monitoring_location_id = _check_monitoring_location_id (monitoring_location_id )
18851887 args = _get_args (locals ())
18861888
18871889 return get_ogc_data (args , output_id , service )
@@ -2002,6 +2004,7 @@ def get_peaks(
20022004 service = "peaks"
20032005 output_id = "peak_id"
20042006
2007+ monitoring_location_id = _check_monitoring_location_id (monitoring_location_id )
20052008 args = _get_args (locals ())
20062009
20072010 return get_ogc_data (args , output_id , service )
@@ -2698,7 +2701,7 @@ def get_channel(
26982701 measurement_type : str | Iterable [str ] | None = None ,
26992702 last_modified : str | Iterable [str ] | None = None ,
27002703 channel_measurement_type : str | Iterable [str ] | None = None ,
2701- properties : list [str ] | None = None ,
2704+ properties : str | list [str ] | None = None ,
27022705 skip_geometry : bool | None = None ,
27032706 bbox : list [float ] | None = None ,
27042707 limit : int | None = None ,
@@ -2840,11 +2843,6 @@ def get_channel(
28402843 service = "channel-measurements"
28412844 output_id = "channel_measurements_id"
28422845
2843- # Build argument dictionary, omitting None values
2844- args = {
2845- k : v
2846- for k , v in locals ().items ()
2847- if k not in {"service" , "output_id" } and v is not None
2848- }
2846+ args = _get_args (locals ())
28492847
28502848 return get_ogc_data (args , output_id , service )
0 commit comments