THEMIS Science SoftwareSoftware − 1GEM – Snowmass, CO – June 2015 TDAS – v9.00 GEM – Snowmass, Co June 2015.

Slides:



Advertisements
Similar presentations
Rosetta Magnetic Field PDS Review B. J. Anderson.
Advertisements

Toward operational use of radiation belt models D. Heynderickx BIRA, Ringlaan 3, B-1180 Brussel, Belgium.
Microsoft Excel 2003 Illustrated Complete Excel Files and Incorporating Web Information Sharing.
THEMIS Science Software Training1July 2007 The THEMIS Graphical User Interface J. McTiernan 23-Jul-2007
Installing and Running CISM _ DX and Overview of OpenDX The CISM Knowledge Transfer Short Course AFWA Omaha, November 2-3, 2005 Bob Weigel The CISM Knowledge.
THEMIS Science Software TrainingSoftware − 1Colorado, July 27, 2007 Science Software – v2.00 Training UCB, UCLA and Colorado July 23 – July 27, 2007.
THEMIS Science Software and Products Slide − 1SWT - UNH, September 22, 2008 THEMIS Software & Products Agenda Products L1 & L2 – Jim L & Jim M TDAS Plotting.
Instrument TrainingIDPU - 1 UCB, Dec 6, 2006 THEMIS INSTRUMENT TRAINING IDPU.
THEMIS Science Software TrainingSoftware − 1UCLA, July 25, 2007 Science Software – v2.00 Training UCB, UCLA and Colorado July 23 – July 27, 2007.
C HAPTER 7 Microsoft Windows 7. Part1: Getting Started with Windows7 Fundamentals 7.1 What is Windows 7? It is the latest version of a series of Operating.
Installing Windows Vista Lesson 2. Skills Matrix Technology SkillObjective DomainObjective # Performing a Clean Installation Set up Windows Vista as the.
Linux Operations and Administration
ROOT An object oriented HEP analysis framework.. Computing in Physics Physics = experimental science =>Experiments (e.g. at CERN) Planning phase Physics.
THEMIS Science Software TrainingSoftware − 1ESS 261: Spring 2009 Science Software – v5.00 Training ESS261, Spring 2009.
Time Table exchange QSAS / CL / CAA / AMDA CESR, 25/26 feb
THEMIS Science Software TrainingSoftware − 1San Francisco, December 9, 2007 Science Software – v3.02 Training GEM Mini-Workshop December 9, 2007.
ESS265TDAS Software − 1Apr 16, 2008 THEMIS Science Software – v3.02, or bleeding edge ESS 265 Class Apr 16, 2008.
Ircon ® ScanIR ® 3 Linescanner How to work with Snapshots? Confidential Rev. A 07/2013.
Data Management Subsystem: Data Processing, Calibration and Archive Systems for JWST with implications for HST Gretchen Greene & Perry Greenfield.
THEMIS – ERG Presentation March 18-19, 2010 THEMIS - ERG Presentation TDAS Usage of the CDF File Format Jim Lewis UCB Space Sciences Lab.
Prezentacja autorstwa:
THEMIS/GBO CDR Peer Review 1 Univ.of Calgary, Apr , 2004 Ground Based Observatories (GBO) CDR Peer Review S. B. Mende University of California -
Objectives Understand what MATLAB is and why it is widely used in engineering and science Start the MATLAB program and solve simple problems in the command.
MASSACHUSETTS INSTITUTE OF TECHNOLOGY NASA GODDARD SPACE FLIGHT CENTER ORBITAL SCIENCES CORPORATION NASA AMES RESEARCH CENTER SPACE TELESCOPE SCIENCE INSTITUTE.
SPEDASSlide − 1GEM June 19, 2014 SPEDAS: A framework for supporting multi- mission data analysis and visualization.
SPEDAS SoftwareSlide − 1Snowmass, CO – June 2015 SPEDAS Developers Workshop GEM – Snowmass, CO June 17, 2015.
THEMIS Science Software TrainingSoftware − 1GEM – Santa Fe, NM Jun 30, 2011 Science Software – v6.0 Training GEM – Santa Fe, NM June, 2011.
Aurora, Substorms, and THEMIS D. G. Sibeck NASA/GSFC THEMIS Project Scientist.
THEMIS Science Software TrainingSoftware − 1GEM – San Francisco,CA Dec, 2013 Science Software – v8.00 Training GEM – San Francisco, CA December 2013.
THEMIS Science Software TrainingSoftware − 1GEM – Snowmass,CO Jun, 2013 Science Software – v8.00 Training GEM – Snowmass, CO June 2013.
PaPCo, Das2, and Autoplot Jeremy Faden, University of Iowa.
THEMIS Workshop 1 UC Berkeley, 18 December 2004 Data Products and Access Tim Quinn UC Berkeley.
THEMIS PROJECT NAS UCB, June 2003 Science Operations Tim Quinn 4 June 2003.
THEMIS IDPU FSW 11/29/ UCB THEMIS IDPU FSW V4 Mission Profile Tests Peter Harvey Michael Ludlam.
EOVSA Data and Database System J. McTiernan EOVSA CoDR 25-April-2011.
PLACING AND LINKING GRAPHICS
EGU General Assembly 2006, 2-7 April, 2006, Wien ST6 Multi-point measurements of solar-terrestrial plasma: results and future perspectives Scientific objectives.
THEMIS Science Software TrainingSoftware − 1GEM – San Francisco, CA Dec 12, 2010 Science Software – v5.21 Training GEM – San Francisco, CA December, 2010.
EOVSA Pipeline Processing System J. McTiernan EOVSA Prototype Review 24-Sep-2012.
EFW SOC DATA John Wygant SWG June Redondo Beach.
THEMIS-ERG-Orbitals1 UCLA, March 18-19, 2010 THEMIS in the RBSP, ERG, Orbitals era Vassilis Angelopoulos UCLA ESS/IGPP & SSL/UCB.
Pre-THEMIS-launch Science MeetingSoftware- 1 Cape Canaveral, Feb 13, 2007 Pre-THEMIS-Launch SCIENCE MEETING Data Analysis Software Tools Bromund GST Inc.
March 2004 At A Glance ITPS is a flexible and complete trending and plotting solution which provides user access to an entire mission full-resolution spacecraft.
THEMIS SOCScience Data Products − 1March 29, 2006 Science Data Products Timothy Quinn.
SPDF Science Advisory Group - September 29-30, 2005 Page 12/24/2016 9:09:48 PM Services of the Space Physics Data Facility (SPDF) / Sun-Earth Connection.
EOVSA Data and Database System J. McTiernan EOVSA Technical DesignMeeting 7-Nov-2011.
SPEDASSlide − 1GEM Dec 8,, 2013 SPEDAS: A framework for supporting multi- mission data analysis and visualization.
June 27-29, DC2 Software Workshop - 1 Tom Stephens GSSC Database Programmer GSSC Data Servers for DC2.
THEMIS Instrument PDR 1 UCB, October 15-16, 2003 ESA & SST (ETC) Interface Board Preliminary Design Review Robert Abiad University of California - Berkeley.
THEMIS CDR 1 UCB, June 16, 2004 ESA & SST (ETC) Interface Board Critical Design Review Robert Abiad University of California - Berkeley.
THEMIS Instrument CDR 1 UCB, April 20, 2004 ESA & SST (ETC) Interface Board Critical Design Review Robert Abiad University of California - Berkeley.
1 Berger Jean-Baptiste
THEMIS Science Software TrainingSoftware − 1GEM – Snowmass, CO Jun 23, 2010 Science Software – v5.21 Training GEM – Snowmass, CO June, 2010.
THEMIS Science SoftwareSoftware − 1GEM – Portsmouth, VA – June 2014 TDAS – v9.00 GEM – Portsmouth, VA June 2014.
15th CAA Cross-calibration workshop CIS archiving activities report University College of London 2012, April
SPEDAS SoftwareSlide − 1San Francisco, CA – December 2015 SPEDAS Developers Workshop GEM – San Francisco, CA December 2015.
8th Cross-calibration Workshop CIS data delivery report Kinsale – October 2008.
Double Star Active Archive - DWP/STAFF 1 Double Star Active Archive STAFF/DWP Keith Yearby and Hugo Alleyne University of Sheffield Nicole Cornilleau-Wehrlin.
THEMIS SOCScience Data Products − 1December 10, 2005 Data Products Timothy Quinn.
SPEDAS Developers Workshop
GOES Data Status Mutual Benefits of NASA THEMIS and NOAA GOES
Science Software – v2.01 Training
16th CAA Cross-calibration Workshop
Science Software – v5.00 Training
Databases for THEMIS and GEOTAIL Magnetopause Crossings at GSFC
bitcurator-access-webtools Quick Start Guide
MMS plug-ins for SPEDAS
Using MMS Data with SPEDAS
Homework #7, Due June 3rd Find a THEMIS interval of interest to your research. Read the thm_sst_cleanup.pro and crib_sst_contamination.pro routines. Plot.
Presentation transcript:

