Reading in Atmospheric Densities

Hi all,

I’ve produced a script that calculates atmospheric densities and returns them in a 3D array with axes: Altitude, Latitude and Longitude and I’d like to input these densities into Orekit.

I’ve used the solar indices values to inform the JB2008 model before, however I’m not sure what interface to use when directly using pre-calculated atmospheric densities in kg/m3.

Does this functionality already exist or should I extend an existing class?

Thanks for all your great work, really loved the Orekit day!


Hi Tommy,
The good choice for you (and the only one in fact) would be to implement the interface, from which you can provide the density at a given date and for a given position. Don’t bother about the velocity, there is a default implementation in the interface that is used by all the other models.

1 Like

Thanks for the suggestions above and I am wondering if you have find a way to solve it? I have the same trouble in putting the pre-calculated density data into the model, but cannot find a proper way to insert (no matter what density model is). Grateful for any possible reply!