Comments (5)
- Yes, you would use something like
atmos.calculate('rho', Tv=273., p=1e5)
. - If a quantity isn't handled, it's just a matter of adding it to the
quantities
dictionary and putting in some equations which calculate it in equations.py, - Yes, sort of. As far as I know, this package never had a user base (other than myself using it to convert between measures of humidity), so it fell by the wayside. I haven't thought much about it in a while. But if you need help with the package (like this issue), have a bug that needs fixing, or want to submit a PR, I'm here to handle that. I wouldn't implement new features, but I can clean up and fix any existing ones that need it, and I would consider PRs for new features.
from atmos.
You can find a complete list of handled quantities and assumptions in the docstring for atmos.calculate.
from atmos.
I see. Indeed using your suggestion I can calculate it via the ideal gas law. Apparently rho
stands for just for density, while I thought it stood for moist air density specifically.
How would you feel about separating rho
and rho_dry
(or rhod
), the first one being reserved only for moist air and the second one being reserved only for dry air? I could try to do that myself.
It's nice that you're still somewhat maintaining atmos
. I'll definitely try to incorporate your package in the future, then.
from atmos.
rho is the air density including moisture (I suppose that's what you mean by moist air density). If you'd like a dry density, you can do that by saying the air is dry :) Just set any moisture measure you want to zero (e.g. atmos.calculate('rho', T=273., p=1e5, rv=0.)
), or you can give the air temperature as the virtual temperature Tv instead of as T (when these are equal, there is no moisture). I don't think it makes sense to add a new quantity for this purpose. I think there's also an assumption like "Tv_equals_T" which can be used for this purpose.
from atmos.
How to do vertical integration, I found someone did
uq_int = atm.int_pres(uq, pmin=300e2)
But module 'atmos' has no attribute 'int_pres'
from atmos.
Related Issues (14)
- calculate should suggest variables it is missing when it can't calculate a quantity HOT 5
- CI issue HOT 4
- Cannot use atmos in anaconda3 running python 2.7 HOT 2
- atm-meta HOT 2
- Atmos.meta
- ”RB:bulk Richardson number (dimensionless)“ issue HOT 1
- installation issue in Jupyter notebook HOT 6
- Add tag to current version HOT 4
- make unit handling dependencies optional
- Calculate absolute humidity from temperature and relative humidity HOT 7
- Provide more precise definition of RH HOT 6
- Adiabatic lapse rate too low HOT 2
- no module named pip.req HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from atmos.