Console Output
+ source /etc/profile.d/larson-group.sh
++ export GIT_EDITOR=vi
++ GIT_EDITOR=vi
++ export SVN_EDITOR=vi
++ SVN_EDITOR=vi
++ export OMP_STACKSIZE=1048579
++ OMP_STACKSIZE=1048579
++ export LMOD_ROOT=/opt/lmod/
++ LMOD_ROOT=/opt/lmod/
++ source /opt/lmod//lmod/lmod/init/bash
+++ '[' -z '' ']'
+++ case "$-" in
+++ __lmod_vx=x
+++ '[' -n x ']'
+++ set +x
Shell debugging temporarily silenced: export LMOD_SH_DBG_ON=1 for this output (/usr/local/spack/opt/spack/linux-pop22-skylake_avx512/gcc-12.2.0/lmod-8.7.37-fq24mybyn2li6got2bxzk62ejh5d3p4z/lmod/lmod/init/bash)
Shell debugging restarted
+++ unset __lmod_vx
+++ find /usr/local/spack/share/spack/lmod/linux-pop22-x86_64/Core -print -quit
++ export MODULEPATH=/usr/local/spack/share/spack/lmod/linux-pop22-x86_64/Core
++ MODULEPATH=/usr/local/spack/share/spack/lmod/linux-pop22-x86_64/Core
+ module load gcc netcdf-fortran
+ '[' -z '' ']'
+ case "$-" in
+ __lmod_sh_dbg=x
+ '[' -n x ']'
+ set +x
Shell debugging temporarily silenced: export LMOD_SH_DBG_ON=1 for Lmod's output
Lmod Warning:
-------------------------------------------------------------------------------
The following dependent module(s) are not currently loaded:
gcc-runtime/13.1.0-wiuv7wc (required by: mpich/4.2.1, hdf5/1.14.3-nhc23hl,
netcdf-c/4.9.2-xduzp77, netcdf-fortran/4.5.3), glibc/2.35-tdr5czg (required by:
mpich/4.2.1, hdf5/1.14.3-nhc23hl, netcdf-c/4.9.2-xduzp77, netcdf-fortran/4.5.3)
-------------------------------------------------------------------------------
Shell debugging restarted
+ unset __lmod_sh_dbg
+ return 0
+ bash clubb_python_api/run_pytests.sh -include_generated -v --junitxml=/home/jenkins/workspace/clubb_branch_python/output/tests/pytests/api.xml
============================= test session starts ==============================
platform linux -- Python 3.12.3, pytest-9.1.1, pluggy-1.7.0 -- /home/jenkins/workspace/clubb_branch_python/.venv-python/bin/python
cachedir: .pytest_cache
rootdir: /home/jenkins/workspace/clubb_branch_python
collecting ... collected 252 items
clubb_python_api/pytests/auto_llm_generated_pytests/test_advance_core_subs.py::TestComputeSigmaSqdW::test_basic_call PASSED [ 0%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_advance_core_subs.py::TestComputeSigmaSqdW::test_sigma_bounded PASSED [ 0%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_advance_core_subs.py::TestComputeSigmaSqdW::test_zero_variance PASSED [ 1%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_advance_core_subs.py::TestFillHolesVertical::test_no_holes PASSED [ 1%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_advance_core_subs.py::TestFillHolesVertical::test_fills_negative PASSED [ 1%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_advance_core_subs.py::TestFillHolesWp2FromHorzTke::test_fills_wp2_and_conserves_tke PASSED [ 2%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_advance_core_subs.py::TestClipRcm::test_rcm_clipped_to_rtm PASSED [ 2%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_advance_core_subs.py::TestClipRcm::test_negative_rcm_unchanged PASSED [ 3%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_advance_core_subs.py::TestClipRcm::test_valid_rcm_unchanged PASSED [ 3%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_advance_core_subs.py::TestClipCovar::test_basic_call PASSED [ 3%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_advance_core_subs.py::TestClipCovar::test_clips_excess_covariance PASSED [ 4%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_advance_core_subs.py::TestClipSkewness::test_clip_skewness_limits_wp3 PASSED [ 4%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_advance_core_subs.py::TestClipVariance::test_clips_to_threshold PASSED [ 5%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_advance_core_subs.py::TestClipVariance::test_above_threshold_unchanged PASSED [ 5%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_advance_core_subs.py::TestBruntVaisala::test_basic_call PASSED [ 5%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_advance_core_subs.py::TestBruntVaisala::test_stable_positive_n2 PASSED [ 6%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_advance_core_subs.py::TestCxFncRichardson::test_basic_call PASSED [ 6%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_advance_core_subs.py::TestStabilityCorrection::test_basic_call PASSED [ 7%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_advance_core_subs.py::TestStabilityCorrection::test_nonnegative PASSED [ 7%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_advance_core_subs.py::TestClipCovarsDenom::test_basic_call PASSED [ 7%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_advance_core.py::test_advance_clubb_core_returns_finite_arrays PASSED [ 8%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_advance_core.py::test_advance_clubb_core_repeatability_for_identical_inputs PASSED [ 8%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_advance_windm_edsclrm.py::test_advance_windm_edsclrm_returns_finite_arrays PASSED [ 9%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_advance_windm_edsclrm.py::test_advance_windm_edsclrm_updates_match_return_values PASSED [ 9%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_advance_windm_edsclrm.py::test_expldiff_uses_named_slots_and_preserves_other_forcing[1-2] PASSED [ 9%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_advance_windm_edsclrm.py::test_expldiff_uses_named_slots_and_preserves_other_forcing[2-1] PASSED [ 10%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_advance_windm_edsclrm.py::test_expldiff_uses_named_slots_and_preserves_other_forcing[1-3] PASSED [ 10%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_advance_windm_edsclrm.py::test_expldiff_uses_named_slots_and_preserves_other_forcing[4-2] PASSED [ 11%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_advance_windm_edsclrm.py::test_expldiff_rejects_forcing_on_copies_before_updating_state[thl] PASSED [ 11%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_advance_windm_edsclrm.py::test_expldiff_rejects_forcing_on_copies_before_updating_state[rt] PASSED [ 11%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_advance_windm_edsclrm.py::test_expldiff_rejects_surface_flux_on_copies_before_updating_state[thl] PASSED [ 12%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_advance_windm_edsclrm.py::test_expldiff_rejects_surface_flux_on_copies_before_updating_state[rt] PASSED [ 12%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_advance_windm_edsclrm.py::test_expldiff_disabled_keeps_all_scalar_forcing PASSED [ 13%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_advance_wp2_wp3.py::test_advance_wp2_wp3_returns_finite_arrays PASSED [ 13%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_advance_wp2_wp3.py::test_advance_wp2_wp3_updates_match_return_values PASSED [ 13%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_advance_xm_wpxp.py::test_advance_xm_wpxp_returns_finite_arrays PASSED [ 14%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_advance_xm_wpxp.py::test_advance_xm_wpxp_updates_match_return_values PASSED [ 14%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_advance_xp2_xpyp.py::test_advance_xp2_xpyp_returns_finite_arrays PASSED [ 15%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_advance_xp2_xpyp.py::test_advance_xp2_xpyp_updates_match_return_values PASSED [ 15%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_advance_xp2_xpyp.py::test_update_xp2_mc_returns_finite_arrays PASSED [ 15%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_advance_xp3.py::test_advance_xp3_returns_finite_arrays PASSED [ 16%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_advance_xp3.py::test_advance_xp3_updates_match_return_values PASSED [ 16%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_advance_xp3.py::test_diagnose_xp3_returns_finite_arrays PASSED [ 17%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_bicgstab_solvers.py::test_penta_bicgstab_solve_solves_diagonal_system PASSED [ 17%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_calc_roots.py::test_quadratic_solve_known_roots PASSED [ 17%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_calc_roots.py::test_cubic_solve_known_roots PASSED [ 18%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_corr_varnce_module.py::test_assert_corr_symmetric_accepts_identity_and_flags_bad_matrix PASSED [ 18%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_diagnose_correlations_module.py::test_diagnose_correlations_preserves_identity_matrix PASSED [ 19%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_diagnose_correlations_module.py::test_calc_cholesky_corr_mtx_approx_handles_identity_matrix PASSED [ 19%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_file_functions.py::test_file_read_1d_reads_flat_rows PASSED [ 19%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_index_mapping.py::test_pdf_and_hydrometeor_index_maps_are_consistent PASSED [ 20%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_index_mapping.py::test_rx_nx_index_maps_are_consistent PASSED [ 20%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_index_mapping.py::test_mvr_hm_max_matches_fortran_constants PASSED [ 21%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_interpolation.py::test_mono_cubic_interp_linear_profile PASSED [ 21%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_interpolation.py::test_zlinterp_fnc_zero_outside_domain PASSED [ 21%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_lapack_interfaces.py::test_lapack_gtsv_and_gtsvx_solve_diagonal_system PASSED [ 22%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_lapack_interfaces.py::test_lapack_gbsv_and_gbsvx_solve_diagonal_band_system PASSED [ 22%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_lapack_interfaces.py::test_lapack_factorization_and_eigen_helpers_work_on_spd_matrix PASSED [ 23%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_lapack_wrap.py::test_lapack_tridiag_wrappers_solve_diagonal_system PASSED [ 23%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_lapack_wrap.py::test_lapack_band_wrappers_solve_diagonal_system PASSED [ 23%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_luhar.py::test_calc_luhar_params_matches_formula PASSED [ 24%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_luhar.py::test_close_luhar_pdf_matches_formula PASSED [ 24%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_luhar.py::test_adg1_w_closure_matches_formula PASSED [ 25%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_luhar.py::test_adg2_pdf_driver_column_consistency PASSED [ 25%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_luhar.py::test_adg1_pdf_driver_column_consistency PASSED [ 25%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_luhar.py::test_luhar_3d_pdf_driver_column_consistency PASSED [ 26%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_ly93.py::test_calc_params_ly93_matches_formula PASSED [ 26%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_ly93.py::test_ly93_driver_matches_formula_for_low_skewness PASSED [ 26%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_matrix_operations.py::test_mirror_lower_triangular_matrix_reflects_lower_triangle PASSED [ 27%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_matrix_operations.py::test_cholesky_factor_reconstructs_spd_matrix PASSED [ 27%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_matrix_solver_wrapper.py::test_band_solve_multiple_rhs_solves_diagonal_system PASSED [ 28%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_matrix_solver_wrapper.py::test_tridiag_solve_single_rhs_multiple_lhs_solves_diagonal_system PASSED [ 28%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_matrix_solver_wrapper.py::test_tridiag_solve_multiple_rhs_solves_diagonal_system PASSED [ 28%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_meta.py::test_call_tree_api_bindings_exist PASSED [ 29%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_mixing_length.py::test_zero_pdf_implicit_coefs_terms_resets_state PASSED [ 29%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_mixing_length.py::test_diagnose_lscale_from_tau_basic PASSED [ 30%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_mixing_length.py::test_calc_lscale_directly_basic[1] PASSED [ 30%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_mixing_length.py::test_calc_lscale_directly_basic[3] PASSED [ 30%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_mixing_length.py::test_coherence_mixing_length_ignores_saturation_formula PASSED [ 31%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_mixing_length.py::test_Lscale_tke_multiplier_reaches_new_mixing_length FAILED [ 31%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_mixing_length.py::test_lscale_up_weight_blends_directional_lengths PASSED [ 32%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_mixing_length.py::test_component_one_launch_state_reaches_new_mixing_length[None] PASSED [ 32%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_mixing_length.py::test_component_one_launch_state_reaches_new_mixing_length[1.0] PASSED [ 32%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_mixing_length.py::test_Lscale_pdf_launch_frac_controls_new_mixing_length PASSED [ 33%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_mixing_length.py::test_component_two_launch_state_reaches_new_mixing_length[None] PASSED [ 33%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_mixing_length.py::test_component_two_launch_state_reaches_new_mixing_length[1.0] PASSED [ 34%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_mono_flux.py::test_calc_turb_adv_range_basic_bounds PASSED [ 34%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_mono_flux.py::test_monotonic_turbulent_flux_limit_preserves_zero_flux_state PASSED [ 34%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_nc_ncn_eqns.py::test_nc_in_cloud_to_ncnm_returns_nc_in_cloud_for_clear_or_constant_case PASSED [ 35%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_new_hybrid_pdf.py::test_calculate_w_params_matches_formula_branches PASSED [ 35%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_new_hybrid_pdf.py::test_calculate_responder_params_matches_formula_branches PASSED [ 36%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_new_hybrid_pdf.py::test_calculate_coef_wp4_implicit_matches_formula PASSED [ 36%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_new_hybrid_pdf.py::test_calc_coef_wp2xp_implicit_matches_formula_branches PASSED [ 36%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_new_hybrid_pdf.py::test_calc_coefs_wpxp2_semiimpl_matches_formula_branches PASSED [ 37%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_new_pdf.py::test_calc_setter_var_params_matches_formula PASSED [ 37%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_new_pdf.py::test_calc_responder_params_matches_formula_branches PASSED [ 38%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_new_pdf.py::test_calc_limits_f_x_responder_matches_root_selection_logic PASSED [ 38%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_new_pdf.py::test_calc_coef_wp4_implicit_matches_formula PASSED [ 38%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_new_pdf.py::test_calc_coef_wpxp2_implicit_matches_formula_branches PASSED [ 39%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_new_pdf.py::test_calc_coefs_wp2xp_semiimpl_matches_formula_branches PASSED [ 39%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_new_pdf.py::test_calc_coefs_wpxpyp_semiimpl_matches_formula_branches PASSED [ 40%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_new_pdf.py::test_new_pdf_driver_column_consistency PASSED [ 40%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_new_pdf.py::test_new_hybrid_pdf_driver_column_consistency PASSED [ 40%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_new_tsdadg.py::test_calc_l_x_skx_fnc_sign_branching_matches_formula PASSED [ 41%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_new_tsdadg.py::test_calc_setter_parameters_tsdadg_matches_formula PASSED [ 41%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_new_tsdadg.py::test_tsdadg_pdf_driver_column_consistency PASSED [ 42%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_numerical_check.py::test_calculate_spurious_source_matches_formula PASSED [ 42%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_numerical_check.py::test_sfc_varnce_check_sets_error_for_nan PASSED [ 42%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_numerical_check.py::test_parameterization_check_sets_error_for_nan PASSED [ 43%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_numerical_check.py::test_pdf_closure_check_sets_error_for_nan PASSED [ 43%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_numerical_check.py::test_length_check_sets_error_for_nan PASSED [ 44%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_pdf_closure.py::test_calc_wp4_pdf_matches_formula PASSED [ 44%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_pdf_closure.py::test_calc_wp2xp_pdf_matches_formula PASSED [ 44%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_pdf_closure.py::test_calc_wpxp2_pdf_matches_formula PASSED [ 45%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_pdf_closure.py::test_calc_wpxpyp_pdf_matches_formula PASSED [ 45%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_pdf_closure.py::test_calc_w_up_in_cloud_zero_variance_component_split PASSED [ 46%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_pdf_closure_driver.py::test_pdf_closure_driver_returns_finite_arrays PASSED [ 46%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_pdf_closure_driver.py::test_pdf_closure_driver_is_repeatable PASSED [ 46%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_pdf_closure_driver.py::test_pdf_closure_driver_allows_zero_dims PASSED [ 47%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_pdf_closure_driver.py::test_pdf_closure_driver_can_return_pdf_udt_state PASSED [ 47%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_pdf_utils.py::test_smooth_corr_quotient_bounds PASSED [ 48%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_pdf_utils.py::test_calc_comp_corrs_binormal_basic PASSED [ 48%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_pdf_utils.py::test_lognormal_conversion_helpers_match_formulas PASSED [ 48%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_pdf_utils.py::test_corr_nn2n_family_matches_expected_formulas PASSED [ 49%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_pdf_utils.py::test_binormal_and_chi_eta_helpers_match_formulas PASSED [ 49%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_penta_lu_solvers.py::test_penta_lu_solve_single_rhs_multiple_lhs_solves_diagonal_system PASSED [ 50%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_penta_lu_solvers.py::test_penta_lu_solve_multiple_rhs_lhs_solves_diagonal_system PASSED [ 50%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_pos_definite_module.py::test_pos_definite_adj_preserves_nonnegative_state_with_zero_flux PASSED [ 50%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_precipitation_fraction.py::test_precip_fraction_returns_zero_when_no_hydrometeors PASSED [ 51%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_remap.py::test_remap_vals_to_target_identity_zt PASSED [ 51%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_remap.py::test_remap_vals_to_target_identity_zm PASSED [ 51%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_saturation.py::test_sat_mixrat_ice_returns_finite_positive_values PASSED [ 52%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_sfc_varnce.py::test_calc_sfc_varnce_basic_finite_outputs PASSED [ 52%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_skx.py::test_skx_func_matches_xp3_over_xp2_to_three_halves_when_xtol_zero PASSED [ 53%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_skx.py::test_lg_2005_ansatz_zero_flux_gives_zero_skewness PASSED [ 53%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_skx.py::test_xp3_lg_2005_ansatz_matches_two_step_reconstruction PASSED [ 53%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_skx.py::test_compute_gamma_skw_returns_finite_arrays PASSED [ 54%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_splat.py::test_smooth_heaviside_peskin_limits_and_center PASSED [ 54%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_splat.py::test_lscale_width_vert_avg_constant_profile PASSED [ 55%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_splat.py::test_wp23_term_splat_lhs_zero_bv PASSED [ 55%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_splat.py::test_wp23_term_splat_lhs_constant_bv_wp2 PASSED [ 55%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_splat.py::test_wp23_term_splat_lhs_constant_bv_wp3 PASSED [ 56%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_sponge.py::test_sponge_damp_xm_simple_midpoint_case PASSED [ 56%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_sponge.py::test_sponge_damp_xp2_respects_floor PASSED [ 57%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_sponge.py::test_sponge_damp_xp3_full_damping_to_zero PASSED [ 57%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_stats_accumulate.py::test_stats_accumulate_smoke PASSED [ 57%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_t_in_k_module.py::test_thlm2t_in_k_returns_finite_physical_values PASSED [ 58%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_t_in_k_module.py::test_thlm2t_in_k_increases_with_thlm PASSED [ 58%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_t_in_k_module.py::test_thlm2t_in_k_increases_with_rcm PASSED [ 59%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_transport.py::test_compute_current_date_one_day_and_hour PASSED [ 59%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_transport.py::test_set_lscale_max_behavior PASSED [ 59%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_transport.py::test_term_ma_zt_lhs_zero_w PASSED [ 60%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_transport.py::test_term_ma_zm_lhs_zero_w PASSED [ 60%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_transport.py::test_diffusion_zt_lhs_zero_coeffs PASSED [ 61%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_transport.py::test_diffusion_zm_lhs_zero_coeffs PASSED [ 61%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_tridiag_lu_solvers.py::test_tridiag_lu_solve_single_rhs_lhs_solves_diagonal_system PASSED [ 61%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_tridiag_lu_solvers.py::test_tridiag_lu_solve_single_rhs_multiple_lhs_solves_diagonal_system PASSED [ 62%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_tridiag_lu_solvers.py::test_tridiag_lu_solve_multiple_rhs_lhs_solves_diagonal_system PASSED [ 62%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_turbulent_adv_pdf.py::test_turbulent_adv_pdf_zero_inputs_return_zero_outputs PASSED [ 63%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_utils.py::test_julian2gregorian_date_known PASSED [ 63%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_utils.py::test_gregorian2julian_day_and_leap_year_known PASSED [ 63%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_utils.py::test_lin_interpolate_two_points_midpoint PASSED [ 64%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_utils.py::test_calculate_thvm_basic PASSED [ 64%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_utils.py::test_calc_ri_zm_matches_formula PASSED [ 65%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_utils.py::test_vertical_avg_and_integral PASSED [ 65%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_utils.py::test_zm2zt2zm_preserves_constant_field PASSED [ 65%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_utils.py::test_zt2zm2zt_preserves_constant_field PASSED [ 66%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_utils.py::test_ddzm_matches_grid_spacing_formula PASSED [ 66%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_utils.py::test_ddzt_matches_grid_spacing_formula PASSED [ 67%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_utils.py::test_pvertinterp_hits_exact_level PASSED [ 67%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_utils.py::test_smooth_max_supports_scalar_array_and_array_scalar PASSED [ 67%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_utils.py::test_smooth_min_supports_scalar_array_and_array_scalar PASSED [ 68%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_utils.py::test_read_grid_heights_reads_momentum_grid_file PASSED [ 68%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_utils.py::test_setup_grid_heights_updates_stored_grid PASSED [ 69%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_utils.py::test_calc_xpwp_matches_centered_difference_formula PASSED [ 69%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_init_pressure.py::TestInitPressure::test_pressure_decreases_with_height PASSED [ 69%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_init_pressure.py::TestInitPressure::test_exner_decreases_with_height PASSED [ 70%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_init_pressure.py::TestInitPressure::test_physically_reasonable_values PASSED [ 70%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_init_pressure.py::TestInitPressure::test_output_shapes PASSED [ 71%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_init_pressure.py::TestInitPressure::test_higher_surface_pressure PASSED [ 71%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_init_pressure.py::TestInitPressure::test_multi_column PASSED [ 71%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_init_sequence.py::TestConfigFlags::test_default_flags_returns_namedtuple PASSED [ 72%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_init_sequence.py::TestConfigFlags::test_default_integer_flags_positive PASSED [ 72%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_init_sequence.py::TestConfigFlags::test_default_logical_flags_are_bool PASSED [ 73%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_init_sequence.py::TestConfigFlags::test_known_defaults PASSED [ 73%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_init_sequence.py::TestConfigFlags::test_init_config_flags_accepts_current_defaults PASSED [ 73%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_init_sequence.py::TestConfigFlags::test_modified_flags PASSED [ 74%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_init_sequence.py::TestErrInfo::test_init_err_info PASSED [ 74%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_init_sequence.py::TestErrInfo::test_fatal_helpers_return_updated_err_info PASSED [ 75%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_init_sequence.py::TestSetupGrid::test_evenly_spaced_ascending PASSED [ 75%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_init_sequence.py::TestSetupGrid::test_multi_column_grid PASSED [ 75%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_init_sequence.py::TestClubbParams::test_default_params_shape PASSED [ 76%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_init_sequence.py::TestClubbParams::test_default_params_finite PASSED [ 76%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_init_sequence.py::TestClubbParams::test_parameter_names_are_not_truncated PASSED [ 76%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_init_sequence.py::TestClubbParams::test_default_Lscale_mu_entrain PASSED [ 77%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_init_sequence.py::TestClubbParams::test_default_Lscale_tke_multiplier FAILED [ 77%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_init_sequence.py::TestClubbParams::test_default_Lscale_pdf_launch_frac PASSED [ 78%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_init_sequence.py::TestClubbParams::test_default_lscale_up_weight PASSED [ 78%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_init_sequence.py::TestClubbParams::test_multi_column_params PASSED [ 78%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_init_sequence.py::TestCalcDerivedParams::test_produces_finite_outputs PASSED [ 79%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_init_sequence.py::TestPdfInit::test_init_pdf_params PASSED [ 79%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_init_sequence.py::TestPdfInit::test_init_pdf_params_zm PASSED [ 80%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_init_sequence.py::TestPdfInit::test_init_pdf_implicit PASSED [ 80%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_init_sequence.py::TestPdfInit::test_init_pdf_implicit_with_scalars PASSED [ 80%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_init_sequence.py::TestPdfInit::test_init_pdf_implicit_coefs_terms_alias PASSED [ 81%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_init_sequence.py::TestFullInitSequence::test_full_init_no_errors PASSED [ 81%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_loss_frontend.py::test_loss_entry_point_accepts_help_without_initializing_model[-h] PASSED [ 82%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_loss_frontend.py::test_loss_entry_point_accepts_help_without_initializing_model[-help] PASSED [ 82%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_loss_frontend.py::test_loss_entry_point_accepts_help_without_initializing_model[--help] PASSED [ 82%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_python_port_api_coverage.py::test_full_clubb_core_cross_module_api_coverage PASSED [ 83%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_stats.py::TestStatsConfig::test_disabled_by_default PASSED [ 83%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_stats.py::TestStatsConfig::test_init_enables_stats PASSED [ 84%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_stats.py::TestStatsConfig::test_config_fields PASSED [ 84%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_stats.py::TestStatsConfig::test_sampling_params PASSED [ 84%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_stats.py::TestStatsConfig::test_stats_l_sample PASSED [ 85%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_stats.py::TestStatsConfig::test_finalize_disables PASSED [ 85%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_stats.py::TestStatsConfig::test_registry_prunes_radiation_grids_when_unavailable PASSED [ 86%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_stats.py::TestVarMeta::test_first_var_is_thlm PASSED [ 86%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_stats.py::TestVarMeta::test_zm_var PASSED [ 86%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_stats.py::TestVarMeta::test_sfc_var PASSED [ 87%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_stats.py::TestVarMeta::test_var_long_name PASSED [ 87%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_stats.py::TestVarOnStatsList::test_registered_var PASSED [ 88%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_stats.py::TestVarOnStatsList::test_unregistered_var PASSED [ 88%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_stats.py::TestDataRoundtrip::test_initial_buffer_zeros PASSED [ 88%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_stats.py::TestDataRoundtrip::test_push_pull_roundtrip PASSED [ 89%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_stats.py::TestTimestepAndUpdate::test_begin_timestep_sets_l_sample PASSED [ 89%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_stats.py::TestTimestepAndUpdate::test_update_scalar PASSED [ 90%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_stats.py::TestTimestepAndUpdate::test_update_1d PASSED [ 90%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_stats.py::TestTimestepAndUpdate::test_update_2d PASSED [ 90%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_stats.py::TestNetcdfMetadata::test_init_writes_param_names_and_values PASSED [ 91%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_string_conversion.py::test_python_strings_to_fortran_char_matrix PASSED [ 91%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_string_conversion.py::test_fortran_char_matrix_to_python_strings PASSED [ 92%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_string_conversion.py::test_python_strings_to_fortran_char_matrix_truncates PASSED [ 92%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_string_conversion.py::test_fortran_char_matrix_to_python_strings_handles_empty PASSED [ 92%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_udt_return_contract.py::test_udt_arg_wrapper_return_manifest_matches_source PASSED [ 93%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_udt_return_contract.py::test_noarg_udt_return_wrappers_match_source PASSED [ 93%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_udt_return_contract.py::test_full_return_patterns_match_source PASSED [ 94%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_udt_return_contract.py::test_source_order_manifest_matches_wrapper_slices PASSED [ 94%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_udt_roundtrip.py::TestGrid::test_single_column_roundtrip PASSED [ 94%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_udt_roundtrip.py::TestGrid::test_multi_column_roundtrip PASSED [ 95%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_udt_roundtrip.py::TestGrid::test_overwrite PASSED [ 95%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_udt_roundtrip.py::TestSclrIdx::test_roundtrip PASSED [ 96%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_udt_roundtrip.py::TestSclrIdx::test_zero_values PASSED [ 96%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_udt_roundtrip.py::TestSclrIdx::test_overwrite PASSED [ 96%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_udt_roundtrip.py::TestNuVertResDep::test_roundtrip PASSED [ 97%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_udt_roundtrip.py::TestNuVertResDep::test_overwrite_different_size PASSED [ 97%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_udt_roundtrip.py::TestPdfParams::test_init_pull_zeros PASSED [ 98%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_udt_roundtrip.py::TestPdfParams::test_roundtrip PASSED [ 98%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_udt_roundtrip.py::TestPdfParams::test_zm_roundtrip PASSED [ 98%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_udt_roundtrip.py::TestImplicitCoefs::test_init_pull_zeros_no_sclr PASSED [ 99%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_udt_roundtrip.py::TestImplicitCoefs::test_2d_roundtrip PASSED [ 99%]
clubb_python_api/pytests/auto_llm_generated_pytests/test_udt_roundtrip.py::TestImplicitCoefs::test_3d_roundtrip PASSED [100%]
=================================== FAILURES ===================================
_____________ test_Lscale_tke_multiplier_reaches_new_mixing_length _____________
gr = Grid(nzm=11, nzt=10, ngrdcol=2, zm=array([[ 0., 500., 1000., 1500., 2000., 2500., 3000., 3500., 4000.,
4500...
[0.5, 0.5],
[0.5, 0.5]]]), k_lb_zm=0, k_ub_zm=10, k_lb_zt=0, k_ub_zt=9, grid_dir_indx=1, grid_dir=1.0)
def test_Lscale_tke_multiplier_reaches_new_mixing_length(gr):
"""Zero energy is finite; multipliers above the former cap increase reach."""
ngrdcol, nzm, nzt = gr.ngrdcol, gr.nzm, gr.nzt
clubb_params = clubb_api.init_clubb_params(ngrdcol, iunit=10, filename="")
multiplier_index = clubb_api.get_param_names().index("Lscale_tke_multiplier")
clubb_params[:, multiplier_index] = (0.0, 1000.0)
flags = clubb_api.get_default_config_flags()
stable_thvm = np.tile(np.linspace(302.0, 310.0, nzt), (ngrdcol, 1))
pdf_params = clubb_api.init_pdf_params(nzt, ngrdcol)
pdf_params.rt_1[:] = 0.01
pdf_params.thl_1[:] = 300.0
pdf_params.rt_2[:] = 0.01
pdf_params.thl_2[:] = 300.0
pdf_params.mixt_frac[:] = 0.5
_err_info, _lscale, lscale_up, _lscale_down = clubb_api.calc_lscale_directly(
ngrdcol=ngrdcol,
nzm=nzm,
nzt=nzt,
gr=gr,
l_implemented=True,
p_in_pa=np.full((ngrdcol, nzt), 100000.0),
exner=np.ones((ngrdcol, nzt)),
rtm=np.full((ngrdcol, nzt), 0.01),
thlm=np.full((ngrdcol, nzt), 300.0),
thvm=stable_thvm,
rtp2_zt=np.full((ngrdcol, nzt), 1.0e-6),
thlp2_zt=np.full((ngrdcol, nzt), 1.0e-4),
rtpthlp_zt=np.zeros((ngrdcol, nzt)),
pdf_params=pdf_params,
em=np.full((ngrdcol, nzm), 0.2),
thv_ds_zt=np.full((ngrdcol, nzt), 300.0),
lscale_max=np.full(ngrdcol, 1.0e5),
lmin=1.0,
clubb_params=clubb_params,
saturation_formula=int(flags.saturation_formula),
l_lscale_plume_centered=False,
lscale_method=3,
err_info=ErrInfo(ngrdcol=ngrdcol),
)
assert np.all(np.isfinite(lscale_up))
assert np.all(np.isfinite(_lscale))
> assert np.all(np.isfinite(_lscale_down))
E AssertionError: assert np.False_
E + where np.False_ = <function all at 0x70ff875f2630>(array([[ True, True, True, True, True, True, True, True, True,\n False],\n [ True, True, True, True, True, True, True, True, True,\n True]]))
E + where <function all at 0x70ff875f2630> = np.all
E + and array([[ True, True, True, True, True, True, True, True, True,\n False],\n [ True, True, True, True, True, True, True, True, True,\n True]]) = <ufunc 'isfinite'>(array([[5.0e-01, 1.0e-01, 1.0e-01, 1.0e-01, 1.0e-01, 1.0e-01, 1.0e-01,\n 1.0e-01, 1.0e-01, nan],\n [5.0e-01, 5.0e+02, 1.0e+03, 1.5e+03, 2.0e+03, 2.5e+03, 3.0e+03,\n 3.5e+03, 4.0e+03, 4.5e+03]]))
E + where <ufunc 'isfinite'> = np.isfinite
clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_mixing_length.py:271: AssertionError
______________ TestClubbParams.test_default_Lscale_tke_multiplier ______________
self = <test_init_sequence.TestClubbParams object at 0x70ff37899280>
def test_default_Lscale_tke_multiplier(self):
"""Mean launch energy defaults to TKE, with no upper multiplier bound."""
names = get_param_names()
index = names.index("Lscale_tke_multiplier")
params = init_clubb_params(1, iunit=10, filename="")
bounds = get_parameter_hard_bounds(len(names))[index]
assert params[0, index] == 1.0
> assert bounds["min"] == 0.0
E assert 2.2250738585072014e-308 == 0.0
clubb_python_api/pytests/auto_llm_generated_pytests/test_init_sequence.py:239: AssertionError
- generated xml file: /home/jenkins/workspace/clubb_branch_python/output/tests/pytests/api.xml -
=========================== short test summary info ============================
FAILED clubb_python_api/pytests/auto_llm_generated_pytests/test_call_tree_mixing_length.py::test_Lscale_tke_multiplier_reaches_new_mixing_length - AssertionError: assert np.False_
+ where np.False_ = <function all at 0x70ff875f2630>(array([[ True, True, True, True, True, True, True, True, True,\n False],\n [ True, True, True, True, True, True, True, True, True,\n True]]))
+ where <function all at 0x70ff875f2630> = np.all
+ and array([[ True, True, True, True, True, True, True, True, True,\n False],\n [ True, True, True, True, True, True, True, True, True,\n True]]) = <ufunc 'isfinite'>(array([[5.0e-01, 1.0e-01, 1.0e-01, 1.0e-01, 1.0e-01, 1.0e-01, 1.0e-01,\n 1.0e-01, 1.0e-01, nan],\n [5.0e-01, 5.0e+02, 1.0e+03, 1.5e+03, 2.0e+03, 2.5e+03, 3.0e+03,\n 3.5e+03, 4.0e+03, 4.5e+03]]))
+ where <ufunc 'isfinite'> = np.isfinite
FAILED clubb_python_api/pytests/auto_llm_generated_pytests/test_init_sequence.py::TestClubbParams::test_default_Lscale_tke_multiplier - assert 2.2250738585072014e-308 == 0.0
======================== 2 failed, 250 passed in 11.98s ========================
Fatal error in CLUBB - MPI Process 0 / Chunk index 1
Column index not available. Latitude/Longitude for column 1: 0.00/ 0.00
Latitude range from -90 to 90 degrees, Longitude range from -180 to 180 degrees
advance_windm_edsclrm: l_do_expldiff_rtm_thlm requires zero edsclrm_forcing for iiedsclr_thl and iiedsclr_rt, because thlm and rtm are already forced in advance_xm_wpxp
Fatal error in CLUBB - MPI Process 0 / Chunk index 1
Column index not available. Latitude/Longitude for column 1: 0.00/ 0.00
Latitude range from -90 to 90 degrees, Longitude range from -180 to 180 degrees
advance_windm_edsclrm: l_do_expldiff_rtm_thlm requires zero edsclrm_forcing for iiedsclr_thl and iiedsclr_rt, because thlm and rtm are already forced in advance_xm_wpxp
Fatal error in CLUBB - MPI Process 0 / Chunk index 1
Column index not available. Latitude/Longitude for column 1: 0.00/ 0.00
Latitude range from -90 to 90 degrees, Longitude range from -180 to 180 degrees
advance_windm_edsclrm: l_do_expldiff_rtm_thlm requires zero wpedsclrp_sfc for iiedsclr_thl and iiedsclr_rt, because wpthlp_sfc and wprtp_sfc are already applied in advance_xm_wpxp
Fatal error in CLUBB - MPI Process 0 / Chunk index 1
Column index not available. Latitude/Longitude for column 1: 0.00/ 0.00
Latitude range from -90 to 90 degrees, Longitude range from -180 to 180 degrees
advance_windm_edsclrm: l_do_expldiff_rtm_thlm requires zero wpedsclrp_sfc for iiedsclr_thl and iiedsclr_rt, because wpthlp_sfc and wprtp_sfc are already applied in advance_xm_wpxp