projects/themis/ground/
thm_gmag_stackplot.pro
NAME: thm_gmag_stackplot.pro PURPOSE: To create 3 PNG files displaying the H,D and Z components of the magnetic field from multiple GBO stations out of GMAG data that is stored in CDF file. CALLING SEQUENCE: thm_gmag_stackplot, date, duration, stack_shift=stack_shift, no_expose=no_expose, make_png=make_png INPUTS: date: The start of the time interval to be plotted. (Format: 'YYYY-MM-DD/hh:mm:ss') duration: The length of the interval being plotted. (Floating point number of days -> 12hr=0.5), default=1 stack_shift: Space between stations on the y-axis (units are nanotesla), default=50 no_expose: Set this keyword to prevent the plot from being printed to the screen. make_png: Set this keyword to make the 3 PNG files. max_deviation: Large spikes in the data (probably gliches) can screw up the y-axis scales. This keyword allows you to set the maximum deviation the data can go from the median; points that exceed this value are omitted. The default value is plus or minus 1500 nT no_data_load: This keyword prevents new data from being loaded; the routine will try to plot existing data if it exists. hi_lat: Set this keyword to plot high latitude stations (above 49 degrees) lo_lat: Set this keyword to plot low latitude stations (below 49 below) OUTPUTS: None, but it creates 3 PNG files in the directory that IDL is being run. PROCEDURE: Read in data from CDF files; plot the data using tplot.pro routines; make PNG files with makegif.pro routine EXAMPLE: thm_gmag_stackplot, '2006-11-11',1,/make_png, max_deviation=1500, stack_shift=200. MODIFICATION HISTORY: Written by: Matt Davis October 23, 2006 Initial version Added dydt_spike_test, 7-apr-2008, jmm, jimm@ssl.berkeley.edu NOTE: This program is still in development. Features to be added: -generalizing the routine
Routines
top source thm_gmag_stackplot
thm_gmag_stackplot, date, duration, stack_shift=stack_shift, make_png=make_png, max_deviation=max_deviation, no_data_load=no_data_load, hi_lat=hi_lat, lo_lat=lo_lat, plot_dir=plot_dir, _extra=_extra
Parameters
- date
- duration
Keywords
- stack_shift
- make_png
- max_deviation
- no_data_load
- hi_lat
- lo_lat
- plot_dir
- _extra
File attributes
Modification date: | Thu Feb 13 16:42:58 2014 |
Lines: | 269 |