Skip to content

Commit

Permalink
CR
Browse files Browse the repository at this point in the history
  • Loading branch information
nabobalis committed Feb 4, 2025
1 parent 03d5661 commit b6256f4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions changelog/63.breaking.2.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,7 @@ Deprecated the following pfss utils:
- pfss.utils.load_adapt

These functions are no longer needed and will be removed.


`If you want to fix metadata, read this how-to guide. <https://docs.sunpy.org/en/latest/how_to/fix_map_metadata.html>`__
`If you want to load ADAPT maps, read this example. <https://docs.sunpy.org/en/latest/generated/gallery/saving_and_loading_data/load_adapt_fits_into_map.html>`__
2 changes: 1 addition & 1 deletion sunkit_magex/pfss/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def fix_hmi_meta(hmi_map):
hmi_map.meta.update(_earth_obs_coord_meta(hmi_map.meta['date-obs']))


@deprecated('1.0', message="This is not required anymore. An example of how to load an ADAPT file is available in the documentation.")
@deprecated('1.0', message="Use sunpy.map.Map or read https://docs.sunpy.org/en/latest/generated/gallery/saving_and_loading_data/load_adapt_fits_into_map.html")
def load_adapt(adapt_path):
"""
Parse adapt .fts file as a `sunpy.map.MapSequence`
Expand Down

0 comments on commit b6256f4

Please sign in to comment.