Skip to content

Commit

Permalink
Added Themis AE index.
Browse files Browse the repository at this point in the history
  • Loading branch information
nickssl committed Nov 19, 2023
1 parent 12545f9 commit 42e1434
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyspedas/themis/ground/gmag.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def gmag(trange=['2007-03-23', '2007-03-24'],
"""

if sites is None:
thm_sites = 'atha chbg ekat fsim fsmi fykn gbay glyn gill inuv kapu '\
thm_sites = 'idx atha chbg ekat fsim fsmi fykn gbay glyn gill inuv kapu '\
'kian kuuj mcgr nrsq pgeo pina rank snap snkq tpas whit '\
'yknf'.split(' ')
tgo_sites = ['nal', 'lyr', 'hop', 'bjn', 'nor', 'sor', 'tro', 'and',
Expand Down
5 changes: 4 additions & 1 deletion pyspedas/themis/load.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,10 @@ def load(trange=['2013-11-5', '2013-11-6'],
else:
pathformat = []
for site, in_greenland in zip(stations, greenland):
if in_greenland:
if site == 'idx':
# THEMIS GMAG index files are only L1
pathformat.append('thg/l1/mag/idx/%Y/thg_l1_idx_%Y%m%d_v??.cdf')
elif in_greenland:
pathformat.append('thg/greenland_gmag/' + level
+ '/' + site + '/%Y/thg_' + level
+ '_mag_' + site + '_%Y%m%d_v??.cdf')
Expand Down

0 comments on commit 42e1434

Please sign in to comment.