Tune the Planet project's ClimateSimulationGlobals/climate_config.json against the bundled Earth Hersfeldt reference. Use when the user asks to calibrate, optimize, iterate on, score, resume, or apply Earth climate parameter tuning, including requests such as "tune the climate", "improve the Hersfeldt score", or "run another climate batch".
Recursos
1Instal·la
npx skillscat add benjaminiserman/gaiasis/climate-tuner Instal·la des del registre de SkillsCat.
SKILL.md
Climate Tuner
Use the project's native Godot runner; do not attempt to call the Kotlin tuner directly with java or Gradle.
Workflow
- Locate
planet/skills/tune_climate.ps1if the runner, paths, or options may have changed. - Confirm the user intent:
- Use a new batch unless the user asks to continue, then add
--resume. - Add
--applyonly when the user explicitly authorizes changingclimate_config.json.
- Use a new batch unless the user asks to continue, then add
- Read the prior
report.jsonbefore selecting a new hypothesis. Prioritize, in order:- the largest reference-to-simulated confusion;
- the weakest latitude or elevation band;
- the averaged Hersfeldt classifier inputs for that confusion; and
- the baseline deltas from previous candidates (corrected versus regressed tiles and classes).
- Select a focused parameter set. With a budget of 9 and no interactions, use at most four parameters because the baseline plus both directions needs
1 + 2Nevaluations.- Temperature:
baseTemperature,baseTemperatureInsolationScalar,oceanBaseTemp,oceanInsolationScale - Moisture:
moistureToMm,startingMoistureMultiplier,moisturePropagationMultiplier,landPrecipitationScalar - Circulation/precipitation: choose up to four relevant entries from
climate_tuning.json.
- Temperature:
- Add
--interactions A+Bonly for a concrete paired hypothesis. Each pair reserves up to four evaluations, so raise the budget or reduce the number of coordinate parameters accordingly. - From the
planetdirectory, run./skills/tune_climate.ps1with--parameters,--max-evaluations, and any authorized--resume/--applyflags. Use an explicit output/report directory for experiments that should not overwrite the default run. - Read the generated
report.jsonand inspect the baseline/best files under itsartifactsdirectory. Report baseline and best loss, exact-match percentage, changed values, corrected/regressed tiles, leading remaining confusion, evaluation count, and whetherclimate_config.jsonchanged.
Safety and interpretation
- Each evaluation reloads
save/earth.jsonand simulates all months. Do not claim a run is quick; use the requested budget and wait for completion. - Lower loss is better. Prefer the report's
bestLoss; use match percentage as a companion metric. - White or transparent pixels in the reference are an unscored ocean/background mask. Never interpret
referenceMissesas climate errors or optimize them through climate parameters; usereferenceCoveragePercentonly as an import/reference alignment diagnostic. - A tile's reference target is the majority painted class in its fixed geometric footprint. Use confusion, geographic bands, classifier inputs, and candidate deltas to form the next hypothesis.
- A run without
--applymust leaveclimate_config.jsonunchanged. When--applyis used, the runner writes a backup before its first replacement. - If no improvement is found, retain the existing configuration and state that outcome plainly.
- For follow-up tuning, inspect the prior report and use
--resumeonly when continuing from its best candidate is appropriate.