Open vit1-irk opened 1 month ago
In some rare cases the magnetic field view has a damaged map. Take a look at this picture:
The code for box creation is:
#!/usr/bin/env python3 import astropy.time from astropy.coordinates import SkyCoord from sunpy.coordinates import Heliocentric, Helioprojective,get_earth import astropy.units as u from PyQt5.QtWidgets import QApplication app = QApplication([]) from pyampp.gxbox.gxbox_factory import GxBox time = astropy.time.Time('2023-07-13T00:20:00') box_origin = SkyCoord(-794 * u.arcsec, 357 * u.arcsec, obstime=time, observer="earth", frame='helioprojective') observer = get_earth(time) box_dimensions = u.Quantity([285, 142, 90]) * u.Mm box_res = 300*u.km gxbox = GxBox(time, observer, box_origin, box_dimensions) gxbox.show() app.exec_()
I don't exactly understand what's wrong here. Tried different resolutions as well.
Thanks. I think I found the bug. I’ll fix it in the next update. @vit1-irk
In some rare cases the magnetic field view has a damaged map. Take a look at this picture:
The code for box creation is:
I don't exactly understand what's wrong here. Tried different resolutions as well.