On some occasions, $wf(max,0)$ shows 2147483647 (which = 2^32-1, looks like a max value for int or long type?) instead of the actual temperature. Strangely $wf(min,0)$ does show the correct number at the same moment. And thoughts ?

This happens when the provider is not able to provide a max temperature, which one are you using?

It's weather underground

I'm getting this with Weather Underground. Using Weather Underground with other weather apps, such as Weather Timeline, I am getting a max temp for the current day.

I'm getting this as well, seems to happen after 10pm, maybe too close to the end of the day? Is there a way around this?