Commit dea155f
committed
Fix interval keyword argument in oedi_9068 gallery example
Fixes #2791.
The oedi_9068 gallery example calls get_nsrdb_psm4_conus() with
interval=5, but the function's parameter is named time_step (the
interval name comes from the NSRDB API query string, not the Python
signature). This was missed when PR #2582 migrated the example from
get_psm3 (which used interval) to get_nsrdb_psm4_conus (which uses
time_step).
Changes interval=5 to time_step=5 in the example call.
No test changes needed — test_get_nsrdb_psm4_conus_5min already
exercises time_step=5 against the function directly.1 parent 0f7a205 commit dea155f
2 files changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
148 | | - | |
| 148 | + | |
| 149 | + | |
149 | 150 | | |
150 | 151 | | |
151 | 152 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
26 | 29 | | |
27 | 30 | | |
28 | 31 | | |
| |||
0 commit comments