Skip to content

Calibrating using .sol parameters #84

Description

@jmule88

Hi Christoph,

Thank you so much for all of your help! I am using SWATrunR to calibrate and enjoying it.

(This is for SWAT2012)

When I include any .sol parameters in my calibration, I get an error about setting colnames. The error goes away if I remove all of the .sol parameters from "par_bound". The error shows when I run the "run_swat2012" function. Any ideas you have are much appreciated!

Parameters:
par_bound <- tibble('ESCO.hru | change = absval' = c(0.001, 1), 'EPCO.hru | change = absval' = c(0, 1), 'CN2.mgt | change = absval' = c(84, 94), 'SURLAG.bsn | change = absval' = c(1, 10), 'LATKSATF.sdr | change = absval' = c(0.01, 4), 'SOL_AWC(1).sol | change = absval' = c(0, 0.99), 'SOL_AWC(2).sol | change = absval' = c(0, 0.99), 'SOL_AWC(3).sol | change = absval' = c(0, 0.99), 'SOL_AWC(4).sol | change = absval' = c(0, 0.99), 'ANION_EXCL.sol | change = relchg' = c(0.01, 1), 'SOL_CRK.sol | change = absval' = c(0, 0.5))

Error:
Error in colnames<-(*tmp*, value = col_names) : attempt to set 'colnames' on an object with less than two dimensions

I greatly appreciate your time and help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions