Skip to content

Download IMD gridded rainfall, minimum and maximum temperature data as netCDF files from your terminal.

License

Notifications You must be signed in to change notification settings

prajeeshag/imddata

Repository files navigation

imddata

PyPI - Version

PyPI - Downloads

pre-commit

Download India Meteorological Department (IMD) gridded rainfall and minimum and maximum temperature data as netCDF files from your terminal.

Installation

$ pip install imddata

Usage

For usage instructions, run

$ imddata --help

example: download maximum temperature data

$ imddata --name tmax --syear 2020 --eyear 2022
$ ls
IMD_tmax_2020.nc
IMD_tmax_2021.nc
IMD_tmax_2022.nc

example: download minimum temperature data

$ imddata --name tmin --syear 2020 --eyear 2022
$ ls
IMD_tmin_2020.nc
IMD_tmin_2021.nc
IMD_tmin_2022.nc

example: download rainfall data

$ imddata --name rain --syear 2020 --eyear 2022
$ ls
IMD_rain_2020.nc
IMD_rain_2021.nc
IMD_rain_2022.nc

Download with a custom filename prefix:

$ imddata --name tmin --syear 2020 --eyear 2022 --filename-prefix tmin_data
$ ls
tmin_data_2020.nc
tmin_data_2021.nc
tmin_data_2022.nc

About

Download IMD gridded rainfall, minimum and maximum temperature data as netCDF files from your terminal.

Topics

Resources

License

Stars

Watchers

Forks

Languages