def __check_atmosphere_values_are_physical(self): atmosphere_checker = ArrayChecker(self.__atmosphere, 'atmosphere') atmosphere_checker.check_object_is_array() atmosphere_checker.check_ndarray_is_numeric() atmosphere_checker.check_ndarray_is_finite() atmosphere_checker.check_ndarray_is_non_negative() atmosphere_checker.check_ndarray_is_2d()
def __check_mixing_ratio_profile_is_physical(self): mixing_ratio_checker = ArrayChecker(self.mixing_ratio_profile, 'mixing_ratio_profile') mixing_ratio_checker.check_object_is_array() mixing_ratio_checker.check_ndarray_is_numeric() mixing_ratio_checker.check_ndarray_is_non_negative() mixing_ratio_checker.check_ndarray_is_finite() mixing_ratio_checker.check_ndarray_is_1d()
def __check_altitude_grid_is_physical(self): altitude_checker = ArrayChecker(self.altitude_grid, 'altitude_grid') altitude_checker.check_object_is_array() altitude_checker.check_ndarray_is_numeric() altitude_checker.check_ndarray_is_non_negative() altitude_checker.check_ndarray_is_finite() altitude_checker.check_ndarray_is_1d() altitude_checker.check_1d_array_is_monotonically_decreasing()
def __check_boundary_altitudes(self): altitude_checker = ArrayChecker(self.boundary_altitudes, 'boundary_altitudes') altitude_checker.check_object_is_array() altitude_checker.check_ndarray_is_numeric() altitude_checker.check_ndarray_is_finite() altitude_checker.check_ndarray_is_non_negative() altitude_checker.check_ndarray_is_1d() altitude_checker.check_1d_array_is_monotonically_decreasing() altitude_checker.check_1d_array_is_at_least(2)