Giter VIP home page Giter VIP logo

Comments (4)

aeharding avatar aeharding commented on July 3, 2024

This makes complete sense. I don't think the library should convert units (except to parse human readable to machine readable)... for example, 1 1/4 to 1.25.

from metar-taf-parser.

drmrbrewer avatar drmrbrewer commented on July 3, 2024

Thanks for considering this. It would also seem to make sense to present temperature and dewpoint in a consistent manner to others, with value and unit?

image

This would also make it easier to implement this suggestion, since you could then just sneak in a raw value too.

from metar-taf-parser.

aeharding avatar aeharding commented on July 3, 2024

Changing temperature/dewPoint to objects to accomodate raw is a possibility, although providing unit is unnecessary for those because temps are always degC afaik. Ideally I'd only provide unit if the unit of measurement is dynamic.

from metar-taf-parser.

drmrbrewer avatar drmrbrewer commented on July 3, 2024

although providing unit is unnecessary for those because temps are always degC afaik.

I think that may be the case, though I don't know the METAR rules in sufficient detail to know if there might be a modifier (like there is for altitude: A or Q) for those locations that more routinely deal in Fahrenheit. Probably not, but including the unit anyway would be a belt and braces approach.

from metar-taf-parser.

Related Issues (20)

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.