THEMIS Science SoftwareSoftware − 1GEM – Snowmass, CO – June 2015 TDAS – v9.00 GEM – Snowmass, Co June 2015

THEMIS Science SoftwareSoftware − 2GEM – Snowmass, CO – June 2015 What's new in TDAS TDAS version 9.0 released. SST L2 CDF(with moments!) released. ESA L2 Data quality flags available. Combined particle moments + spectrograms tool released. In public testing. FGM L2 Data quality flags under testing for release. New GMAGS: STEP network. Penguin pg1-pg4 Project directories reorganized for SPEDAS integration. ERG, Iugonet, Akebono project github build integration to streamline plugin updates. Many new GUI features.(Covered in SPEDAS presentation)

THEMIS Science SoftwareSoftware − 3GEM – Snowmass, CO – June 2015 THEMIS Data Analysis Software OrganizationContributors UC BerkeleyD Larson, H Frey, J Bonnell, J McFadden, A Keiling J McTiernan, B Sadeghi, N Hatzigeorgiu, J Lewis UCLAV Angelopoulos, P Cruce, C Russell, H Leinweber, A Flores, K Ramer, B Kerr, M Feuerstein, L Philpott, E Grimes SP SystemsK Bromund APLH Korth NASA/GSFCV Kondratovich MPE E Georgescu TUBSU Auster CETP P Robert, O LeContel Calgary B Jackel, E Donovan Acknowledgements

