ghorn / atmosphere

1976 US Standard Atmosphere in Haskell
5 stars 2 forks source link

Psychrometric calculations #5

Open dmcclean opened 10 years ago

dmcclean commented 10 years ago

AIUI, the ISA is completely dry, so depending on your vision it might not strictly belong in this package.

I am working on functions from (temperature, relative humidity) -> dew point and (temperature, dew point) -> relative humidity because the sensors I have access to measure relative humidity but the weather forecasts I have access to forecast dew point.

Do you want the focus to be "useful things related to the atmosphere" or strictly the ISA?

ghorn commented 10 years ago

You are talking about density altitude and dew point - are you a pilot/aerospace person?

I would happily add useful things to this package, as long as the documentation makes a clear distinction between the ISA and the extras. I would like the extras to be reasonably dependable, with something like a reference to a paper or textbook in the function documentation.

dmcclean commented 10 years ago

Yes.

I'm working on https://github.com/dmcclean/bird-brain, a Haskell autopilot for flight simulators and maybe later for consumer grade drones. I'm motivated by my almost complete inability to figure out how ArduPilot, one of the leading open source autopilots for consumer grade drones, works because it is so intensely stateful. I'm also motivated by wanting a much richer mission description language than the one they support, the direct creation of which in the same style would require way more statefulness.

It's far from done. I'm a little further along than it looks just from Github because I am converting a C#-in-an-FRP-style prototype that I did last year, so I have lots of notes and reference implementations for the parts I haven't translated to Haskell yet.

I was thinking to use this application note which references a 1990 paper in a German meteorology journal to which I do not have access. I would rather have a primary source, even better one from ISO, NOAA, ICAO, or FAA, but I can't seem to dig one up unless you count this untitled document. I found a British Standard that is pay-walled.

dmcclean commented 10 years ago

Maybe this 1970 NIST document?

dmcclean commented 10 years ago

Even better might be appendix A of this 2008 document.