Skip to content

Commit bf9b415

Browse files
committed
get rid of statistic_id input, not needed
1 parent ff33ffe commit bf9b415

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

demos/WaterData_demo.ipynb

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@
361361
"id": "aa6fa717",
362362
"metadata": {},
363363
"source": [
364-
"Let's do the same routine with `waterdata.get_latest_continuous()`:"
364+
"Let's do the same routine with `waterdata.get_latest_continuous()`, but note that we do not need to specify the `statistic_id`: all instantaneous values have the statistical code \"00011\"."
365365
]
366366
},
367367
{
@@ -373,8 +373,7 @@
373373
"source": [
374374
"latest_instantaneous,_ = waterdata.get_latest_continuous(\n",
375375
" monitoring_location_id=NE_locations_discharge['monitoring_location_id'].tolist(),\n",
376-
" parameter_code=\"00060\",\n",
377-
" statistic_id=\"00011\"\n",
376+
" parameter_code=\"00060\"\n",
378377
")\n",
379378
"\n",
380379
"latest_instantaneous['datetime'] = latest_instantaneous['time'].astype(str)\n",
@@ -456,7 +455,6 @@
456455
"instantaneous_values,_ = waterdata.get_continuous(\n",
457456
" monitoring_location_id=missouri_site_ids,\n",
458457
" parameter_code=\"00060\",\n",
459-
" statistic_id=\"00011\", # instantaneous value\n",
460458
" time=f\"{one_year_ago}T00:00:00Z/..\"\n",
461459
")"
462460
]
@@ -601,7 +599,7 @@
601599
],
602600
"metadata": {
603601
"kernelspec": {
604-
"display_name": "drpy-demo",
602+
"display_name": "waterdata-demo",
605603
"language": "python",
606604
"name": "python3"
607605
},

0 commit comments

Comments
 (0)