THEMIS Science SoftwareSoftware − 4 GEM – Snowmass, CO – June 2015 Space Based Instruments FIELDS INSTRUMENTS: EFI - Electric Field Instruments FGM - Flux Gate Magnetometer SCM - Search Coil Magnetometers PARTICLE INSTRUMENTS: ESA - Electrostatic Analyzer SST - Solid State Telescope

THEMIS Science SoftwareSoftware − 5 GEM – Snowmass, CO – June 2015 Ground Based/Processed Data GROUND BASED: ASI – All-Sky Imager Array GMAG – Magnetometer Array PROCESSED DATA: FBK – Filter Bank FIT – Onboard Spin-Fit FFT – Fast Fourier Transform MOM – Onboard Moments STATE – Spacecraft state vectors

THEMIS Science SoftwareSoftware − 6 GEM – Snowmass, CO – June 2015 Data Definitions The software operates on Level 1 and Level 2 data. Data Level Definitions: Level 0 Data – –Raw files (*.pkt) one per APID. –Only used for loading ESA data. Level 1 Data - –CDF (Common Data Files) files (*.cdf) –Files contain raw, un-calibrated data. i.e. counts, DAC units. –Requires TDAS software to interpret. Calibration is done by default when Level 1 data is input. Level 2 Data - –CDF files – contain physical quantities – TDAS software is not needed for interpretation. –Files available for ESA, FBK, FIT, FFT, FGM, MOM, SST, EFI – can be downloaded from SPDF.

