./
cdf_vars.pro
topcdf_vars
cdf
result = cdf_vars( [file])
return the names of the variables in a cdf file
Return value
string array of the names of the variables
Parameters
- file in optional
cdf file to open, otherwise dialog_pickfile() is called
Examples
IDL> a=cdf_vars()
IDL> print, a
Epoch sampex_time iso_time orbit mdf_vers bl_igrf_vers mag_eph_vers geo_POS geo_alt gei_pos gei_vel dir_cos exo_temp drag geomag_index ecd_pos ecd_lt L_shell
Bfield_mag equat_lt invlat pitch losscone1 losscone2 b_vect_gei b_vect_geogr dipole_mom dipole_displace declination dip mag_rad mag_lat mirror_point mag_equator
N_mirror_params S_mirror_params cutoff saa_flag zenith_z azimuth_z ctrl_mode sun_b_angle lica_flag HILT_flag MAST_flag PET_flag zGT2_DIF_FLX He_dif_flux
Prot_Dif_Flux Elect_Dif_Flx Int_Flux zGT2_FLX_SIG He_flx_sigma Prot_Flux_Sigma Elect_Flx_Sigma Int_Flux_sigma zGT2_Energy zGT2_Halfwide zGT2_Channels He_Energy
He_Halfwide He_Channels Proton_Energy Proton_Halfwide Proton_Channels Ele_Energy Ele_Halfwide Ele_Channels label_geogrpos label_gei label_body label_vgei
label_dircos label_ecd label_bgei label_bgeogr label_dipole label_displace label_mirror label_4element unit_kdd unit_Gkdd label_LICAflg label_HILTflg
label_MASTflg label_PETflg
Author information
- History:
Tue Feb 5 15:36:04 2008, Brian Larsen added call to cdf_exists() to check Fri Dec 7 10:47:00 2007, Brian Larsen written and tested
Statistics
| Lines: | 21 |
| McCabe complexity: |
File attributes
| Modifcation date: | Tue Sep 9 14:10:34 2008 |
| Lines: | 68 |
![[attach.png]](idldoc-resources/attach.png)