Error in climate programming code

You’re welcome!

Please consider marking my post above with the Solution tag.

It will automatically place a checkmark next to the topic’s title. This indicates to other users that this topic has been solved and helps them find answers to similar questions.

For more information about the Solution tag, refer to guideline 21 in the FAQ.