THEMIS Science SoftwareSoftware − 7GEM – Snowmass, CO – June 2015 Status Report V9.00 Science Software/Data Status Report STATE L1 STATE available since launch, V03 STATE (improved attitude and spin phase corrections) FGM L1, L2 data available since early March 2007 FIT / FFT / FBK - L1, L2 data available since early March 2007 SCM L1 data available since early March 2007 L2 frequency spectrograms (FBK) available now L2 SCM available since May 2010 EFI All L1 data available from TH-C since May 2007, TH-D,E since Jun 7 L2 EFI available ESA No L1 data, only L0 data – however, read-in is transparent to user All data available since ESA turn-on, i.e., mid-March L2 omnidirectional energy spectrograms, ground moments available now. MOM On-board moments available from August 2007 on. L2 moments (from ESA only) available. SST L1 data available since SST turn-on, mid-March L2 omnidirectional energy spectrograms and moments available now. ASI L1 thumbnail images from 21 stations available. L1 full-resolution images available Mosaics, movies for full mission GMAG L2 CDF files with ground magnetometer data from 137 stations Other Missions GOES – All high-resolution (0.5s), 1-m, 5-m magnetometer/particle data from GOES satellites FAST – HR DCB data, available from 09/1996 – 10/1998 ACE - The ACE data consists of magnetometer values in GSM coordinates with one minute averages and Solar Wind Electron Proton Alpha Monitor data Geomagnetic indices: Ap, Cp, C9, Kp, Dst, Sym/Asy, AE, PseudoAE (AE from THEMIS ground mag stations)

THEMIS Science SoftwareSoftware − 8 GEM – Snowmass, CO – June 2015 THEMIS Main Web Page

THEMIS Science SoftwareSoftware − 9 GEM – Snowmass, CO – June 2015 THEMIS Software Web Page

THEMIS Science SoftwareSoftware − 10 GEM – Snowmass, CO – June 2015 Data Availability Page Select: ‘Data Availability’ from the ‘Data’ menu on our main page, themis.ssl.berkeley.edu/

THEMIS Science SoftwareSoftware − 11 GEM – Snowmass, CO – June 2015 Software Objectives THEMIS Data Analysis Software (TDAS) Objectives -Powerful, flexible command line interface -GUI provides easy access to data, analysis tools, and graphics IDL based (library of routines – but no main program!) Code is available to everyone It is not required to analyze level 2 data Easily tailored for other missions Functionally separates the tasks into: -Reading/importing -Manipulating -Plotting Platform independent. Works on: -Linux -Windows XP, Vista, 7 -Mac OS X -Solaris

THEMIS Science SoftwareSoftware − 12 GEM – Snowmass, CO – June 2015 Software Organization Projects Directory for all SPEDAS projects themis Routines specific to THEMIS Organized by instrument Load and calibrate data, coordinate transformations, analysis routines general Library of generic routines useful for building mission-specific load routines Plotting (tplot), data processing, and data import/export routines external CDAWlib – from NASA SPDF, reads/plots CDF data IDL_GEOPACK – IDL magnetic field modeling library

THEMIS Science SoftwareSoftware − 13 GEM – Snowmass, CO – June 2015 System Requirements Windows, Solaris, Linux, Mac OS X IDL 6.4 or higher required IDL CDF Patch Recommended -Required for IDL 6.2, (Strongly recommended for IDL 6.4 and up) -For Mac, system configurations are required to run IDL -Recommend IDL for Mac users. -Detailed installation instructions can be found in the ‘quick start’ guide on the THEMIS and SPEDAS websites See THEMIS User's Guide for full information, available at: ftp://apollo.ssl.berkeley.edu/pub/THEMIS/

THEMIS Science SoftwareSoftware − 14 GEM – Snowmass, CO – June 2015 Installing/Configuring TDAS Installation –Download and expand the latest TDAS release.zip file. The latest version is Set up the IDL path – File->Preferences – Then IDL->Paths – Select “insert” – Select the location of downloaded TDAS – Use arrows to move directory above Set path to Data Directory –Data directory will be created automatically at –C:/data/themis (Windows) –~/data/themis (UNIX/Linux/Max OS X) –Run thm_ui_config from command line or THEMIS GUI if you need to change this.

