Rank: 442 based on 299 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:
Professional Interests:

 

Watch this Author's files

 

Files Posted by Drew View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
01 Apr 2013 Screenshot International Reference Ionosphere (IRI) Model Get the International Reference Ionosphere (IRI) output parameters. Author: Drew Compston iri, international referen..., geophysics, physics 71 10
  • 5.0
5.0 | 3 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 29 0
02 Nov 2012 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 igrf, international geomagn..., earths magnetic field, geophysics, physics 98 7
  • 4.66667
4.7 | 6 ratings
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 44 0
06 Sep 2012 Fresnel Integral Compute Fresnel integral. Author: Drew Compston mathematics, physics, fresnel integral 36 0
Comments and Ratings by Drew View all
Updated File Comments Rating
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.

17 Nov 2012 freezeColors / unfreezeColors Use multiple colormaps per figure! Version 2, now works for many types of objects, not only images. Author: John Iversen

This function worked well for me using R2012a and imagesc and surf. Haven't tried for other types of plots like scatter (in one of the comments).

24 Aug 2012 NEARESTPOINT (sep 2012) NEARESTPOINT - find the nearest value in another vector Author: Jos (10584)

I love this function and use it all the time. I did find two, possibly degenerate cases:

1. nearestpoint(1, []) errors at line 91.
2. nearestpoint([1 2], NaN) errors at line 116. This I fixed by changing that line to:
D(q) = abs(dx - reshape(y(IND(q)), size(dx))) ;

Comments and Ratings on Drew's Files View all
Updated File Comment by Comments Rating
03 Apr 2014 International Reference Ionosphere (IRI) Model Get the International Reference Ionosphere (IRI) output parameters. Author: Drew Compston Compston, Drew

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 Compston, Drew

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.

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 XAXRXTX

hi
this is a very helpfull work for me,
do you have another mathematical model describing the atmospheric perturbations like MSIS or Jacchia models

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

I tried the iritest. Many thanks for such a powerful programs. However, when I tried to input F10.7 in the program, I found that it is in the output. Can I use the observed 10.7 index as an input? How should I modified the program? Thanks!

12 Mar 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 cao

Contact us