mirror of
https://github.com/JHUAPL/kaipy.git
synced 2026-01-09 14:28:02 -05:00
Merged in ewinter-heliopic_fix (pull request #62)
Ewinter heliopic fix Approved-by: Elena Provornikova Approved-by: Michael Wiltberger
This commit is contained in:
@@ -434,7 +434,7 @@ def fetch_helio_spacecraft_HGS_trajectory(spacecraft, t_start, t_end, mjdc):
|
||||
"""
|
||||
# Read the CDAWeb spacecraft database.
|
||||
spacecraft_data_file = os.path.join(
|
||||
os.environ["KAIJUHOME"], "kaipy", "satcomp", "sc_helio.json"
|
||||
os.environ["KAIPYHOME"], "kaipy", "satcomp", "sc_helio.json"
|
||||
)
|
||||
sc_info = scutils.getScIds(spacecraft_data_file=spacecraft_data_file)
|
||||
|
||||
@@ -508,7 +508,7 @@ def fetch_helio_spacecraft_trajectory(sc_id, t_start, t_end):
|
||||
"""
|
||||
# Read the CDAWeb spacecraft database.
|
||||
sc_metadata_path = os.path.join(
|
||||
os.environ["KAIJUHOME"], "kaipy", "satcomp", "sc_helio.json"
|
||||
os.environ["KAIPYHOME"], "kaipy", "satcomp", "sc_helio.json"
|
||||
)
|
||||
sc_metadata = scutils.getScIds(spacecraft_data_file=sc_metadata_path)
|
||||
|
||||
@@ -546,7 +546,7 @@ def ingest_helio_spacecraft_trajectory(sc_id, sc_data, MJDc):
|
||||
"""
|
||||
# Read the CDAWeb spacecraft database.
|
||||
sc_metadata_path = os.path.join(
|
||||
os.environ["KAIJUHOME"], "kaipy", "satcomp", "sc_helio.json"
|
||||
os.environ["KAIPYHOME"], "kaipy", "satcomp", "sc_helio.json"
|
||||
)
|
||||
sc_metadata = scutils.getScIds(spacecraft_data_file=sc_metadata_path)
|
||||
|
||||
|
||||
@@ -795,9 +795,9 @@ def PlotMerBrNorm(
|
||||
shading="auto")
|
||||
|
||||
# Plot the heliospheric current sheet.
|
||||
Ax.contour(np.sqrt(xr_c**2 + yr_c**2), zr_c, Br_r, [0.],
|
||||
Ax.contour(np.sqrt(xr_c**2 + yr_c**2), zr_c, Br_l, [0.],
|
||||
colors='black')
|
||||
Ax.contour(-np.sqrt(xl_c**2 + yl_c**2), zl_c, Br_l, [0.],
|
||||
Ax.contour(-np.sqrt(xl_c**2 + yl_c**2), zl_c, Br_r, [0.],
|
||||
colors='black')
|
||||
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user