JuliaSpace / SatelliteToolbox.jl

A toolbox for satellite analysis written in julia language.
MIT License
249 stars 33 forks source link

Unable to change degree of gravity model #22

Closed Adriaenvc closed 5 years ago

Adriaenvc commented 5 years ago

Hi,

The n_max variable given to compute_g() doesn't get used, as in compute_dU() n_max gets overwritten by the '@unpack_GravityModel_Coefs gm_coefs' command. Therefore the maximum degree of the gravity model is always used.

ronisbr commented 5 years ago

Thanks! Good catch. I will fix this today. The easiest way will be to unpack only the requires variables so that n_max does not get overwritten.

ronisbr commented 5 years ago

Done! Thanks one more time. Btw, can you please test for me before I tag a new version?