I was writing a code to download rainfall data from imd, I managed to download it but it gives me the data in .grd format while I need the data in .nc format. Here is the code I wrote. Please check it and let me know what can I do to fix it. enter image description here
I wanted data in .grd format but I got it in NetCDF format