Hi @anubhv666, welcome to the forum.
Can you share the weather file or a link to the weather file?
Also you tagged the question under honeybee[+] by mistake. See here for good practices about posting your question: https://discourse.ladybug.tools/faq
I doubt it’s the epw file because it works fine with everything else except this particular function. And thank you for the response.