International Reference Ionosphere (IRI) Model
by Drew Compston
31 Jan 2012
(Updated 01 Apr 2013)
Get the International Reference Ionosphere (IRI) output parameters.
|
Watch this File
|
| File Information |
| Description |
Computes the International Reference Ionosphere (IRI), which is an internationally recognized model for various ionospheric properties. I would call it more of a hack than a true IRI implementation as it works by querying the online interface at http://omniweb.gsfc.nasa.gov/vitmo/iri_vitmo.html using the curl command on an operating system terminal. Because of this, it requires an internet connection and is pretty slow, but if high speed is not an important issue for you, this can be an easy way to get IRI data into MATLAB.
An example script for how to use the function is given as iritest.m. This is also the script that generated the attached screenshot. It took a little less than 15 minutes to run on my computer.
As stated, the query is made using the command curl in an operating system terminal. This program is built-in to Unix (and Mac I believe) but not Windows. Windows users can download cURL from http://curl.haxx.se/download.html. You'll have to download the appropriate executable for your operating system, and I recommend putting it in the same directory as iri.m. |
| Acknowledgements |
This file inspired
Msis E 90.
|
| Required Products |
MATLAB
|
| MATLAB release |
MATLAB 7.5 (R2007b)
|
| Other requirements |
curl.exe (can be downloaded at http://curl.haxx.se/download.html if not included in your operating system). |
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Updates |
| 02 Feb 2012 |
Fixed typo in title/description. |
| 13 Feb 2012 |
Fixed some more typos in the comments of the files and made the changes suggested in Allen Kummer's comments. |
| 13 Feb 2012 |
Fixed a problem where the online interface didn't do a full sweep for fractional steps and added an error check on reading temp.html from the interface. |
| 22 May 2012 |
Fixed geocentric coordinate conversion bug. |
| 07 Aug 2012 |
Updated initial comment block, added an error check on calling curl, fixed/updated some of the other error checks, and added capability to run example script without Mapping Toolbox. |
| 11 Oct 2012 |
Fixed bug pointed out by Brandon (old line 459 actually I believe, not 496) and also fixed an odd issue with the online interface output for longitude sweeps and non-default altitude (first noticed by John H.). |
| 18 Jan 2013 |
Fixed problem where online interface would hang without returning anything for some inputs (including in iritest.m). |
| 01 Apr 2013 |
Fixed some problems in sweeping day of year/month/etc. |
|
Contact us