Commit c4b9ad8
Fix interval keyword argument in oedi_9068 gallery example (#2793)
* 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.
* Apply review feedback: update PSM3→PSM4 references and add contributor
- Update narrative comments from 'NSRDB PSM3' to 'NSRDB PSM4' to
match the actual function called (get_nsrdb_psm4_conus)
- Rename psm3/psm3_metadata variables to psm4/psm4_metadata for
consistency with the PSM4 data source
- Add Karl Hill to Contributors in v0.15.3 whatsnew
Addresses Copilot suggestions (+1 from @cwhanse) on PR #2793.
---------
Co-authored-by: Kevin Anderson <kevin.anderso@gmail.com>1 parent cc5c470 commit c4b9ad8
2 files changed
Lines changed: 15 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
138 | | - | |
| 138 | + | |
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
146 | | - | |
| 146 | + | |
147 | 147 | | |
148 | | - | |
| 148 | + | |
| 149 | + | |
149 | 150 | | |
150 | 151 | | |
151 | 152 | | |
| |||
167 | 168 | | |
168 | 169 | | |
169 | 170 | | |
170 | | - | |
| 171 | + | |
171 | 172 | | |
172 | 173 | | |
173 | 174 | | |
174 | 175 | | |
175 | | - | |
| 176 | + | |
176 | 177 | | |
177 | 178 | | |
178 | 179 | | |
179 | 180 | | |
180 | 181 | | |
181 | 182 | | |
182 | 183 | | |
183 | | - | |
| 184 | + | |
184 | 185 | | |
185 | 186 | | |
186 | 187 | | |
| |||
191 | 192 | | |
192 | 193 | | |
193 | 194 | | |
194 | | - | |
195 | | - | |
| 195 | + | |
| 196 | + | |
196 | 197 | | |
197 | 198 | | |
198 | 199 | | |
199 | 200 | | |
200 | 201 | | |
201 | | - | |
| 202 | + | |
202 | 203 | | |
203 | 204 | | |
204 | 205 | | |
| |||
215 | 216 | | |
216 | 217 | | |
217 | 218 | | |
218 | | - | |
| 219 | + | |
219 | 220 | | |
220 | 221 | | |
221 | 222 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
| 27 | + | |
26 | 28 | | |
27 | 29 | | |
28 | 30 | | |
| |||
43 | 45 | | |
44 | 46 | | |
45 | 47 | | |
| 48 | + | |
46 | 49 | | |
0 commit comments