Skip to content

IBM-Cloud/bluemix-retail

Repository files navigation

installation

Create 2 Cloudant databases named alerts and districts.

Create API keys for each and give them admin rights.

Note your Cloudant URL, e.g. https://BLAHBLAH.cloudant.com, and database API key and password values.

From your terminal, execute

git clone https://github.com/CodenameBlueMix/bluemix-retail.git
make install

Supply configuration parameters as prompted.

usage

Browse to URL for the bluemix-retail application in Bluemix.

hello-weather

node library and server/web app providing weather data from

http://graphical.weather.gov/xml/rest.php

NDFD database:

http://graphical.weather.gov/xml/docs/elementInputNames.php

http://www.nws.noaa.gov/ndfd/technical.htm#elements

result

JSON structure. For example:

{ "createdate": "2014-04-22", "effdate": "2014-04-27", "lat": 61.22, "lon": -149.85, "tempmaximum": 50, "tempminimum": 34, "probPrecipAM": 22, "probPrecipPM": 20, "hazardAMPhenomena": "", "hazardPMPhenomena": "", "hazardAMCode": "", "hazardPMCode": "", "weathersummary": "Chance Rain" }

weathertype:

  • "freezing drizzle"
  • "freezing rain"
  • "snow showers"
  • "blowing snow"
  • "blowing dust"
  • "rain showers"
  • "ice pellets"
  • "frost"
  • "rain"
  • "hail"
  • "snow"
  • "thunderstorms"
  • "drizzle"
  • "fog"
  • "haze"
  • "smoke"
  • "freezing spray"
  • "ice fog"
  • "freezing fog"
  • "water spouts"
  • "volcanic ash"
  • "ice crystals"
  • "blowing sand"

weathersummary: (partial list)

  • "Partly Sunny"

hazard phenomena:

  • "Ashfall"
  • "Air Quality"
  • "Air Stagnation"
  • "Blowing Snow"
  • "Brisk Wind"
  • "Blizzard"
  • "Coastal Flood"
  • "Dust Storm"
  • "Blowing Dust"
  • "Excessive Cold"
  • "Excessive Heat"
  • "Excessive Wind"
  • "Areal Flood"
  • "Flash Flood"
  • "Dense Fog"
  • "Flood"
  • "Frost"
  • "Red Flag"
  • "Fire Weather"
  • "Freeze"
  • "Gale"
  • "Hurricane Force Wind"
  • "Hurricane Wind"
  • "Heavy Snow"
  • "Heat"
  • "Hurricane"
  • "High Wind"
  • "Hard Freeze"
  • "Sleet"
  • "Ice Storm"
  • "Lake Effect Snow and Blowing Snow"
  • "Lake Effect Snow"
  • "Low Water"
  • "Lakeshore Flood"
  • "Lake Wind"
  • "Marine"
  • "Special Marine"
  • "Small Craft, for Rough Bar"
  • "Snow and Blowing Snow"
  • "Small Craft"
  • "Hazardous Seas"
  • "Small Craft, for Winds"
  • "Dense Smoke"
  • "Snow"
  • "Storm"
  • "High Surf"
  • "Severe Thunderstorm"
  • "Small Craft, for Hazardous Seas"
  • "Tropical Storm Wind"
  • "Tornado"
  • "Tropical Storm"
  • "Tsunami"
  • "Typhoon"
  • "Freezing Spray"
  • "Wind Chill"
  • "Wind"
  • "Winter Storm"
  • "Winter Weather"
  • "Freezing Fog"
  • "Freezing Rain"
  • "Record High Temperature Possible"
  • "Record Low Temperature Possible"
  • "none"
  • license

    Licensed under the Apache License, Version 2.0

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published