After a bunch of messing around with the code of planets I replaced the temperature tab on a custom planet with the climate tab.
How I did this was by saving Earth as a body then opening the .ubox file for both with winrar and opening body.json.
Than I copied this code
"},{
"AlbedoFlag":true,
"Snowball":false,
"InfraredA":213.98,
"CarbonDioxidePPMV":389.85,
"UseClimateScenario":false,
"IncrementCO2":false,
"EmissionRateCO2":72882.6019722666,
"DepositionRateCO2":38025.7053768347,
"InfraredB":1.7,
"DiffusionConstMagnitude":0.44,
"HadleyFlag":true,
"LandHeatCapacity":1420.2,
"WaterHeatCapacity":3830.8,
"CouplingCoefficient":3,
"LatentHeatCO2Flag":false,
"$type":"ClimateComponent"
}]"
from Earth and putting it at the bottom of the custom planet's code, I updated the archive and restarted the game and my planet had a climate tab.
-I used Notepad++
https://notepad-plus-plus.org/download/v6.9.1.html-and Winrar
http://www.rarlab.com/download.htm