Merged in ewinter-heliopic_fix (pull request #62)

Ewinter heliopic fix

Approved-by: Elena Provornikova
Approved-by: Michael Wiltberger
This commit is contained in:
Eric Winter
2025-02-03 21:19:20 +00:00
2 changed files with 5 additions and 5 deletions

View File

@@ -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)

View File

@@ -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: