Add 'calmet_inp' argument to function, specifying path