Pirate-Weather / pirateweather

Code and documentation for the Pirate Weather API
Apache License 2.0
617 stars 27 forks source link

UV Index is some outrageous number, looks like some integer overflow #249

Closed nasserakhter closed 1 week ago

nasserakhter commented 1 week ago

Describe the bug

image

When viewing the data for UV Index at 4:05AM in Elk Grove, CA, USA the number is like something a billion or a trillion.

Expected behavior

I don't think that high of a UV index is possible, it should just be around 1-20 ish

Actual behavior

It shows 88123938833852000

API Endpoint

Production

Location

Elk Grove, California, United States

Other details

Viewed via Merry Sky

Troubleshooting steps

cloneofghosts commented 1 week ago

Duplicate of #229

This is an intermittent issue which is affecting more things then just UV Index. Is likely due to the fact that the GFS model isn't being processed correctly.