Model utility functions, https://wiki.cmc.ec.gc.ca/wiki/Modelutils