A park in Rio de Janeiro has recorded the lowest temperature in the country, setting a new local record.