Re 'couldbase' and 'ceiling', I'd think you could define the cloudbase as the bottom of the lowest clouds, but the ceiling would be the base of the first layer of broken or overcast (which could have, say, scattered below, giving you a lower cloudbase than ceiling).
I could also be talking rubbish. Any votes?