GithubHelp home page GithubHelp logo

Comments (4)

devdupont avatar devdupont commented on July 29, 2024

I assume this is also true for all double-digit numerator values like "13/4SM" -> 1.75 ?

Is this also applied to other fields or just visibility?

from avwx-api.

eddiecraig avatar eddiecraig commented on July 29, 2024

Yes. My understanding is that a statue mile visibility group will only ever have a single digit numerator. According the the NOAA definition a correctly formed visibility element in a North American TAF should have a space between the whole miles and the fraction but I guess that’s not always followed.

I believe only visibility has these fractions. The only other slash characters are in date/time groups and wind shear groups but they are not used to denote fractions.

from avwx-api.

devdupont avatar devdupont commented on July 29, 2024

Ok. That should be an easy fix. It will have to be stuff behind an avwx-engine feature release, but I’ll comment back when it’s deployed.

from avwx-api.

devdupont avatar devdupont commented on July 29, 2024

Sorry for taking so long. The root issue here has been fixed and should be available on the server now.

>>> make_number('11/4')
Fraction(repr='5/4', value=1.25, spoken='one and one quarter', numerator=5, denominator=4, normalized='1 1/4')

from avwx-api.

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.