Re: [datameet] Issue on using imdlib package with rasterstats to calculate zonal statistics

2023-09-07 Thread Dammalapati Sai Krishna
Hi Nikhil! I remember having a correspondence with you about imdlib last year. I am fetching the rainfall data - but in the raster formal. data = imd.get_data( var_type='rain', start_yr=year, end_yr=year, fn_format='yearwise', file_dir=DATA_FOLDER ) T

Re: [datameet] Issue on using imdlib package with rasterstats to calculate zonal statistics

2023-09-07 Thread Nikhil VJ
Hi Dammalapati, I had used imdlib python package a year back, but the data fetched using it was vector data, not raster. It had latitude, longitude, date and value of either rainfall in mm or temperature in degrees celsius. If you're fetching a dataset what is different from rainfall or temperatur

[datameet] Issue on using imdlib package with rasterstats to calculate zonal statistics

2023-09-07 Thread Dammalapati Sai Krishna
Hi, This question is for people who have worked on Python's imdlib package. The rasters downloaded using imdlib has the following affine transformation: | 0.25, 0.00, 66.38| | 0.00, *0.25*, *6.38*| | 0.00, 0.00, 1.00| If I'm not wrong, the general standard is to define the pixel height in negat