THEMIS Science SoftwareSoftware − 15 GEM – Snowmass, CO – June 2015 Data / Directory Structure Data Directory structure is large! –~3GB/day for all probes (L1 data) Directory hierarchy keeps directory size manageable –Software performs automatic file retrieval. –Software enforces directory hierarchy. Behaviour of Automatic File Retrieval is configurable –‘No Download’ mode for stand-alone operation. –‘No Update’ mode to preserve local modifications. –Root directory determined automatically, is configurable. –Available configuration methods: –thm_ui_config IDL widget –In THEMS GUI, ‘File’ -> ‘Configuration Settings...’ –Environment variables

THEMIS Science SoftwareSoftware − 16 GEM – Snowmass, CO – June 2015 Primary Routines Usage Conventions: Use IDL keywords to determine functionality –Data Levels - Calibrated Level 1 data is the default (Except for SST and ESA data, which are handled differently). –Data type and Probe keywords determine which data is loaded and/or created through the calibration process –Get_Support_Data keyword needed in thm_load_state to load data needed by thm_cal* and thm_cotrans routines –To load uncalibrated data, set type = ‘raw’ (For all but SST, ESA) IDL Command Line Examples: –timespan,’ ’, 1, /days ;choose a time range –thm_load_state, probe = 'a', /get_support_data –thm_load_fgm, probe='a', coord='gsm', datatype='fgl', level=1

THEMIS Science SoftwareSoftware − 17 GEM – Snowmass, CO – June 2015 Variable Names Probe specification. Example: tha a – can be one of [a-e] specifies probe Particle data. Example: tha_peif p – particles e – ESA, s – SST i – ions, e – electrons f – full, r – reduced, m – moments, b – burst FGM data. Example: tha_fgl l – low telemetry rate, h – high telemetry rate, e – engineering decimated high rate, s – spin fit. Electric Fields and SCM. Example: tha_efs ef - efi, sc – scm, fb – fbk, ff – fft s – spin fit, f – full orbit or fast survey, p – particle burst, w – waves burst. Wildcards are accepted in names when plotting and data processing: th?_fg? th[ab]_fg[lh] th?_state*

THEMIS Science SoftwareSoftware − 18 GEM – Snowmass, CO – June 2015 Primary Routines Load Routine Summary Notes: (-) data reduction and analysis routines available: see crib sheet NameDescriptionLevel 0 Level 1 Level 2 RawCalibrated thm_load_asiAll-Sky Imager *(-) thm_load_askAll-Sky Keogram *(-) thm_load_efiElectric Fields Instrument Waveforms *** thm_load_esaElectoStatic Analyzer * thm_load_esa_pktElectoStatic Analyzer* thm_load_fbkFields Filter Bank *** thm_load_fftOn-Board Fields Fast Fourier Transform *** thm_load_fgmFlux Gate Magnetometer Waveforms *** thm_load_fitOn-Board Fields Spin-Fit *** thm_load_gmagGround Magnetometer * thm_load_hskHousekeeping ** thm_load_momOn-Board Particle Moments *** thm_load_scmSearch Coil Magnetometer Waveforms *** thm_load_sstSolid State Telescope *(-)* thm_load_stateOrbit and Attitude V3 thm_load_pseudoaeTHEMIS gmag Derived AE-Index * thm_load_slpSolar Lunar Position, Attitude, Velocity * thm_load_scmodeSpacecraft Mode * thm_load_trgSpaceraft Trigger * thm_load_bauBAU Housekeeping **

THEMIS Science SoftwareSoftware − 19 GEM – Snowmass, CO – June 2015 Crib Sheets thm_crib_asi thm_crib_dproc thm_crib_efi thm_crib_esa_da thm_crib_esa_moments thm_crib_export thm_crib_fac thm_crib_fbk thm_crib_fft thm_crib_fgm thm_crib_fit thm_crib_gmag thm_crib_mom thm_crib_mva thm_crib_overplot thm_crib_part_getspec thm_crib_scm thm_crib_sst thm_crib_state thm_crib_tplot thm_crib_tplotxy thm_crib_twavpol thm_crib_part_slice2d thm_map_examples thm_crib_part_combine Crib Sheets for Loading, Processing and Plotting IDL>.run thm_crib_asi or cut and paste, or copy and modify

