Skip to content

Version: 0.2.0

Choose a tag to compare

@iamsaswata iamsaswata released this 06 Oct 23:08
c30f042

Released 06 October 2026.

  • Added load(), which downloads IMD data into a local cache, checks each file and returns an IMD object. It supports archive and real-time data (source='realtime', including rain_gpm), offline use, retries and download progress.

  • Added imdlib.cache to show, clear, relocate and unlock the local data cache.

  • Fixed get_data() and get_real_data() saving empty or wrong-size files. An empty reply from IMD (period not published yet) now raises DataNotAvailableError; an incomplete download raises DownloadError.

  • Faster reading of .grd files in open_data() and open_real_data() (results are unchanged).

  • heatwave() and coldwave() now read a normal period outside the loaded data with load(), so its files go into the cache instead of the current working directory.

Full changelog: 0.1.22...0.2.0