./
read_omniweb.pro
topread_omniweb
data io
result = read_omniweb(data, fmt [, JD=JD])
read an omniweb data file into an idl structre http://omniweb.gsfc.nasa.gov/form/dx1.html
tested in general so far, breakable I am sure
parse the fmt file into the structre definition then read in the data file
Return value
structre array with data from omniweb file
Parameters
- data in required
name of the omniweb data file
- fmt in required
format file from omniweb
Keywords
- JD in optional
compute and add julian date to the structure
Examples
see: http://people.bu.edu/balarsen/Home/IDL/Entries/2007/12/19_Read_an_Omniweb_file.html
IDL> data = 'omni2_daily_19015.lst'
IDL> fmt = 'omni2_daily_19015.fmt'
IDL> str = read_omniweb(data, fmt)
IDL> print, tag_names(str)
YEAR DOY HOUR ID_FOR_IMF_SPACECRAFT ID_FOR_SW_PLASMA_SPACECRAFT
FIELD_MAGNITUDE_AVERAGE_NT BZ_NT_GSM RMS_SD_MAGNITUDE_NT SW_PLASMA_TEMPERATURE_K SW_PROTON_DENSITY_NCM3 SW_PLASMA_SPEED_KMS FLOW_PRESSURE_NPA ELECTRIC_FIELD_MVM
Author information
- History:
Wed Dec 19 18:04:12 2007, Brian Larsen written and tested
Statistics
| Lines: | 59 |
| McCabe complexity: |
File attributes
| Modifcation date: | Tue Sep 9 14:12:32 2008 |
| Lines: | 117 |
![[attach.png]](idldoc-resources/attach.png)