def METHOD_NAME(self):
    hh1 = stock.hybrid_height()
    hh2 = stock.hybrid_height()
    sa = hh2.coord("surface_altitude")
    sa.points = sa.points * 10
    emsg = "Unable to create dimensonless vertical coordinate."
    with self.temp_filename(".nc") as fname, self.assertRaisesRegex(
        ValueError, emsg
    ):
        iris.save([hh1, hh2], fname)