Skip to main content

A small package for flood forecasting

Project description

Train several popular statistical models to predict regional flooding,and compare the performance of each model. We will use the Root Mean Square Error(RMSE) metric to evaluate each model’s performance, and then normalize each of these statistics by dividing each of them by the difference of the max and min training values in order to make performance comparisons across models

Installation

Install from PyPI


GRFlood is available on PyPI. To install GRFlood, run this command in your terminal:

pip install GRFlood

Install from conda-forge


GRFlood is also available on conda-forge. If you have Anaconda or Miniconda installed on your computer, you can create a conda Python environment to install GRFlood:

conda install -c defaults -c conda-forge GRFlood

Install from GitHub


To install the development version from GitHub using Git, run the following command in your terminal:
pip install git+https://github.com/callback21/GRFlood

Colaboratory


Colaboratory lets you connect to a local runtime using Jupyter. This allows you to execute code on your local hardware and have access to your local file system.

Step 1: Install Jupyter
Install Jupyter on your local machine.

Step 2: Install and enable the jupyter_http_over_ws jupyter extension (one-off)
The jupyter_http_over_ws extension is authored by the Colaboratory team and available on GitHub.

pip install jupyter_http_over_ws
jupyter serverextension enable --py jupyter_http_over_ws

Step 3: Start server and authenticate
New notebook servers are started normally, though you will need to set a flag to explicitly trust WebSocket connections from the Colaboratory frontend.

jupyter notebook \
  --NotebookApp.allow_origin='https://colab.research.google.com' \
  --port=8888 \
  --NotebookApp.port_retries=0

Once the server has started, it will print a message with the initial backend URL used for authentication. Make a copy of this URL as you'll need to provide this in the next step.

Step 4: Connect to the local runtime
In Colaboratory, click the 'Connect' button and select 'Connect to local runtime…'. Enter the URL from the previous step in the dialogue that appears and click the 'Connect' button. After this, you should now be connected to your local runtime.

Upgrade GRFlood


If you have installed GRFlood before and want to upgrade to the latest version, you can run the following command in your terminal:

pip install -U GRFlood

If you use conda, you can update GRFlood to the latest version by running the following command in your terminal:

conda update GRFlood

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

GRFlood-1.0.0.tar.gz (8.8 kB view details)

Uploaded Source

Built Distribution

GRFlood-1.0.0-py3-none-any.whl (7.7 kB view details)

Uploaded Python 3

File details

Details for the file GRFlood-1.0.0.tar.gz.

File metadata

  • Download URL: GRFlood-1.0.0.tar.gz
  • Upload date:
  • Size: 8.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.24.0 setuptools/54.1.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.5

File hashes

Hashes for GRFlood-1.0.0.tar.gz
Algorithm Hash digest
SHA256 cf614de10edf50e6d1a610d5a7cd9b83fe8b94123efd766ba1ce6339a3fa4893
MD5 4814036274c9ab796296da1b5c48db7f
BLAKE2b-256 5680da8241dbc1922e2b7c751a3a85f6f3e1438ba9cca644983d03934bd87dd3

See more details on using hashes here.

File details

Details for the file GRFlood-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: GRFlood-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 7.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.24.0 setuptools/54.1.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.5

File hashes

Hashes for GRFlood-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9da794ef53afd54b8f64da3a79262a59420c762799173d1cb38e2d925c190601
MD5 8e39c62b6238368d7af5cf9757b79fe7
BLAKE2b-256 268dd217a34ffb5e7e7c2b74851af565e49a7d113e23d6e01873b24b3b26203a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page