THEMIS Science SoftwareSoftware − 20 GEM – Snowmass, CO – June 2015 Coordinate Transformations ●thm_cotrans –transforms to/from any of the following coordinate systems –updates metadata in output ●Currently Supported Geophysical Coordinate Systems –SPGSpinning Probe Geometric –SSLSpinning SunSensor L-vectorZ –DSLDespun SunSensor L-vectorZ –GEIGeocentric Equatorial Inertial –GSEGeocentric Solar Ecliptic –GSMGeocentric Solar Magnetospheric –SM Solar Magnetic –GEO Geographic Coordinate System –SSE Selenocentric Coordinate System –SEL Selenographic Coordinate System –MAG Geomagnetic Coordinate System ●Example (previously loaded FGM and STATE data)‏ –thm_cotrans, 'th?_fg?', out_coord='geo‘, ouf_suffix = ‘geo’

THEMIS Science SoftwareSoftware − 21 GEM – Snowmass, CO – June 2015 Plotting & Analysis Routines ●Plotting tplot tplotxy plotxy plotxyz tplot_names tlimit get_data store_data‏ Analytic Coordinate Transformations –tvector_rotate –fac_matrix_make –thm_fac_matrix_make –minvar_matrix_make –enp_matrix_make –rxy_matrix_make –sse_matrix_make –gsm2lmn Tsyganenko Model –(t)trace2iono –(t)trace2equator –(t)t89 –(t)t96 –(t)t01 –(t)t04s Example: > tt89,'thc_state_pos',newname='model_field' > fac_matrix_make,'model_field',other_dim= 'xgse', newname = 'fac_mat' > tvector_rotate, 'fac_mat', 'thc_peir_velocity', newname = 'ion_velocity_model_fa'

THEMIS Science SoftwareSoftware − 22 GEM – Snowmass, CO – June 2015 Command Line Example 1 –To load data: > timespan,'6-10-2', 2, /days > thm_load_gmag,site='ccnv', $ /subtract_average –To plot data: > options,'thg_mag_ccnv',$ labels=['Bx','By','Bz'] > tplot_options, 'title', $ 'GMAG Examples' > tplot,’thg_mag_ccnv’

THEMIS Science SoftwareSoftware − 23 GEM – Snowmass, CO – June 2015 Command Line Example 2 –Wavelet transform on an interval of interest –Define and display the interval > tr = [' /16:00',' /05'] > timebar,tr –Split the 3-vector into components: > split_vec,'thg_mag_ccnv' –Compute transform of one component > wav_data,'thg_mag_ccnv_x',/kol $,trange=tr,maxpoints=24l*3600*2 –Set color limits (log scale) > zlim,'*pow',.0001,.01,1 –Plot it. > tplot,'*ccnv_x*',trange=tr

THEMIS Science SoftwareSoftware − 24 GEM – Snowmass, CO – June 2015 Plotting Examples tplotxy can be used to plot isotropic position plots - like plots of magnetic field models and spacecraft position plotxyz can be used to plot 3 dimensional isotropic data, with any axis (not restricted to time-series data)‏

THEMIS Science SoftwareSoftware − 25GEM – Snowmass, CO – June 2015 Plotting Angular Spectra reduce d full reduce d full pitch angle and gyrophase thm_crib_part_products

THEMIS Science SoftwareSoftware − 26GEM – Snowmass, CO – June 2015 Calculating/Plotting Moments thm_crib_part_products

THEMIS Science SoftwareSoftware − 27GEM – Snowmass, CO – June 2015 thm_crib_part_slice2d_plot 3D Particle Slices 3D interpolation method Entire distribution is linearly interpolated in 3 dimensions.

THEMIS Science SoftwareSoftware − 28GEM – Snowmass, CO – June D Particle Slices Use /ENERGY keyword to plot against energy!

