object 'weight' not found when using multi-site calibration

9 views
Skip to first unread message

Fatemeh Shirkhanloo

unread,
Nov 25, 2025, 7:09:00 PMNov 25
to wrf-hydro_users

Hi all,

I am getting the following error when running group calibration of 15 basins with enableMultiSites = 1:

Attaching package: ‘zoo’

The following objects are masked from ‘package:data.table’:

yearmon, yearqtr

The following objects are masked from ‘package:base’:

as.Date, as.Date.numeric

Error in eval(bysub, x, parent.frame()) : object 'weight' not found

Calls: merge ... merge.data.table -> is.data.table -> [ -> [.data.table -> eval -> eval

Execution halted

My calib_sites.csv does include a weight column, so I’m not sure why this error happens.

I am stuck on this issue, any advice would be appreciated.

Best,

Fatemeh

Reply all
Reply to author
Forward
0 new messages