GithubHelp home page GithubHelp logo

Comments (1)

ronisbr avatar ronisbr commented on June 11, 2024

The second parameter of jb2008 is the latitude and the third is the longitude. You can see the documentation by typing: ?jb2008:

help?> jb2008
search: jb2008 JB2008_Output

  function jb2008(JD::Number, glat::Number, glon::Number, h::Number)
  function jb2008(JD::Number, glat::Number, glon::Number, h::Number, F10::Number, F10ₐ::Number, S10::Number, S10ₐ::Number, M10::Number, M10ₐ::Number, Y10::Number, Y10ₐ::Number, DstΔTc::Number)

  Compute the atmospheric density using the Jacchia-Bowman 2008 (JB2008) model.

  If the space indices are not provided (first call), then they will be obtained from the online database. In this case,
  the function init_space_indices() must be called first and the function will throw an exception if the selected JD is
  outside of the available data.

  This model is a product of the Space Environment Technologies, more information can be seen in the websites:

  http://sol.spacenvironment.net/jb2006/

  http://sol.spacenvironment.net/jb2008/

  Args
  ≡≡≡≡≡≡

    •    JD: Julian day.

    •    glat: Geocentric latitude [rad].

    •    glon: Geocentric longitude [rad].

    •    h: Altitude [m].

    •    F10: 10.7-cm solar flux [10⁻²² W/(M² Hz)] (Tabular time 1 day earlier).

    •    F10ₐ: 10.7-cm averaged solar flux, 81-day centered on input time (Tabular time 1 day earlier).

    •    S10: EUV index (26-34 nm) scaled to F10.7 (Tabular time 1 day earlier).

    •    S10ₐ: EUV 81-day averaged centered index (Tabular time 1 day earlier).

    •    M10: MG2 index scaled to F10.7 (Tabular time 2 days earlier).

    •    M10ₐ: MG2 81-day averaged centered index (Tabular time 2 days earlier).

    •    Y10: Solar X-ray & Lya index scaled to F10.7 (Tabular time 5 days earlier).

    •    Y10ₐ: Solar X-ray & Lya 81-day averaged centered index (Tabular time 5 days earlier).

    •    DstΔTc: Temperature variation related to the Dst.

  Returns
  ≡≡≡≡≡≡≡≡≡

  An instance of the structure JB2008_Output with the computed values.

Changing the parameters we have:

julia> jb2008(DatetoJD(2010, 5, 1, 0, 44, 18), deg2rad(83.40), deg2rad(355.94), 292000.00, 80.80,76.40,78.70,73.10,79.00,75.90,86.80,79.60,31.00)
JB2008_Output{Float64}
  nN2: Float64 4.999327095536922e13
  nO2: Float64 2.581844106708866e12
  nO: Float64 3.982511703541514e14
  nAr: Float64 8.795664543367258e9
  nHe: Float64 6.52909052144658e12
  nH: Float64 1.9751806978697314e11
  rho: Float64 1.3086707143236572e-11
  T_exo: Float64 784.9497202580523
  Tz: Float64 770.6360757426783

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.