chore: slim wheel/sdist, drop stale Chaverot Earth LW tables#209
Merged
JoyMonteiro merged 1 commit intoJun 15, 2026
Merged
Conversation
Wheel: replace include_package_data=True with explicit package_data covering only the runtime _data/ assets (ozone, TOML configs, correlated-k .nc/.npz). Fortran sources, .pyx, PDFs, graphify-out/, etc. are no longer bundled. sdist: change MANIFEST.in to include only *.py from tests/, dropping ~59 MB of binary NetCDF caches. Delete 6 stale/defective Chaverot-sourced Earth LW tables and all code that referenced them (test_resolution_convergence.py, benchmark_hotmoist_window_closure.py, lw_convergence() in benchmark_picket_fence_vs_rrtmg.py). The 4-band/8-gpt options are superseded by the 14-band linepyline table; the hotmoist table has a molar-mass calibration defect at high H2O. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This was referenced Jun 15, 2026
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
include_package_data=Truewith explicitpackage_datainsetup.py, covering only the runtime_data/assets (ozone profile, TOML configs, correlated-k.nc/.npz). Fortran sources,.pyxfiles, PDFs,graphify-out/, etc. are no longer bundled in the wheel.MANIFEST.into include only*.pyfromtests/, dropping ~59 MB of binary NetCDF cache files.earth_hifi_lw.nc— byte-copy ofearth_low_res_lw.nc(identical SHA256), added for temporary CI useearth_low_res_lw_4gpt.nc,earth_low_res_lw_8gpt.nc— resolution-convergence variants; superseded by 14-band linepyline tableearth_low_res_lw_co2refined.nc— had 54× far-wing defect in 500–630 cm⁻¹ CO₂ bandearth_low_res_lw_hotmoist.nc— molar-mass calibration defect at high H₂O (τ_code/τ_true = M_mix/M_dry, ~20% underestimate at x_H₂O=50%)earth_low_res_lw_4band_ngpt2_before.nc— pre-refinement intermediate artifacttests/test_resolution_convergence.py(tested deleted 4gpt/8gpt tables),benchmarks/benchmark_hotmoist_window_closure.py(used deleted hotmoist table), andlw_convergence()function frombenchmarks/benchmark_picket_fence_vs_rrtmg.py.scripts/regenerate_shipped_picket_fence_tables.pydocstring and RECIPES to reflect that Earth LW now comes from linepyline, not Chaverot.scripts/experiments/eval_co2_interp_accuracy.py(earth_hifi_lw→earth_low_res_lw).Test plan
tests/test_picket_fence_lw.py— all 10 tests pass;earth_hifi_lwparametrize removed,earth_low_res_lwtested directlypython setup.py bdist_wheel(manual, not blocking CI)🤖 Generated with Claude Code