Rank: 360 based on 294 downloads (last 30 days) and 7 files submitted
photo

Drew Compston

E-mail
Company/University
Stanford University
Lat/Long
37.42940139770508, -122.1732025146484

Personal Profile:

 

Watch this Author's files

 

Files Posted by Drew Compston View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
29 Oct 2014 Screenshot International Geomagnetic Reference Field (IGRF) Model Compute the Earth's magnetic field at points in space according to the IGRF model. Author: Drew Compston earths magnetic field, igrf, international geomagn..., geophysics, physics 82 13
  • 4.75
4.8 | 8 ratings
06 Oct 2014 Screenshot International Reference Ionosphere (IRI) Model Get the International Reference Ionosphere (IRI) output parameters. Author: Drew Compston iri, international referen..., geophysics, physics 74 14
  • 4.6
4.6 | 6 ratings
15 Feb 2013 Screenshot MSIS-E-90 NRL MSIS-E-90 atmosphere model. Author: Drew Compston msis, atmosphere, exosphere, orbit decay, atmospheric drag, aerospace 19 0
02 Nov 2012 Two's Complement Binary Strings Convert between binary fixed point two's complement strings and decimal numbers. Author: Drew Compston binary, twos complement, fixed point 65 0
06 Sep 2012 Fresnel Integral Compute Fresnel integral. Author: Drew Compston mathematics, physics, fresnel integral 40 0
Comments and Ratings by Drew Compston View all
Updated File Comments Rating
09 Oct 2014 International Geomagnetic Reference Field (IGRF) Model Compute the Earth's magnetic field at points in space according to the IGRF model. Author: Drew Compston

You should be able to get IGRF values at the website listed in the description above: http://ccmc.gsfc.nasa.gov/modelweb/models/igrf_vitmo.php

06 Oct 2014 International Geomagnetic Reference Field (IGRF) Model Compute the Earth's magnetic field at points in space according to the IGRF model. Author: Drew Compston

I got the formulas for P(n,m) and dP(n,m) by looking at the direct Fortran translation of the IGRF done by Charles Rino (#28874, listed as inspiration for this file) and figuring out what that program was doing. The formulas in the paper here (http://hanspeterschaub.info/Papers/UnderGradStudents/MagneticField.pdf) are different, and I am not sure why.

03 Apr 2014 International Reference Ionosphere (IRI) Model Get the International Reference Ionosphere (IRI) output parameters. Author: Drew Compston

Guanyi, The IRI 2007 model online interface I have been using for this function does not allow for inputting the 10.7 indices (just Rz12 and IG12). But it looks like they have an updated model (IRI 2012) that does incorporate that. I'll provide an updated version soon that utilizes the new model.

03 Apr 2014 International Geomagnetic Reference Field (IGRF) Model Compute the Earth's magnetic field at points in space according to the IGRF model. Author: Drew Compston

I do have an IRI and MSIS code that works by querying an online interface. So it's a lot slower than this but gets the job done. I don't foresee converting the FORTRAN source code for models like the IRI or Tsyganenko any time soon (if ever). The IGRF model is much simpler than those as it is really just one (vector) equation.

01 Apr 2013 International Reference Ionosphere (IRI) Model Get the International Reference Ionosphere (IRI) output parameters. Author: Drew Compston

Derek, there were some problems in some of the time sweeps (unrelated to number of points) which I just fixed and uploaded. Longitude sweeps can also be tricky: First of all, they only work for altitude = 100, and something like [-2 -1 0 1 2] will not work because the negative numbers wrap around to near 360, resulting in a big gap. Please feel free to post any other specific examples where maybe it should calculate a linear sweep but doesn't.

Comments and Ratings on Drew Compston's Files View all
Updated File Comment by Comments Rating
02 Dec 2014 International Geomagnetic Reference Field (IGRF) Model Compute the Earth's magnetic field at points in space according to the IGRF model. Author: Drew Compston John

Works pretty well so far.

09 Oct 2014 International Geomagnetic Reference Field (IGRF) Model Compute the Earth's magnetic field at points in space according to the IGRF model. Author: Drew Compston Drew Compston

You should be able to get IGRF values at the website listed in the description above: http://ccmc.gsfc.nasa.gov/modelweb/models/igrf_vitmo.php

06 Oct 2014 International Geomagnetic Reference Field (IGRF) Model Compute the Earth's magnetic field at points in space according to the IGRF model. Author: Drew Compston XAXRXTX

thanks for your response, in my case I used the formulas figured in wertz text book and they are the same as those figured in the paper that you indicated, and also I got the same results as yours.

now, if it's possible, could you show me how can I compare this model with the online model ?

thanks for your help and your time

06 Oct 2014 International Geomagnetic Reference Field (IGRF) Model Compute the Earth's magnetic field at points in space according to the IGRF model. Author: Drew Compston Drew Compston

I got the formulas for P(n,m) and dP(n,m) by looking at the direct Fortran translation of the IGRF done by Charles Rino (#28874, listed as inspiration for this file) and figuring out what that program was doing. The formulas in the paper here (http://hanspeterschaub.info/Papers/UnderGradStudents/MagneticField.pdf) are different, and I am not sure why.

04 Oct 2014 International Geomagnetic Reference Field (IGRF) Model Compute the Earth's magnetic field at points in space according to the IGRF model. Author: Drew Compston XAXRXTX

Hi Drew

I have a question about Pn,m and dPn,m ,
where you get this formula to calculate them.

thanks in advance

Contact us