|
|
|
@@ -1,3 +1,653 @@
|
|
|
|
|
-------------------------------------------------------------------
|
|
|
|
|
Sat Aug 2 17:19:32 UTC 2025 - Ben Greiner <code@bnavigator.de>
|
|
|
|
|
|
|
|
|
|
- Update to 7.0.1
|
|
|
|
|
* Fixed a bug where the time format 2001-02-03T04:05:06Z was
|
|
|
|
|
being parsed through different code than 2001-02-03T04:05:06 or
|
|
|
|
|
2001-02-03T04:05:06.0Z. (#8265)
|
|
|
|
|
* Fixed a bug where sunpy.util.system_info would report sunpy as
|
|
|
|
|
an optional dependency of itself instead of properly reporting
|
|
|
|
|
all of the optional dependencies. (#8294)
|
|
|
|
|
* Fixed sunpy.util.system_info so that the version reported for a
|
|
|
|
|
development installation of sunpy itself or of a dependency is
|
|
|
|
|
accurate. (#8297)
|
|
|
|
|
|
|
|
|
|
-------------------------------------------------------------------
|
|
|
|
|
Sun Jul 13 13:40:00 UTC 2025 - Ben Greiner <code@bnavigator.de>
|
|
|
|
|
|
|
|
|
|
- Update to 7.0.0
|
|
|
|
|
## Breaking Changes
|
|
|
|
|
* The ~sunpy.net.hek.HEKClient now merges columns event_coord1,
|
|
|
|
|
event_coord2 and event_coord3 into a new column called
|
|
|
|
|
event_coord that returns a astropy.coordinates.SkyCoord object.
|
|
|
|
|
event_coord1, event_coord2 and event_coord3 are all dropped as
|
|
|
|
|
columns from the table. Columns which correspond to only units
|
|
|
|
|
are also dropped. If you need these columns, the unparsed HEK
|
|
|
|
|
results can be accessed via the .raw attribute on the HEK
|
|
|
|
|
result. (#7619)
|
|
|
|
|
* The types of many columns in the results table returned by the
|
|
|
|
|
HEKClient have been changed. Columns which correspond to
|
|
|
|
|
quantities with units are now returned as
|
|
|
|
|
~astropy.units.Quantity objects rather than arrays. Columns
|
|
|
|
|
which correspond to times are now returned as
|
|
|
|
|
~astropy.time.Time objects rather than strings. Columns which
|
|
|
|
|
correspond to coordinates are now returned as
|
|
|
|
|
~astropy.coordinates.SkyCoord objects rather than arrays or
|
|
|
|
|
chain code strings. If you need these columns in their original
|
|
|
|
|
format, the raw output from the HEK can be accessed via the
|
|
|
|
|
.raw attribute on ~sunpy.net.hek.HEKTable. (#7619)
|
|
|
|
|
## Deprecations
|
|
|
|
|
* Renamed the mesh-based autoalignment option for the
|
|
|
|
|
~sunpy.map.Map method ~sunpy.map.GenericMap.plot from
|
|
|
|
|
autoalign='pcolormesh' to autoalign='mesh'. (#8036)
|
|
|
|
|
* Deprecated sunpy.util.net.download_file and
|
|
|
|
|
sunpy.util.net.download_fileobj. Internally sunpy now uses
|
|
|
|
|
parfive. (#8106)
|
|
|
|
|
## Removals
|
|
|
|
|
* Removed the decorator
|
|
|
|
|
sunpy.util.deprecate_positional_args_since() due to lack of
|
|
|
|
|
continued use. (#8165)
|
|
|
|
|
## New Features
|
|
|
|
|
* Added a FIDO client for retrieving AIA "synoptic" data from the
|
|
|
|
|
JSOC. This dataset is not synoptic like HMI and MDI Synoptic
|
|
|
|
|
images which are images of the solar surface reconstructed from
|
|
|
|
|
many observations over a solar rotation but rather a synopsis
|
|
|
|
|
of AIA data. The AIA synoptic data are calibrated Level 1.5
|
|
|
|
|
images with reduced 1k x 1k resolution at regular 2-minute
|
|
|
|
|
cadence. (#7842)
|
|
|
|
|
* Added "SUITMap" with a custom color scheme for 11 filters of
|
|
|
|
|
the SUIT instrument. For more information about the payload,
|
|
|
|
|
visit suit.iucaa.in. (#7971)
|
|
|
|
|
* Add a GONG Magnetogram Map source. (#8007)
|
|
|
|
|
* Added a new autoalignment option for the ~sunpy.map.Map method
|
|
|
|
|
~sunpy.map.GenericMap.plot of directly plotting a warped image
|
|
|
|
|
by specifying autoalign='image'. This autoalignment option is
|
|
|
|
|
faster than the existing option (autoalign='mesh'), but does
|
|
|
|
|
not fully work in all situations. (#8036)
|
|
|
|
|
* The ~sunpy.map.Map method ~sunpy.map.GenericMap.reproject_to
|
|
|
|
|
now has the capability to automatically determine the extent of
|
|
|
|
|
the output map by setting the keyword auto_extent, thus
|
|
|
|
|
avoiding "clipping" any of the original data. The best choice
|
|
|
|
|
for the how the extent is determined depends on the data being
|
|
|
|
|
reprojected. (#8040)
|
|
|
|
|
* Added support for conservative mask propagation in
|
|
|
|
|
sunpy.map.GenericMap.superpixel by introducing a new
|
|
|
|
|
conservative_mask keyword argument, which defaults to False.
|
|
|
|
|
When conservative_mask=True, the superpixel is masked if any of
|
|
|
|
|
its constituent pixels are masked. (#8041)
|
|
|
|
|
* Adds caching mechanism for Timeseries URL handling using
|
|
|
|
|
~sunpy.data.data_manager.cache.Cache. (#8045)
|
|
|
|
|
* Added support for PUNCH data within sunpy.map.Map. (#8133)
|
|
|
|
|
* Autoalign plotting for ~sunpy.map.Map is now significantly
|
|
|
|
|
faster, especially for interactive plots. (#8161)
|
|
|
|
|
* Added direct support for EIT L1 data within sunpy.map.Map.
|
|
|
|
|
(#8177)
|
|
|
|
|
* The ~sunpy.map.Map method ~sunpy.map.GenericMap.plot now
|
|
|
|
|
performs autoalignment by default (autoalign=True) and
|
|
|
|
|
furthermore automatically determines which autoalignment
|
|
|
|
|
approach -- mesh-based or image-based -- to use for the
|
|
|
|
|
situation. (#8187)
|
|
|
|
|
## Bug Fixes
|
|
|
|
|
* Allow ~sunpy.map.sources.HMIMap to have units outside of the
|
|
|
|
|
FITS standard. This prevents issuing repeated warnings when HMI
|
|
|
|
|
maps have units of "Mx/cm2". (#8126)
|
|
|
|
|
* Fixed a bug with the caching of ~sunpy.map.Map properties
|
|
|
|
|
observer_coordinate and wcs where modifying the metadata to be
|
|
|
|
|
invalid would confuse the cache. (#8158)
|
|
|
|
|
* Fixed a bug where autoalign plotting of a ~sunpy.map.Map would
|
|
|
|
|
not expand the plot limits in some cases. (#8161)
|
|
|
|
|
* Fixed a bug where the three magnetic coordinate frames
|
|
|
|
|
(~sunpy.coordinates.frames.Geomagnetic,
|
|
|
|
|
~sunpy.coordinates.frames.SolarMagnetic,
|
|
|
|
|
~sunpy.coordinates.frames.GeocentricSolarMagnetospheric) would
|
|
|
|
|
raise an error if used nontrivially with array obstime (as
|
|
|
|
|
opposed to a scalar). (#8193)
|
|
|
|
|
* Fixed an incompatibility between the context manager for
|
|
|
|
|
applying rotation
|
|
|
|
|
(~sunpy.coordinates.propagate_with_solar_surface) and the
|
|
|
|
|
context managers for applying screen assumptions
|
|
|
|
|
(~sunpy.coordinates.PlanarScreen and
|
|
|
|
|
~sunpy.coordinates.SphericalScreen), which for example resulted
|
|
|
|
|
in the discarding of most off-disk data in reprojections.
|
|
|
|
|
(#8212)
|
|
|
|
|
* Ensure that ~sunpy.map.GenericMap uses the private accessor for
|
|
|
|
|
the date-obs key, which can be overridden by a source subclass.
|
|
|
|
|
This fixes EITMap.reference_date. (#8236)
|
|
|
|
|
* Prevented a potential segmentation fault when calling
|
|
|
|
|
~sunpy.time.parse_time on a list of more than 500 strings in a
|
|
|
|
|
format not specifically recognized by sunpy.time itself and
|
|
|
|
|
instead has to fall back on recognition by astropy.time.
|
|
|
|
|
(#8257)
|
|
|
|
|
|
|
|
|
|
-------------------------------------------------------------------
|
|
|
|
|
Sun Apr 6 15:47:10 UTC 2025 - Ben Greiner <code@bnavigator.de>
|
|
|
|
|
|
|
|
|
|
- Update to 6.1.1
|
|
|
|
|
## Breaking Changes
|
|
|
|
|
* Dataretriever / "Scraper" clients no longer require the
|
|
|
|
|
regex-formatted baseurl and a parse-formatted pattern variable
|
|
|
|
|
but instead a single and full pattern variable written in the
|
|
|
|
|
parse-format. Documentation about how to write the new patterns
|
|
|
|
|
and about explaining the internal Scraper algorithm is added to
|
|
|
|
|
the topic guide on adding new sources to Fido.
|
|
|
|
|
* The internal method on ~sunpy.net.scraper.Scraper called
|
|
|
|
|
_extract_files_meta function no longer requires an extractor
|
|
|
|
|
pattern.
|
|
|
|
|
* A new submodule called scraper.net.scraper_utils is created and
|
|
|
|
|
Scraper helper functions like date_floor(), extract_timestep(),
|
|
|
|
|
check_timerange() and get_timerange_from_exdict() can be
|
|
|
|
|
accessed directly from there.
|
|
|
|
|
* All the extracted timeranges have a millisecond subtracted from
|
|
|
|
|
the end date, i.e. they end on 59:59:59 of the date just
|
|
|
|
|
before, instead of the inconsistent issue where some could end
|
|
|
|
|
with 00:00:00 of the end date which lead to undesirable cases
|
|
|
|
|
like January 1, 2015 data also showing up in the 2014 year-long
|
|
|
|
|
timerange. (#7077)
|
|
|
|
|
* Update our dependancy policy to follow SPEC 0 rather than the
|
|
|
|
|
older NEP 29. The only difference between the old (NEP 29)
|
|
|
|
|
policy and the new (SPEC 0) policy is that we only support
|
|
|
|
|
Python versions for 3 years after their initial release, rather
|
|
|
|
|
than 4. (#7796)
|
|
|
|
|
* Increased minimum versions for these dependencies:
|
|
|
|
|
asdf-astropy >= 0.5.0
|
|
|
|
|
astropy >= 6.0.0
|
|
|
|
|
numpy >= 1.24.0
|
|
|
|
|
pandas >= 1.5.0
|
|
|
|
|
sphinx >= 6.0.0 (#7976)
|
|
|
|
|
## Deprecations
|
|
|
|
|
* sunpy.map.GenericMap.contour is deprecated in favor of
|
|
|
|
|
sunpy.map.GenericMap.find_contours. Note that ContourPy, now
|
|
|
|
|
used for contour generation, may produce different results and
|
|
|
|
|
does not support all scikit-image keyword arguments. (#7760)
|
|
|
|
|
* The following components of ~sunpy.map.MapSequence are now
|
|
|
|
|
deprecated and will be removed in v7.1:
|
|
|
|
|
- The derotate keyword argument to ~sunpy.map.MapSequence.
|
|
|
|
|
Derotation is not implemented.
|
|
|
|
|
- The resample keyword argument to
|
|
|
|
|
~sunpy.map.MapSequence.peek and
|
|
|
|
|
~sunpy.map.MapSequence.plot. To reproduce this behavior,
|
|
|
|
|
use ~sunpy.map.GenericMap.resample on each map in the
|
|
|
|
|
sequence before plotting.
|
|
|
|
|
- Deprecate ~sunpy.map.MapSequence.all_maps_same_shape in
|
|
|
|
|
favor of ~sunpy.map.MapSequence.all_same_shape.
|
|
|
|
|
- Deprecate ~sunpy.map.MapSequence.at_least_one_map_has_mask.
|
|
|
|
|
To reproduce this functionality, check whether
|
|
|
|
|
~sunpy.map.MapSequence.mask is None.
|
|
|
|
|
- Deprecate ~sunpy.map.MapSequence.as_array in favor of
|
|
|
|
|
~sunpy.map.MapSequence.data and
|
|
|
|
|
~sunpy.map.MapSequence.mask. Previously, as_array returned
|
|
|
|
|
a masked array if at least one map held a mask and a bare
|
|
|
|
|
array if not.
|
|
|
|
|
- Deprecate ~sunpy.map.MapSequence.all_meta in favor of
|
|
|
|
|
~sunpy.map.MapSequence.meta. (#7827)
|
|
|
|
|
* General support within ~sunpy.map.Map for the non-standard
|
|
|
|
|
CTYPE values 'SOLAR-X' and 'SOLAR-Y' is now deprecated, and
|
|
|
|
|
should instead be handled by a source-specific subclass.
|
|
|
|
|
(#7955)
|
|
|
|
|
* Renamed the sunpy.time.TimeRange method extend() to
|
|
|
|
|
sunpy.time.TimeRange.shift to reflect what the method
|
|
|
|
|
actually does. (#8008)
|
|
|
|
|
## New Features
|
|
|
|
|
* Added support for saving a sunpy.map.Map into an ASDF file
|
|
|
|
|
using sunpy.map.GenericMap.save and loading a map stored in an
|
|
|
|
|
ASDF file with sunpy.map.Map. (#7712)
|
|
|
|
|
* The ~sunpy.coordinates.RotatedSunFrame class now accepts a
|
|
|
|
|
~astropy.time.TimeDelta object for the duration parameter.
|
|
|
|
|
(#7752)
|
|
|
|
|
* Added ~sunpy.map.GenericMap.find_contours for getting contours
|
|
|
|
|
from a ~sunpy.map.Map. By default the method uses ContourPy
|
|
|
|
|
for performance reasons and consistency with
|
|
|
|
|
sunpy.map.GenericMap.draw_contours. One can alternatively
|
|
|
|
|
specify that the method use scikit-image. (#7760)
|
|
|
|
|
* Added support for loading files from various cloud services
|
|
|
|
|
(such as s3) in ~sunpy.map.Map and
|
|
|
|
|
~sunpy.timeseries.TimeSeries using fsspec. (#7790)
|
|
|
|
|
* Added the ~sunpy.coordinates.HelioprojectiveRadial coordinate
|
|
|
|
|
frame. (#7803)
|
|
|
|
|
* Added a function ~sunpy.map.make_hpr_header to easily make a
|
|
|
|
|
FITS WCS header for the
|
|
|
|
|
~sunpy.coordinates.HelioprojectiveRadial coordinate frame.
|
|
|
|
|
(#7803)
|
|
|
|
|
* Added a function sunpy.visualization.show_hpr_impact_angle to
|
|
|
|
|
modify a plot axis of a
|
|
|
|
|
~sunpy.coordinates.HelioprojectiveRadial ~sunpy.map.Map to
|
|
|
|
|
show impact angle rather than declination for the tick labels.
|
|
|
|
|
(#7803)
|
|
|
|
|
* Added ability to delay download in
|
|
|
|
|
sunpy.data.data_manager.manager.DataManager.require (#7845)
|
|
|
|
|
* Add sunpy.visualization.drawing.extent to visualize the extent
|
|
|
|
|
of another WCS on an axis. Add
|
|
|
|
|
sunpy.map.GenericMap.draw_extent to visualize the extent of a
|
|
|
|
|
map on a given axis. (#7851)
|
|
|
|
|
* Add a link to the VSO Health Report in the Fido Results when
|
|
|
|
|
using the VSOClient. (#7884)
|
|
|
|
|
* Added unconverted_value attribute to the Wavelength attribute.
|
|
|
|
|
(#7923)
|
|
|
|
|
* sunpy.time.TimeRange.shift can now accept inputs of type
|
|
|
|
|
datetime.timedelta and astropy.units.Quantity. (#7931)
|
|
|
|
|
* sunpy.map.CompositeMap.plot will now skip autoaligning an
|
|
|
|
|
overplotted map image if that map's WCS matches the WCS of the
|
|
|
|
|
figure axes. This significantly improves performance when the
|
|
|
|
|
maps being composited have already been reprojected onto a
|
|
|
|
|
common WCS. (#7948)
|
|
|
|
|
## Bug Fixes
|
|
|
|
|
* sunpy.map.MapSequence unable to set the normalization for data
|
|
|
|
|
that was UINT8 (JPEG2000) causing the animations to break.
|
|
|
|
|
(#7674)
|
|
|
|
|
* Fixed incorrect reference_date for GONG Synoptic maps. (#7758)
|
|
|
|
|
* Fix sunpy.physics.differential_rotation.differential_rotate to
|
|
|
|
|
update the reference_date attribute of the input map instead of
|
|
|
|
|
the date. (#7758)
|
|
|
|
|
* Fixed incorrect reference_date for SDO/AIA and SDO/HMI data to
|
|
|
|
|
use the T_OBS keyword instead of the DATE-OBS keyword.
|
|
|
|
|
* For AIA images, the location of SDO has been shifted up to a
|
|
|
|
|
second in time, which corresponds to a shift in Heliographic
|
|
|
|
|
Longitude by only 4 milliarcseconds. (#7758)
|
|
|
|
|
* Fix filetype detection to use the detected filetype if a known
|
|
|
|
|
reader is registered. (#7788)
|
|
|
|
|
* Fixed loading of ~sunpy.map.sources.ADAPTMap if sunkit-magex
|
|
|
|
|
v1.0.0 is installed. (#7798)
|
|
|
|
|
* All map sources that override date or reference_date now fall
|
|
|
|
|
back to the corresponding properties on sunpy.map.GenericMap if
|
|
|
|
|
the needed source-specific metadata for these properties cannot
|
|
|
|
|
be found. (#7810)
|
|
|
|
|
* Fixes a bug where ~sunpy.map.sources.HMIMap returned a
|
|
|
|
|
wavelength without a unit because WAVEUNIT is not in the header
|
|
|
|
|
and cannot be parsed from any other part of the metadata. If it
|
|
|
|
|
cannot be found, it now defaults to Angstrom. (#7812)
|
|
|
|
|
* Fixed a calculation bug when using
|
|
|
|
|
~sunpy.coordinates.PlanarScreen when it is both tilted (the
|
|
|
|
|
plane is not perpendicular to the observer-Sun direction) and
|
|
|
|
|
offset (the plane does not go through Sun center). (#7814)
|
|
|
|
|
* Fixed a bug where custom values in the plot_settings dictionary
|
|
|
|
|
were not being correctly applied in the
|
|
|
|
|
sunpy.map.GenericMap.draw_contours method. (#7844)
|
|
|
|
|
* Fix use of deprecated astropy.table.Table.pformat_all in
|
|
|
|
|
sunpy.net. (#7854)
|
|
|
|
|
* Fixed a bug with axis labels when plotting a ~sunpy.map.Map
|
|
|
|
|
that could conflict with automatic label positioning in astropy
|
|
|
|
|
7.0. (#7857)
|
|
|
|
|
* Added correct unit fallback for LASCO JPEG2000 files from the
|
|
|
|
|
Helioviewer. (#7890)
|
|
|
|
|
* Added support within ~.parse_time for the timestamp %Y%m%d%H%M
|
|
|
|
|
,%Y%m%dT%H%M and %Y%m%d_%H%M. (#7911)
|
|
|
|
|
* Updated the internal CDF reader to handle FILLVAL only for
|
|
|
|
|
floating point numbers. (#7917)
|
|
|
|
|
* Fixed unit conversion for wavelength in
|
|
|
|
|
sunpy.net.dataretriever.sources.goes.SUVIClient. (#7920)
|
|
|
|
|
* Fixed a time-ordering bug in sunpy.time.TimeRange.shift when
|
|
|
|
|
the shifted start time is later than than the shifted end time.
|
|
|
|
|
(#7931)
|
|
|
|
|
* Fixed a bug in the HTML representation for
|
|
|
|
|
sunpy.timeseries.GenericTimeSeries that error-ed if the
|
|
|
|
|
time-series had too many columns. (#7947)
|
|
|
|
|
* Fix sunpy.data.data_manager.manager.DataManager.get now
|
|
|
|
|
automatically redownloads files if they are accidentally
|
|
|
|
|
deleted. (#7950)
|
|
|
|
|
* Fixed a bug in
|
|
|
|
|
~sunpy.physics.differential_rotation.differential_rotate that
|
|
|
|
|
assumed the input map header had RSUN_REF defined. (#7953)
|
|
|
|
|
* Fixed two bugs associated with the handling of WCS PVi_m values
|
|
|
|
|
by ~sunpy.map.Map. PVi_m values were incorrectly retrieved from
|
|
|
|
|
the first alternative WCS description (e.g., PV1_1A) instead of
|
|
|
|
|
the primary WCS description (e.g., PV1_1). Also, PVi_m values
|
|
|
|
|
were misassigned when m was a two-digit number (i.e., 10
|
|
|
|
|
through 99). (#7961)
|
|
|
|
|
* Fixed a bug in ~sunpy.time.parse_time where parsing a list of
|
|
|
|
|
time strings containing "TAI" did not automatically set the
|
|
|
|
|
time scale to TAI. (#7983)
|
|
|
|
|
* Fixed a bug in ~sunpy.time.parse_time where parsing a list of
|
|
|
|
|
time strings could incorrectly fail even when parsing the
|
|
|
|
|
individual elements would succeed. (#7983)
|
|
|
|
|
* Fixed the formatting of the the channel labels for
|
|
|
|
|
~sunpy.timeseries.sources.XRSTimeSeries. (#7986)
|
|
|
|
|
* Examples in docs for sunpy.net.attr.Attr are now rendering
|
|
|
|
|
properly. (#8002)
|
|
|
|
|
* Fixed the unintended ~sunpy.map.Map behavior where any
|
|
|
|
|
combination of non-FITS units were allowed as long as one of
|
|
|
|
|
the non-FITS units was DN. DN is currently the only non-FITS
|
|
|
|
|
unit permitted in ~sunpy.map.Map. (#8037)
|
|
|
|
|
* Corrected the NOAA ~.SRSClient to use a updated HTTPS server
|
|
|
|
|
instead of the now defunct FTP. (#8054)
|
|
|
|
|
* Fixed a bug where ~sunpy.map.sources.EITMap and the correct
|
|
|
|
|
colormaps (e.g., sohoeit171) failed to load for SOHO/EIT level
|
|
|
|
|
1 FITS files from SDAC. (#8070)
|
|
|
|
|
|
|
|
|
|
-------------------------------------------------------------------
|
|
|
|
|
Sat Dec 7 09:47:21 UTC 2024 - Ben Greiner <code@bnavigator.de>
|
|
|
|
|
|
|
|
|
|
- Update to 6.0.4
|
|
|
|
|
* Backport PR #7843 (Updates from the package template) by
|
|
|
|
|
@meeseeksmachine in #7847
|
|
|
|
|
* Backport PR #7846 (Add support for Python 3.13) by @Cadair in
|
|
|
|
|
#7848
|
|
|
|
|
* Backport PR #7849 (Fix figure devdeps) by @meeseeksmachine in
|
|
|
|
|
#7850
|
|
|
|
|
* Backport PR #7855 (Don't use 3.13 for the core CI yet) by
|
|
|
|
|
@meeseeksmachine in #7858
|
|
|
|
|
* Backport PR #7854 (Use updated astropy.Table api) by
|
|
|
|
|
@meeseeksmachine in #7859
|
|
|
|
|
* Backport PR #7852 (Updates from the package template) by
|
|
|
|
|
@meeseeksmachine in #7860
|
|
|
|
|
* Backport PR #7857 (Fixed some issues related to WCSAxes in
|
|
|
|
|
astropy 7.0) by @meeseeksmachine in #7861
|
|
|
|
|
* Backport PR #7867 (Use a fixed time in the past for the gallery
|
|
|
|
|
example with STEREO locations) by @meeseeksmachine in #7876
|
|
|
|
|
* Backport PR #7875 (Fix devdeps fails with astropy) by
|
|
|
|
|
@meeseeksmachine in #7877
|
|
|
|
|
* Backport PR #7878 (Use main instead of master for figure tests
|
|
|
|
|
comparison ) by @meeseeksmachine in #7879
|
|
|
|
|
* Backport PR #7881 (Improved clarity & structure of
|
|
|
|
|
documentation in the installation section; fixed formatting) by
|
|
|
|
|
@meeseeksmachine in #7882
|
|
|
|
|
* Backport PR #7887 (Only fail docs on deprecation warnings when
|
|
|
|
|
not on RTD) by @meeseeksmachine in #7888
|
|
|
|
|
* Backport PR #7892 (Fix cache configuration for tests against
|
|
|
|
|
astropy 7) by @meeseeksmachine in #7894
|
|
|
|
|
* Backport PR #7890 (Add fallback if lasco has a 0 bunit in the
|
|
|
|
|
jp2) by @meeseeksmachine in #7901
|
|
|
|
|
* Backport PR #7902 (updated rhessi.py(Summary lightcurves
|
|
|
|
|
docstring)) by @meeseeksmachine in #7906
|
|
|
|
|
|
|
|
|
|
-------------------------------------------------------------------
|
|
|
|
|
Fri Dec 6 16:01:58 UTC 2024 - Ben Greiner <code@bnavigator.de>
|
|
|
|
|
|
|
|
|
|
- Skip tests with scikit-image on Python 3.13
|
|
|
|
|
- Reenable opencv tests for python3
|
|
|
|
|
|
|
|
|
|
-------------------------------------------------------------------
|
|
|
|
|
Thu Nov 28 11:25:14 UTC 2024 - Ben Greiner <code@bnavigator.de>
|
|
|
|
|
|
|
|
|
|
- Update to 6.0.3
|
|
|
|
|
* [6.0] backport all template changes by @nabobalis in #7805
|
|
|
|
|
* Backport PR #7810 on branch 6.0 (Fix map sources to always fall
|
|
|
|
|
back to default values for date and reference_date) by
|
|
|
|
|
@meeseeksmachine in #7811
|
|
|
|
|
* Backport PR #7814 on branch 6.0 (Fixed bug with tilted and
|
|
|
|
|
offset planar screen) by @meeseeksmachine in #7815
|
|
|
|
|
* Backport PR #7812 on branch 6.0 (Add Angstrom as default unit
|
|
|
|
|
for HMI wavelength) by @meeseeksmachine in #7821
|
|
|
|
|
* Backport PR #7674 on branch 6.0 (Handle norm for mapsequence)
|
|
|
|
|
by @meeseeksmachine in #7831
|
|
|
|
|
- Drop sunpy-exclude-toplevel.patch fixed un templates upstream
|
|
|
|
|
|
|
|
|
|
-------------------------------------------------------------------
|
|
|
|
|
Thu Sep 26 08:27:24 UTC 2024 - Ben Greiner <code@bnavigator.de>
|
|
|
|
|
|
|
|
|
|
- Update to 6.0.2
|
|
|
|
|
## Bug Fixes
|
|
|
|
|
* Fix filetype detection to use the detected filetype if a known
|
|
|
|
|
reader is registered. (#7788)
|
|
|
|
|
* Fixed loading of ~sunpy.map.sources.ADAPTMap if sunkit-magex
|
|
|
|
|
v1.0.0 is installed. (#7798)
|
|
|
|
|
* Fixed loading of GOES XRS files with newer versions of numpy
|
|
|
|
|
|
|
|
|
|
-------------------------------------------------------------------
|
|
|
|
|
Sat Aug 17 13:51:40 UTC 2024 - Ben Greiner <code@bnavigator.de>
|
|
|
|
|
|
|
|
|
|
- Update to 6.0.1
|
|
|
|
|
## Bug Fixes
|
|
|
|
|
* Fixed incorrect reference_date for GONG Synoptic maps. (#7758)
|
|
|
|
|
* Fix
|
|
|
|
|
:func:`sunpy.physics.differential_rotation.differential_rotate`
|
|
|
|
|
to update the reference_date attribute of the input map instead
|
|
|
|
|
of the date. (#7758)
|
|
|
|
|
* Fixed incorrect reference_date for SDO/AIA and SDO/HMI data to
|
|
|
|
|
use the T_OBS keyword instead of the DATE-OBS keyword.
|
|
|
|
|
* For AIA images, the location of SDO has been shifted up to a
|
|
|
|
|
second in time, which corresponds to a shift in Heliographic
|
|
|
|
|
Longitude by only 4 milliarcseconds. (#7758)
|
|
|
|
|
- Release 6.0.0
|
|
|
|
|
## Breaking Changes
|
|
|
|
|
* Arguments for ~sunpy.map.GenericMap.reproject_to after the
|
|
|
|
|
target WCS are now keyword-only. (#7339)
|
|
|
|
|
* Arguments for sunpy.timeseries.GenericTimeSeries.peek are now
|
|
|
|
|
keywords only. (#7340)
|
|
|
|
|
* Removed scikit-image from the "image" extra group and created a
|
|
|
|
|
new "scikit-image" extra group. (#7536)
|
|
|
|
|
* sunpy.io.read_file and sunpy.io.write_file are deprecated and
|
|
|
|
|
will be removed in the future. These were intended to be
|
|
|
|
|
private functions and should not be used. (#7537)
|
|
|
|
|
* The ANA C code has been deprecated (sunpy.io.ana.read,
|
|
|
|
|
sunpy.io.ana.get_header, sunpy.io.ana.write) and may be removed
|
|
|
|
|
in a future sunpy release. Please contact us here:
|
|
|
|
|
https://community.openastronomy.org/t/possible-deprecation-of-ana-file-readers-and-writers-in-sunpy
|
|
|
|
|
if you are making use of this code. (#7642)
|
|
|
|
|
* The .EUIMap class now returns the DATE-BEG key for
|
|
|
|
|
.GenericMap.date while continuing to use DATE-AVG as the
|
|
|
|
|
reference date for the coordinate system. (#7682)
|
|
|
|
|
* The .GenericMap.date key priority order has changed to be
|
|
|
|
|
consistent with it representing the "canonical" observation
|
|
|
|
|
time. DATE-OBS continues to have the highest priority, but now
|
|
|
|
|
DATE-BEG has higher priority than DATE-AVG. (#7682)
|
|
|
|
|
* A new property .GenericMap.reference_date has been added to
|
|
|
|
|
decouple the reference date for the coordinate system from the
|
|
|
|
|
"canonical" observation time. This new property is now passed
|
|
|
|
|
through to the map's WCS object as dateavg and is the time used
|
|
|
|
|
for .GenericMap.coordinate_frame and
|
|
|
|
|
.GenericMap.observer_coordinate. (#7682)
|
|
|
|
|
## Deprecations
|
|
|
|
|
* ~sunpy.coordinates.Helioprojective.assume_spherical_screen has
|
|
|
|
|
been deprecated in favor of ~sunpy.coordinates.SphericalScreen.
|
|
|
|
|
(#7115)
|
|
|
|
|
* sunpy.physics.differential_rotation.diff_rot has been
|
|
|
|
|
deprecated and replaced by
|
|
|
|
|
sunpy.sun.models.differential_rotation. (#7409)
|
|
|
|
|
* Deprecated all positional arguments in
|
|
|
|
|
sunpy.map.GenericMap.plot method. The annotate, axes, title,
|
|
|
|
|
clip_interval arguments should be passed as keyword arguments
|
|
|
|
|
(e.g., ..., title=True, ...) instead. (#7421)
|
|
|
|
|
* The keyword response_format in sunpy.net.vso.VSOClient.search
|
|
|
|
|
has been deprecated. This was introduced to preserve legacy
|
|
|
|
|
behaviour of the VSO client, to return
|
|
|
|
|
sunpy.net.vso.legacy_response.QueryResponse instead of
|
|
|
|
|
sunpy.net.vso.table_response.VSOQueryResponseTable objects.
|
|
|
|
|
This behaviour has been the default for over 4 years and the
|
|
|
|
|
keyword is no longer needed. This keyword and the older
|
|
|
|
|
sunpy.net.vso.legacy_response.QueryResponse class will be
|
|
|
|
|
removed in sunpy 7.0. The keyword progress in
|
|
|
|
|
sunpy.net.hek2vso.H2VClient.full_query has been deprecated and
|
|
|
|
|
will be removed in sunpy 7.0. (#7468)
|
|
|
|
|
## Removals
|
|
|
|
|
* sunpy.database has been removed. (#7320)
|
|
|
|
|
* sunpy.map.header_helper.meta_keywords has been removed. (#7337)
|
|
|
|
|
* sunpy.net.helioviewer.HelioviewerClient has been removed. Use
|
|
|
|
|
the hvpy package instead. (#7338)
|
|
|
|
|
* There was a private "Maxwell" unit within sunpy.map to register
|
|
|
|
|
it before astropy had support for it. This has now been removed
|
|
|
|
|
in favour of using the astropy version. (#7383)
|
|
|
|
|
## New Features
|
|
|
|
|
* sunpy.io.read_file will now try to detect the filetype based on
|
|
|
|
|
the content and then fallback to using the file extension.
|
|
|
|
|
(#6736)
|
|
|
|
|
* It is now possible to read the comments in a header from a
|
|
|
|
|
JPEG2000 file. (#6841)
|
|
|
|
|
* Added the ability for sunpy.map.Map to load files from a
|
|
|
|
|
generator. (#7024)
|
|
|
|
|
* Added ~sunpy.coordinates.PlanarScreen for interpreting 2D
|
|
|
|
|
~sunpy.coordinates.Helioprojective coordinates as being on the
|
|
|
|
|
inside of a planar screen. (#7115)
|
|
|
|
|
* Added the ability to pass clip_interval to
|
|
|
|
|
sunpy.map.mapsequence.MapSequence.plot. (#7253)
|
|
|
|
|
* Add support for the fill keyword in
|
|
|
|
|
~sunpy.map.GenericMap.draw_contours to allow for filled
|
|
|
|
|
contours. (#7281)
|
|
|
|
|
* ~sunpy.coordinates.get_horizons_coord now supports time arrays
|
|
|
|
|
with up to 10,000 elements. (#7319)
|
|
|
|
|
* Add an example of plotting a rectangle on a map with a rotation
|
|
|
|
|
angle relative to the axes
|
|
|
|
|
(sphx_glr_generated_gallery_plotting_plot_rotated_rectangle.py).
|
|
|
|
|
(#7348)
|
|
|
|
|
* Added testing and explicit support for Python 3.12. (#7351)
|
|
|
|
|
* Added warning when importing a submodule without installing
|
|
|
|
|
that submodules extra dependencies. (#7369)
|
|
|
|
|
* Added a warning message for rsun mismatch in
|
|
|
|
|
~sunpy.map.GenericMap.reproject_to method. (#7370)
|
|
|
|
|
* Added a new optional extra group to install "opencv" if you
|
|
|
|
|
want to it for affine transforms. pip install sunpy[opencv]
|
|
|
|
|
#7383
|
|
|
|
|
* sunpy.map.GenericMap.draw_contours don't run internal transform
|
|
|
|
|
code if transform keyword is provided. (#7427)
|
|
|
|
|
* Update ASDF schemas for upcoming ASDF standard 1.6.0. (#7432)
|
|
|
|
|
* Add a new map source ~sunpy.map.sources.gong.GONGHalphaMap for
|
|
|
|
|
GONG H-Alpha data. (#7451)
|
|
|
|
|
* Added ~sunpy.coordinates.spice.get_rotation_matrix to obtain
|
|
|
|
|
the rotation matrix between the orientations of two SPICE
|
|
|
|
|
frames, which is particularly useful for transforming vector
|
|
|
|
|
fields. (#7452)
|
|
|
|
|
* Allow units to be passed to
|
|
|
|
|
~sunpy.map.header_helper.make_fitswcs_header as strings.
|
|
|
|
|
(#7454)
|
|
|
|
|
* A new client (sunpy.net.dataretriever.ADAPTClient) has been
|
|
|
|
|
added to search and download ADAPT files. (#7463)
|
|
|
|
|
* sunpy.net.jsoc.JSOCClient queries now return the SUMS directory
|
|
|
|
|
paths as the segment key value in the results table. (#7469)
|
|
|
|
|
* Allow the screen radius to be set when using
|
|
|
|
|
~sunpy.coordinates.SphericalScreen. (#7532)
|
|
|
|
|
* Updated sunpy.map.GenericMap.submap to check if it is about to
|
|
|
|
|
work on locations with NaNs now errors and informs the user
|
|
|
|
|
that they likely want to use
|
|
|
|
|
~sunpy.coordinates.Helioprojective.assume_spherical_screen so
|
|
|
|
|
that the off-disk 2D coordinate can be converted to a 3D
|
|
|
|
|
coordinate. (#7543)
|
|
|
|
|
* ~sunpy.map.GenericMap will now assign units of DN without a
|
|
|
|
|
warning or error. (#7585)
|
|
|
|
|
* Add a new map source ~sunpy.map.sources.ADAPTMap for ADvanced
|
|
|
|
|
Adaptive Prediction Technique (ADAPT) data files. (#7640)
|
|
|
|
|
* Added support for JSOC's HMI millisecond TAI time format.
|
|
|
|
|
Previously, it would only work with seconds. (#7656)
|
|
|
|
|
* Added build support for aarch64 wheels. (#7679)
|
|
|
|
|
## Bug Fixes
|
|
|
|
|
* Long object names are no longer truncated in the logging output
|
|
|
|
|
of ~sunpy.coordinates.get_horizons_coord. (#7319)
|
|
|
|
|
* When calling sunpy.map.GenericMap.rotate on an integer data
|
|
|
|
|
array, with missing set to NaN (the default value), the method
|
|
|
|
|
will now itself raise an informative error message instead
|
|
|
|
|
deferring to NumPy to raise the error. (#7344)
|
|
|
|
|
* Fixed the appearance of a double "Notes" heading in
|
|
|
|
|
~sunpy.map.Map subclasses. (#7376)
|
|
|
|
|
* ~sunpy.map.Map with UINT8 data will now not error on plotting
|
|
|
|
|
due to normalization. We now skip adding a normalization.
|
|
|
|
|
(#7422)
|
|
|
|
|
* When calling ~sunpy.map.GenericMap.reproject_to along with both
|
|
|
|
|
context managers
|
|
|
|
|
~sunpy.coordinates.propagate_with_solar_surface and
|
|
|
|
|
~sunpy.coordinates.Helioprojective.assume_spherical_screen now
|
|
|
|
|
raises a warning. (#7437)
|
|
|
|
|
* Fix a bug which caused Fido.search to crash due to SSL
|
|
|
|
|
certificate verification error for the
|
|
|
|
|
~sunpy.net.helio.HECClient now returns no results and logs a
|
|
|
|
|
warning in this case. (#7446)
|
|
|
|
|
* Fixed the sanitization of the names of files downloaded via VSO
|
|
|
|
|
so that periods are no longer replaced and case is no longer
|
|
|
|
|
forced to be lowercase. (#7453)
|
|
|
|
|
* The creation of the series string for a JSOC query was not
|
|
|
|
|
adding the correct escape characters for comparison values for
|
|
|
|
|
keywords. This was causing the JSOC to error. (#7467)
|
|
|
|
|
* The EVE L0CS client now uses the new URLs for the data from
|
|
|
|
|
LASP. (#7483)
|
|
|
|
|
* JPEG2000 files are now saved with the correct orientation.
|
|
|
|
|
Previously they would be vertically flipped when saved. (#7486)
|
|
|
|
|
* Fixed a very minor inaccuracy in three sunpy.map utility
|
|
|
|
|
functions (~sunpy.map.contains_full_disk,
|
|
|
|
|
~sunpy.map.coordinate_is_on_solar_disk, and
|
|
|
|
|
~sunpy.map.is_all_off_disk) resulting from the accidental use
|
|
|
|
|
of the small-angle approximation. (#7512)
|
|
|
|
|
* The ~sunpy.map.GenericMap.rotate function now correctly updates
|
|
|
|
|
the NAXISi. (#7522)
|
|
|
|
|
* Added a check in
|
|
|
|
|
sunpy.physics.differential_rotation.solar_rotate_coordinate to
|
|
|
|
|
ensure the input frame has an "observer" attribute before
|
|
|
|
|
replicating frame attributes, preventing potential issues with
|
|
|
|
|
frames lacking this attribute. (#7526)
|
|
|
|
|
* Fixed an inaccuracy in the implementation of
|
|
|
|
|
~sunpy.coordinates.HeliocentricEarthEcliptic and
|
|
|
|
|
~sunpy.coordinates.GeocentricSolarEcliptic such that the Earth
|
|
|
|
|
was not exactly in the XY plane, but rather had an error of up
|
|
|
|
|
~10 meters. (#7530)
|
|
|
|
|
* The maximum records in ~sunpy.net.helio.HECClient now are
|
|
|
|
|
20000. (#7540)
|
|
|
|
|
* Fixed a bug with any coordinate transformation starting in
|
|
|
|
|
~sunpy.coordinates.GeocentricEarthEquatorial (GEI) returning
|
|
|
|
|
output with AU as the length unit, rather than preserving the
|
|
|
|
|
length unit of the initial coordinate. (#7545)
|
|
|
|
|
* Fixed a bug that interfered with
|
|
|
|
|
astropy.wcs.utils.celestial_frame_to_wcs when working with a
|
|
|
|
|
custom subclass of
|
|
|
|
|
~sunpy.coordinates.frames.SunPyBaseCoordinateFrame. (#7594)
|
|
|
|
|
* Fixed bug where conversion of results from the HEKClient to
|
|
|
|
|
Astropy Time failed when some values where empty or missing for
|
|
|
|
|
the values of event_strattime, event_endtime or event_peaktime
|
|
|
|
|
(#7627)
|
|
|
|
|
* Fix the ~sunpy.map.sources.gong.GONGHalphaMap.rsun_obs to use
|
|
|
|
|
correct header information solar-r keyword. (#7652)
|
|
|
|
|
* Fix compilation with gcc 14, avoid implicit pointer
|
|
|
|
|
conversions. (#7662)
|
|
|
|
|
* Fixed a bug where "DN" was not able to be parsed by
|
|
|
|
|
~sunpy.map.header_helper.make_fitswcs_header due to strict
|
|
|
|
|
checking against the FITS standard. This is now consistent with
|
|
|
|
|
how unit strings are parsed in ~sunpy.map.GenericMap. (#7730)
|
|
|
|
|
* Fixed a bug where ~sunpy.map.sources.XRTMap was still
|
|
|
|
|
defaulting to counts rather than DN. (#7744)
|
|
|
|
|
## Internal Changes
|
|
|
|
|
* sunpy.net.jsoc.JSOCClient.fetch called drms API that passed a
|
|
|
|
|
progress keyword which added extra print statements to the
|
|
|
|
|
console. This has been removed in drms 0.7.0, which had
|
|
|
|
|
breaking API changes within this release. As a result, we
|
|
|
|
|
increased the minimum required version of drms to 0.7.1.
|
|
|
|
|
* This specifically refers to the following information that was
|
|
|
|
|
printed to the console by default:
|
|
|
|
|
|
|
|
|
|
"Export request pending. [id=X, status=X]" "Waiting for X
|
|
|
|
|
seconds..." "Request not found on server, X retries left."
|
|
|
|
|
|
|
|
|
|
These were handled by drms and are now logging messages. If you
|
|
|
|
|
want to silence these messages, you can set the logging level
|
|
|
|
|
to WARNING or higher.
|
|
|
|
|
|
|
|
|
|
import logging
|
|
|
|
|
drms_logger = logging.getLogger("drms")
|
|
|
|
|
drms_logger.setLevel(logging.WARNING)
|
|
|
|
|
|
|
|
|
|
from sunpy.net import fido, attrs
|
|
|
|
|
|
|
|
|
|
Note, you have to do it before you import fido. (#7307)
|
|
|
|
|
* The function ~sunpy.coordinates.get_horizons_coord no longer
|
|
|
|
|
calls the astroquery package, so astroquery is no longer a
|
|
|
|
|
dependency. (#7319)
|
|
|
|
|
* The requests package is a now formally a core dependency.
|
|
|
|
|
requests was already commonly installed as an implied
|
|
|
|
|
dependency of sunpy.net or for building documentation. (#7319)
|
|
|
|
|
* ~sunpy.net.jsoc.attrs.Notify checks that a valid email address
|
|
|
|
|
has been given as a value. (#7342)
|
|
|
|
|
* The delim_whitespace keyword in pandas.read_csv is deprecated
|
|
|
|
|
and was updated with sep='\s+'. This should have no affect on
|
|
|
|
|
the output of the code. (#7350)
|
|
|
|
|
* Fixed an environment-specific failure of a unit test for
|
|
|
|
|
sunpy.coordinates.Helioprojective.is_visible. (#7356)
|
|
|
|
|
* Moved to pyproject.toml and removed setup.py and setup.cfg.
|
|
|
|
|
(#7384)
|
|
|
|
|
* pyerfa is now a new direct dependency. It has been an indirect
|
|
|
|
|
dependency from sunpy 3.1, over two years ago. (#7397)
|
|
|
|
|
* Increased Python minimum version to be >= 3.10. (#7402)
|
|
|
|
|
* Fixed an unnecessary division computation when performing a
|
|
|
|
|
unsupported division operation using a ~sunpy.map.Map. (#7551)
|
|
|
|
|
* Updated the internal URL for the
|
|
|
|
|
~sunpy.net.dataretriever.sources.norh.NoRHClient to point to a
|
|
|
|
|
HTTPS archive of the NoRH data. (#7696)
|
|
|
|
|
- Add sunpy-exclude-toplevel.patch
|
|
|
|
|
|
|
|
|
|
-------------------------------------------------------------------
|
|
|
|
|
Thu Jul 11 08:57:36 UTC 2024 - Ben Greiner <code@bnavigator.de>
|
|
|
|
|
|
|
|
|
|
- Revert restriction.
|
|
|
|
|
https://github.com/sunpy/sunpy/blob/v5.1.4/pyproject.toml#L17
|
|
|
|
|
|
|
|
|
|
-------------------------------------------------------------------
|
|
|
|
|
Tue Jul 9 05:13:08 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
|
|
|
|
|
|
|
|
|
|
- Restrict numpy to < 2.
|
|
|
|
|
|
|
|
|
|
-------------------------------------------------------------------
|
|
|
|
|
Mon Jun 10 19:26:13 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
|
|
|
|
|
|
|
|
|