I'm wondering if there's a C-based (or similar language) program that will output the gravitational strength given input geodetic LEO coordinates (which I can convert to ECI etc. if needed). Ideally this would utilise the EGM2008 coefficients.
In my research I've looked at both Project Pluto (https://www.projectpluto.com/jpl_eph.htm) and GeographicLib (https://osdn.net/projects/sfnet_geographiclib/), however I am working on a CubeSat with a small amount of memory to work with so I need to downsize my libraries as much as possible.
If a gravitational strength-only program isn't out there, is my best course of action to pick and choose what I need out of something like GeographicLib?
Thanks