Skip to content

This creates email reports and hosts the REST API. The reports have tropical storm and hurricane forecasts from the hurricane-net model. The deployment repository for a hurricane forecasting system based on machine learning and deep learning methods.

License

hammad93/hurricane-deploy

Repository files navigation

hurricane-deploy

The deployment repository for a hurricane forecasting system based on machine learning and deep learning methods

API Link

Quickstart

  • A credentials.csv is required for authentication of the SMTP server to send emails. This is stored in a secret gist.
  1. Navigate to the docker directory in this repository
  2. Run the docker command, sudo docker build --no-cache -t hurricane . to install the deployment using docker
  3. Run the docker command, sudo docker run -d hurricane to activate software that will run email reports every hour

Note that the virtualized deployment utilizes the cron script, 0 * * * * python /hurricane-deploy/report.py >> /var/log/cron.log 2>&1, to generate reports.

Credentials

The credentials in CSV format need to be in the directory named credentials.csv

Import most recent Atlantic tropical storms

From this NHC resource described here, , we can import the most recent tropical storms using the following code.

import update.py
results = update.nhc()

This returns an object of the following form,

array of dict
    Each dictionary is in the following form,
    {
        "storm" : string # the storm ID from the NHC
        "metadata" : dict # the kml files used to create the results
        "entries" : array of dict # The data for the storm in the form,
            {
                'time' : Datetime,
                'wind' : Knots,
                'lat' : Decimal Degrees,
                'lon' : Decimal Degrees,
                'pressure' : Barometric pressure (mb)
            }
    }

About

This creates email reports and hosts the REST API. The reports have tropical storm and hurricane forecasts from the hurricane-net model. The deployment repository for a hurricane forecasting system based on machine learning and deep learning methods.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published