Giter Site home page Giter Site logo

constant p0 about aostools HOT 6 CLOSED

mjucker avatar mjucker commented on July 21, 2024
constant p0

from aostools.

Comments (6)

mjucker avatar mjucker commented on July 21, 2024

Hi Karen, thanks heaps for letting me know (and sorry for the slow response). This has been fixed with commit 2c5a178 . Hope aostools is helpful!

from aostools.

mjucker avatar mjucker commented on July 21, 2024

...actually, it should be in Pa, not hPa (note conversion to Pa of p). So this should really be fixed with commit 583cc5e. If you get to it, maybe you could test to confirm?

from aostools.

kls2177 avatar kls2177 commented on July 21, 2024

Hi Martin, thanks. It doesn't seem to be working for me right now after I upgraded aostools. I am getting the following error:
ImportError: cannot import name 'p0_Pa' from 'aostools.constants'.

When I look at the list of constants available with I import the constants package alone, I do not see p0_Pa, only p0.

Just another note, I think this fix also needs to apply to the XR version of the code as well.

from aostools.

mjucker avatar mjucker commented on July 21, 2024

Hi Karen. I can't reproduce the problem now. Are you sure you've got the latest commits? The p0_Pa variable is here

p0_Pa = 1e5 # [Pa]
. This is not needed in the Xr version as I don't convert pressure to Pa.

from aostools.

mjucker avatar mjucker commented on July 21, 2024

Hi Karen, does this work for you now?

from aostools.

mjucker avatar mjucker commented on July 21, 2024

closing this. feel free to re-open if not resolved.

from aostools.

Related Issues (4)

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.