is it possible to change the code such that the "point meta min" and "point meta max" values are always saved so in case i choose for adding a colorbar later on it will show the right scale?

This code is not entirely correct. On error, among others, is that the author misinterpreted Equation (39) of the original published document on the Standard Atmosphere of 1976. This involves the calculation of the Hydrogen number density. The author oversimplified the equation. Also, the temperature gradient in Equation (28) involves a constant "a" which the author had the wrong sign on.

Comment only

02 Sep 2009

Complete 1976 Standard Atmosphere
Calculates Temperature, Pressure, Density, Speed of Sound, Gravity, Dynamic/Kinematic Viscosity, k,

Do you have an alternate source or correction for your value of Helium number density @86km? The value in Table 9 looks like 10^10 to me, but you have it in "atmo_compo.m" as 10^14.
Nice submission otherwise, there's a lot you could do to vectorize the computations though.

Comment only

23 Jun 2009

Complete 1976 Standard Atmosphere
Calculates Temperature, Pressure, Density, Speed of Sound, Gravity, Dynamic/Kinematic Viscosity, k,

Complete 1976 Standard Atmosphere
Calculates Temperature, Pressure, Density, Speed of Sound, Gravity, Dynamic/Kinematic Viscosity, k,

Yifan Yang

Good simple program. Found an error with output pressure in English units though. The conversion factor (unit_c(5)) used on line 162 in atmo.m should be 3.3852e3 instead of 0.0001450377.

Comment only