pratiman-91 / pratiman-91.github.io

Webpages with blogs.
https://pratiman-91.github.io
MIT License
1 stars 0 forks source link

2020/10/06/IMD-grided-to-GeoTIFF #3

Open utterances-bot opened 3 years ago

utterances-bot commented 3 years ago

India Meteorological Department (IMD) grided data to GeoTIFF - Pratiman Homepage

This is Pratiman webpage with some blogs.

https://pratiman-91.github.io/2020/10/06/IMD-grided-to-GeoTIFF.html

gaurav2103 commented 3 years ago

It is giving error TooManyDimensions: Only 2D and 3D data arrays supported.

pratiman-91 commented 3 years ago

In the latest version, we have added this into the library. Now, you can convert the IMD dataset to # GeoTIFF using data.to_geotiff('test.tif', file_dir).

For latest documentation, please visit https://imdlib.readthedocs.io/en/latest/

gaurav2103 commented 3 years ago

Thanks @pratiman

devosse1 commented 1 year ago

Can you pls include daily gridded data conversion to .nc pls

pratiman-91 commented 1 year ago

Can you pls include daily gridded data conversion to .nc pls

@devosse1 you can use data.to_netcdf('test.nc', file_dir) to save in netcdf format.

For more information, please go through [https://imdlib.readthedocs.io/en/latest/Usage.html#saving]https://imdlib.readthedocs.io/en/latest/Usage.html#saving

devosse1 commented 1 year ago

Hi, Thank you for your reply, but I meant through your package I can only access the IMD data archive which has data till 2021 but I want the data of 2022 which is present in Gridded Data Real Time. So I was hoping how to use your package for those? I have downloaded one day of the 2022 GRD data but using the imd.open_data, I couldn't open it. I would really appreciate it greatly if you could help with the same. [image: image.png]

On Fri, Dec 30, 2022 at 4:35 PM Pratiman @.***> wrote:

Can you pls include daily gridded data conversion to .nc pls

@devosse1 https://github.com/devosse1 you can use data.to_netcdf(' test.nc', file_dir) to in netcdf format.

For more information, please go through [ https://imdlib.readthedocs.io/en/latest/Usage.html#saving] https://imdlib.readthedocs.io/en/latest/Usage.html#saving

— Reply to this email directly, view it on GitHub https://github.com/pratiman-91/pratiman-91.github.io/issues/3#issuecomment-1367860026, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOKQWYKH6C243D36ULHTOEDWP26XHANCNFSM46ETQSUQ . You are receiving this because you were mentioned.Message ID: @.***>

pratiman-91 commented 1 year ago

@devosse1

We are working on this aspect. You will get an update soon.

balakumaran247 commented 1 year ago

@devosse1 @pratiman-91 hey, I'm working on a python package (available in PyPI) which helps in downloading IMD daily datasets and converting them to geotiff, soon will add NetCDF support too. Have a look at it and provide your feedback. https://github.com/balakumaran247/imddaily

pratiman-91 commented 1 year ago

@devosse1

We have added real-time functionality into the imdlib. Please check this link for documentation: https://imdlib.readthedocs.io/en/latest/Usage.html#gridded-data-real-time

@balakumaran247 Why to create a new python package? If you want you can contribute it this package as well.

balakumaran247 commented 1 year ago

@pratiman-91 yeah, I will. It started as a learning project for creating python packages.