Skip to content

Commit

Permalink
bug in sunpy 6.0.0 means we need to wait for bugfix release
Browse files Browse the repository at this point in the history
  • Loading branch information
nabobalis committed Jul 25, 2024
1 parent cc08f79 commit 1f03469
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ dependencies = [
"scikit-image>=0.19.0",
"scipy>=1.10.1",
"streamtracer>=2.2.0",
"sunpy[map]>=6.0",
"sunpy[map]>=6.0.1,!=6.0.0",
]
dynamic = ["version"]

Expand All @@ -42,7 +42,7 @@ docs = [
"sphinx-automodapi",
"reproject",
"sphinx-gallery",
"sunpy[net]>=6.0",
"sunpy[net]>=6.0.1,!=6.0.0",
"sunpy-sphinx-theme",
"sunkit-magex[all]",
"sphinx-changelog",
Expand Down
1 change: 0 additions & 1 deletion sunkit_magex/pfss/input.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ def __init__(self, br, nr, rss):
sunkit_magex.pfss.utils.is_full_sun_synoptic_map(br, error=True)

self._map_in = copy.deepcopy(br)
self.dtime = self.map.date
self.br = self.map.data

# Force some nice defaults
Expand Down
2 changes: 1 addition & 1 deletion sunkit_magex/pfss/output.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def dtime(self):
"""
Date and time of the input map.
"""
return self.input_map.date
return self.input_map.reference_date

@property
def bunit(self):
Expand Down

0 comments on commit 1f03469

Please sign in to comment.