Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion googlehydrology/datasetzoo/multimet.py
Original file line number Diff line number Diff line change
Expand Up @@ -814,7 +814,12 @@ def _load_forecast_as_csv(self) -> xr.Dataset:
if basin not in basin_fallback_cache:
if fallback_file_path.exists():
# Load and set time column as index (only once per basin)
df_fallback = pd.read_csv(fallback_file_path, index_col=0, parse_dates=True)
df_fallback = pd.read_csv(
fallback_file_path,
index_col=0,
parse_dates=True,
dtype='float32'
)
df_fallback.index.name = 'date'
basin_fallback_cache[basin] = df_fallback
else:
Expand Down
Loading