GithubHelp home page GithubHelp logo

Comments (4)

ronisbr avatar ronisbr commented on May 29, 2024

Excellent idea! This should be easy. In fact, I have one proposal. See if this is good:

  1. parse_gfc will create a new structure called GFC probably with the header information stored in Dict.
  2. Then we need another function to convert this raw data into gravitational coefficients.
  3. The compute_u and compute_g function will use the coefficients, leading to a fast algorithm.

One question (the website is still down): the algorithm used to compute the gravitational force in other celestial bodies is precisely the same as the one we have now right? In this case, we can have a very general function to compute this.

from satellitetoolbox.jl.

helgee avatar helgee commented on May 29, 2024

One question (the website is still down): the algorithm used to compute the gravitational force in other celestial bodies is precisely the same as the one we have now right? In this case, we can have a very general function to compute this.

Yes 👍

When the website is back I will check what kind of differences can be expected.

from satellitetoolbox.jl.

ronisbr avatar ronisbr commented on May 29, 2024

Hi @helgee !

I found this specification for the GFC files:

http://icgem.gfz-potsdam.de/ICGEM-Format-2011.pdf

I will try to implement this. It should be a little difficult because it is also used for models that consider tides. Hence, if I do this, we will have a very generic system to compute gravitational forces!

from satellitetoolbox.jl.

ronisbr avatar ronisbr commented on May 29, 2024

Hi @helgee

This problem should be fixed in master now. You can parse your file (with FORTRAN numbers, and gravity_constant header instead of earth_gravity_constant) using:

G = create_gravity_models_coefs(parse_icgem(filename))

Then, you can use the coefficients in G to compute the gravity with the function compute_g.

Please, let me know if this works!

from satellitetoolbox.jl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.