def atmosphere_obj():
    _, phlev = utils.get_pressure_grids(surface_pressure=1000e2, num=50)

    return atmosphere.Atmosphere(phlev=phlev)
Esempio n. 2
0
    def test_init(self):
        """Test basic initialization of the atmosphere component."""
        phlev = np.array([1000e2, 750e2, 500e2, 100e2, 10e2, 1e2])

        atmosphere.Atmosphere(phlev=phlev)