Skip to content

Commit b1600f4

Browse files
committed
more descriptive variable name
1 parent 3367e61 commit b1600f4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hydrolib/tools/ext_old_to_new/converters.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -269,10 +269,10 @@ def get_time_series_data(tim_model: TimModel) -> Dict[str, List[float]]:
269269
4: [4.0, 4.0, 4.0, 4.0, 4.0]
270270
}
271271
"""
272-
num_locations = len(tim_model.timeseries[0].data)
272+
num_columns = len(tim_model.timeseries[0].data)
273273

274274
# Initialize a dictionary to collect data for each location
275-
data = {loc: [] for loc in range(1, num_locations + 1)}
275+
data = {loc: [] for loc in range(1, num_columns + 1)}
276276

277277
# Extract time series data for each location
278278
for record in tim_model.timeseries:

0 commit comments

Comments
 (0)