THEMIS Science SoftwareSoftware − 29 GEM – Snowmass, CO – June 2015 Trace / Orbit Plots reduce d Trace / Orbit Plots New routines have been added to perform different 2d projections of 3d data. This particularly useful for plotting orbits and field lines. A Tsyganenko interface has been added to TDAS that allows us to calculate model field lines for T89,T96,T01,&T04 models. Field lines can also be traced (now available in the GUI!) Examples of these routines can be found in thm_crib_trace.pro thm_crib_plotxy.pro thm_crib_tplotxy The graphics in the next slide were generated with thm_crib_trace.pro Example:.run thm_crib_trace.pro A routine was added to plot an arbitrarily sized and spaced AACGM coordinate grid on a world map. NEW (05/16/2014): IDL GEOPACK v9.3 released and includes an interface to Geopack 2008:

THEMIS Science SoftwareSoftware − 30 GEM – Snowmass, CO – June 2015 Trace / Orbit Plots reduce d Trace/Orbit Plots - AACGM/Ionosphere Trace Plot

THEMIS Science SoftwareSoftware − 31 GEM – Snowmass, CO – June 2015 Trace / Orbit Plots reduce d Trace / Orbit Plots – XY Plot

THEMIS Science SoftwareSoftware − 32 GEM – Snowmass, CO – June 2015 Trace / Orbit Plots reduce d Trace / Orbit Plots – XZ Plot

THEMIS Science SoftwareSoftware − 33 GEM – Snowmass, CO – June 2015 Trace / Orbit Plots reduce d Position/Velocity vector plot - plotxyvec

THEMIS Science SoftwareSoftware − 34 GEM – Snowmass, CO – June 2015 Best Place to Get Orbit Plots? THEMIS website! Quick and linkable, i.e., you can now copy + paste the URL to summary plots you generate on the web

THEMIS Science SoftwareSoftware − 35GEM – Snowmass, CO – June 2015 Mini Language reduce d THEMIS – Mini Language Simple scripting language has been written in IDL. This language allows access to some data analysis functionality in the IDL virtual machine and eases manipulations of time series (tplot) data This language allows composition of statements and functions with order of operations to give significant flexibility in statement construction Examples: 1: Position to RE: calc,'"tha_pos_re" = "tha_state_pos"/6374.4’ 2: Natural log of total esa density: calc,'"tha_density_log" = ln("tha_peir_density"+"tha_peer_density“) 3: Store tplot data in non-tplot idl variable: calc,'var_data = "tha_efs“’ 4: Average magnetic pressure: calc,'Pb_avg = mean(0.01*total("tha_fgs_dsl"^2,2)/ )‘ Additional examples can be found in themis/examples/thm_crib_calc.pro

THEMIS Science SoftwareSoftware − 36GEM – Snowmass, CO – June 2015 Combined Particle Moments –To load data:  probe = ‘d’  trange = ‘ /’ + [’13’,’14’]  combined = thm_part_combine($ probe=probe,trange=trange,$ esa_datatype=‘peif’,sst_datatype=$ ‘psif’) –To plot data: > thm_part_products,dist_array=combined,$ outputs=‘energy’ > tplot,’thd_ptiff_eflux_energy’

THEMIS Science SoftwareSoftware − 37 GEM – Snowmass, CO – June 2015 THEMIS Data Analysis Software Graphical User Interface

THEMIS Science SoftwareSoftware − 38GEM – Snowmass, CO – June 2015 Graphical User Interface The GUI is the quickest and easiest way to learn TDAS functionality To run the GUI, type: idl> thm_gui Menu Bar Tool Bar Main graph area Status Bar Window Resize

THEMIS Science SoftwareSoftware − 39GEM – Snowmass, CO – June 2015 Loading Data – GUI To Load Data: Select Load Data under the File menu Select Instrument Type: fgm, Level2: fgs_dsl, Click Right arrow button Select Instrument Type: esa, Level1: peef, Click Right arrow button

THEMIS Science SoftwareSoftware − 40GEM – Snowmass, CO – June 2015 To Load CDAWeb Data: - Select ‘Load Data using CDAWeb’ under the File menu - Select Mission Group (i.e., TWINS, Cluster, etc.) - Select the Instrument Type - Click ‘Find Datasets’ - Select variable or dataset to download - Click ‘Get CDAWeb Data’

THEMIS Science SoftwareSoftware − 41GEM – Snowmass, CO – June 2015 Plotting Data - GUI To Plot Data: Select Plot/Layout Options… under the Graph menu Select tha_fgl_dsl, Click Line button Click Panels Add button, Select tha_fgl_dsl Click Panels Add button, Select tha_peef_en_counts_L1

THEMIS Science SoftwareSoftware − 42GEM – Snowmass, CO – June 2015 Plotting Data - GUI With a few clicks of the button the user can load, analyze, and plot data. Example Plot – FGM and ESA Data THEMIS Science Software TrainingSoftware − 42, 2012

THEMIS Science SoftwareSoftware − 43GEM – Snowmass, CO – June 2015 Plotting GOES Overviews Plugins menu -> ‘Generate GOES Overview Plot

THEMIS Science SoftwareSoftware − 44GEM – Snowmass, CO – June 2015 Plotting GOES Overviews

THEMIS Science SoftwareSoftware − 45GEM – Snowmass, CO – June 2015 Magnetic Field Models The GUI is now able to: - Model the field at the S/C position -Trace the field from the position to the ionosphere and equator

THEMIS Science SoftwareSoftware − 46GEM – Snowmass, CO – June 2015 Magnetic Field Models

THEMIS Science SoftwareSoftware − 47 GEM – Snowmass, CO – June 2015 Slices of 3d particle velocity distributions To start: 1) Command line: thm_ui_slice2d Particle Velocity Slices 2) GUI: Analysis->Velocity Slices

