The current variable argument takes only a string, which is not useful for processes taking multiple input netCDFs. I would suggest having a variables argument, a mapping from arg name to variable name. Multi-input processes would use that one instead of the other. compute_indices could contain the logic to manage this.