GithubHelp home page GithubHelp logo

atom-metaweather's Introduction

Hi there šŸ‘‹

profile for Samuele Mattiuzzo at Stack Overflow, Q&A for professional and enthusiast programmers

samuele-mattiuzzo's GitHub stats

Top Langs

atom-metaweather's People

Contributors

samuele-mattiuzzo avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

atom-metaweather's Issues

Convert Centigrade to Fahrenheit option

I'm sure I'm not the only American who would appreciate this feature!

It seems that their API doesn't support requesting Fahrenheit instead of Centigrade, so you'd have to do the conversion after receiving the data. Luckily, the formula is simple:

Ā°F = Ā°C * 9/5 + 32

And in action:

Ā°48F = *9C * 9/5 + 32

Clean up code

Polish up the code, possibly move data formatting in separate file

Investigate failing tests

index.js:56 Error: Cannot find module '/Users/smau/Workspace/Git/spec' at Module._resolveFilename (module.js:336) at Function.Module._resolveFilename (/Applications/Atom.app/Contents/Resources/app.asar/src/module-cache.js:383) at Function.Module._load (module.js:286) at Module.require (module.js:365) at require (module.js:384) at requireSpecs (/Applications/Atom.app/Contents/Resources/app.asar/spec/jasmine-test-runner.js:101) at module.exports (/Applications/Atom.app/Contents/Resources/app.asar/spec/jasmine-test-runner.js:49) at Object.<anonymous> (/Applications/Atom.app/Contents/Resources/app.asar/src/initialize-test-window.js:81) at Object.<anonymous> (/Applications/Atom.app/Contents/Resources/app.asar/src/initialize-test-window.js:102) at Module._compile (module.js:434) at Object.defineProperty.value [as .js] (/Applications/Atom.app/Contents/Resources/app.asar/src/compile-cache.js:190) at Module.load (module.js:355) at Function.Module._load (module.js:310) at Module.require (module.js:365) at require (module.js:384) at setupWindow (index.js:79) at window.onload (index.js:35) handleSetupError @ index.js:56

Uncaught TypeError: Cannot read property 'toLowerCase' of undefined

Iā€™m getting this after restarting Atom. Looking at the API response body, it looks like wind_direction_compass is no longer being exposed.

Atom generated blurb:


Atom Version: 1.4.3
System: Mac OS X 10.11.3
Thrown From: atom-metaweather package, v0.7.0

Stack Trace

Uncaught TypeError: Cannot read property 'toLowerCase' of undefined

At /Users/lnewmarch/.atom/packages/atom-metaweather/lib/atom-metaweather-format.coffee:51

TypeError: Cannot read property 'toLowerCase' of undefined
    at Format._formatWind (/Users/lnewmarch/.atom/packages/atom-metaweather/lib/atom-metaweather-format.coffee:51:44)
    at Format._formatAll (/Users/lnewmarch/.atom/packages/atom-metaweather/lib/atom-metaweather-format.coffee:81:15)
    at Format.get (/Users/lnewmarch/.atom/packages/atom-metaweather/lib/atom-metaweather-format.coffee:91:12)
    at status-bar-metaweather.MetaweatherView._formatOutput (/Users/lnewmarch/.atom/packages/atom-metaweather/lib/atom-metaweather-view.coffee:106:9)
    at status-bar-metaweather.MetaweatherView._writeData (/Users/lnewmarch/.atom/packages/atom-metaweather/lib/atom-metaweather-view.coffee:110:29)

Update readme

Usage, developing instructions, screenshot, settings explanations, links to metaweather

Make it pretty

Add glyphs for reads, find strength bar for predictability, use weather glyphs for descriptive

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    šŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. šŸ“ŠšŸ“ˆšŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ā¤ļø Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.