THEMIS Science SoftwareSoftware − 48 GEM – Snowmass, CO – June 2015 Backup slides THEMIS software for GBO all-sky imager thm_crib_asi.pro Harald U. Frey (updated November 2011)

THEMIS Science SoftwareSoftware − 49 GEM – Snowmass, CO – June 2015 THEMIS GBO network

THEMIS Science SoftwareSoftware − 50 GEM – Snowmass, CO – June 2015 All-sky imager data products 1. Keograms along local magnetic meridian  Delivered daily jpeg-compressed  Reprocessed ½ year later with full resolution images 2. Geomagnetically mapped thumbnail images  Delivered daily using square-root intensity compression  1024 pixels within +-80 magnetic latitude and ~+-120 longitude  3 seconds temporal resolution 3. Full resolution images  256x256 pixels covering about 600 km radius around station  Delivered about ½ year later  3 seconds temporal resolution  Full 16 bit intensity scale

THEMIS Science SoftwareSoftware − 51 GEM – Snowmass, CO – June 2015 Daily overview of selected keograms

THEMIS Science SoftwareSoftware − 52 GEM – Snowmass, CO – June 2015 Zoom into interesting time

THEMIS Science SoftwareSoftware − 53 GEM – Snowmass, CO – June 2015 Watch “movie” of single station

THEMIS Science SoftwareSoftware − 54 GEM – Snowmass, CO – June 2015 Total number of counts in images to see major increase (substorm onset)

THEMIS Science SoftwareSoftware − 55 GEM – Snowmass, CO – June 2015 Mosaic of whole GBO array from full resolution images

THEMIS Science SoftwareSoftware − 56 GEM – Snowmass, CO – June 2015 Mosaic with S/C footprint from thumbnail images Black line marks footprint of THEMIS-P2 and P5 during whole night Asterisk marks location at time of mosaic

THEMIS Science SoftwareSoftware − 57 GEM – Snowmass, CO – June 2015 Mosaic of whole GBO array with merged full resolution images Compare merged mosaic to normal mosaic below There may still be remaining issues with transitions Depending on computer it may take up to 5 minutes to finish one merged mosaic Selecting fewer stations speeds up calculation and may remove sharp borders !!!!!!!! THIS SOFTWARE IS STILL NOT PERFECT!!!!!!!!!

THEMIS Science SoftwareSoftware − 58 GEM – Snowmass, CO – June 2015 Ground Magnetometer Examples thm_crib_gmag.pro

THEMIS Science SoftwareSoftware − 59 GEM – Snowmass, CO – June 2015 Three Station Example GMAG Data With Average Subtracted

THEMIS Science SoftwareSoftware − 60 GEM – Snowmass, CO – June 2015 Wavelet Transform Example