conversion function
function massFraction_mixingRatio input Real[:] mixingRatio; output Real[size(mixingRatio, 1) - 1] massFraction = mixingRatio[1:end - 1]/sum(mixingRatio); end massFraction_mixingRatio;