This Python Jupyter Notebook is designed to help automate the download process of MRMS rainfall data using the Selenium package. With this package, you can easily download all the MRMS rainfall data at once, making it much easier to work with.
- 100% Jupyter Notebook
- Compatible with IDEs such as Pycharm
- Jupyter widgets base for more convenience to use
- Light weight
This project makes use of Jupyter Notebooks for increased convenience. In order for you to be able to interact with the widgets contained within the notebook, you will first need to install Jupyer Notebook along with its dependencies in the form of Ipywidgets. Here are provided three different methods to create the environment that you may choose the one is more convenient for you.
- The easiest way to create the python environment is using the "yml" file we provided in the repository and you just need to import this file in your directory and run below conda command.
conda env create -f environment.yml
- Installing Jupyter Lab or installing the Jupyter meta(both are the same) package through conda is the more convenient alternative for achieving this objective. Both of these options make it simple for you to access everything in an effective Jupyter environment that you might require for this project or other projects.
Check that you have the most recent version of Anaconda downloaded and installed on your system. (https://github.com/Mohamad-fcz/MRMS)
- Downdload Anaconda Using Anaconda Prompt:
- installing the most recent version of Jpyter along with all of its dependencies.
conda install -c conda-forge jupyter
- installing the most recent version of Jupyter notebook and activating Ipywidgets manually in case you are short on space or for any reason do not intend to install full Jupyter meta package from above method.
conda install -c conda-forge notebook
conda install -c conda-forge nb_conda_kernels
conda install -c conda-forge jupyter_contrib_nbextensions
conda install -c conda-forge ipywidgets
- Install the latest version of below packages in the environment using conda
conda install -c conda-forge selenium
conda install -c conda-forge webdriver-manager
conda install -c conda-forge tqdm
Be certain to run the import
cell as well as the functions
.
With Jupyter widgets, you have a straightforward graphical user interface for setting parameters start/end date and the rainfall duration.
After you have finished making configurations, you can begin the automation process by clicking the "start download" button. Keep in mind that the process might take a while to be completed and preferably the system should not be in use meanwhile.