CIME.utils.convert_to_type

CIME.utils.convert_to_type(value, type_str, vid='')[source]

Convert value from string to another type. vid is only for generating better error messages.