Skip to content

Commit

Permalink
fix test_solarmach_pfss for sunpy 5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
jgieseler committed Nov 22, 2023
1 parent 388f1e5 commit 722753d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion solarmach/tests/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def test_solarmach_pfss():
vsw_list = [400, 400] # position-sensitive solar wind speed per body in body_list
sm = SolarMACH(date, body_list, vsw_list, reference_long=100, reference_lat=10)
gong_map = get_gong_map(time=date, filepath=None)
assert isinstance(gong_map, pfsspy.map.GongSynopticMap)
assert isinstance(gong_map, pfsspy.map.GongSynopticMap) or isinstance(gong_map, sunpy.map.sources.gong.GONGSynopticMap)
pfss_solution = calculate_pfss_solution(gong_map=gong_map, rss=2.5, coord_sys='Carrington')
assert isinstance(pfss_solution, pfsspy.output.Output)
fig, ax = sm.plot_pfss(rss=2.5, pfss_solution=pfss_solution, vary=True, return_plot_object=True,
Expand Down

0 comments on commit 722753d

Please sign in to comment.