IMD rainfall data to csv file

136 views
Skip to first unread message

Uday Bhaskar Reddy

unread,
Sep 7, 2020, 4:00:08 PM9/7/20
to data...@googlegroups.com
Hi all,

Could someone kindly share the easiest way to make a CSV file from the rainfall data shared by IMD in a text file. The problem is the data is divided into stations with the header containing the station name, location and coordinates not conforming to the format of the rainfall data.

Thank you for your time,
Uday.

Nikhil VJ

unread,
Sep 7, 2020, 9:27:46 PM9/7/20
to datameet
Hi Uday,
Do share all relevant links, sample data whenever possible.

Regards
Nikhil

--
Datameet is a community of Data Science enthusiasts in India. Know more about us by visiting http://datameet.org
---
You received this message because you are subscribed to the Google Groups "datameet" group.
To unsubscribe from this group and stop receiving emails from it, send an email to datameet+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/datameet/CAE9YNv%3DJH79LU%3DFFd%3D%3DYucQV9%3DAzEBwddA-gPQfb2Q8%2BZsk5%3Dg%40mail.gmail.com.

Uday Bhaskar Reddy

unread,
Sep 8, 2020, 9:28:33 AM9/8/20
to data...@googlegroups.com
Hi Nikhil,

Attaching a sample file as suggested.

Regards,
Uday.

sample for datameet.txt

Nikhil VJ

unread,
Sep 9, 2020, 3:50:11 AM9/9/20
to datameet
Hi Uday,

Great, giving the actual structure always helps. Now, do share how you get this data from IMD so that others can get to it (or for their place / time) too.

Generally to be able to work with such data we need to un-pivot it and bring all the values into one column.

Towards that, I have created a basic unpivoting tool sometime back which might help:

It requires properly formatted tables though, so you would have to do some work on your data before you can use this. I won't be able to help regarding that, maybe someone else can. I think the place name and lat-long need to be brought in as columns too, so it won't be as simple as deleting them off.

--
Cheers,
Nikhil VJ
https://nikhilvj.co.in


Uday Bhaskar Reddy

unread,
Sep 10, 2020, 9:10:11 AM9/10/20
to data...@googlegroups.com
Hi NIkhil,

Thank you for the information. This data is bought from IMD. Information on how to purchase by individuals and organisations is available on their website.

Regards,
Uday.

Manish Gupte

unread,
Sep 10, 2020, 10:16:09 AM9/10/20
to data...@googlegroups.com
Dear Uday,

Does IMD have 2020 rainfall daily values for stations? I also want to buy it.

Manish

Uday Bhaskar Reddy

unread,
Sep 11, 2020, 9:00:26 AM9/11/20
to data...@googlegroups.com
Hi Manish,

Sorry, I have no information on that. We have to make a request for data for a period based on which they will act. Please explore here - https://www.imdtvm.gov.in/index.php?option=com_content&task=view&id=29&Itemid=43

Regards,
Uday.

SANDIP SARKAR

unread,
Sep 11, 2020, 10:21:09 PM9/11/20
to data...@googlegroups.com
This might be helpful to you



Rainfall.csv
Reply all
Reply to author
Forward
0 new messages