SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

 
 
Changelog for python312-sunpy-5.1.1-1.5.x86_64.rpm :

* Sun Jan 21 2024 Dirk Müller - update to 5.1.1:
* Add an example of plotting a rectangle on a map with a rotation angle relative to the axes (:ref:`sphx_glr_generated _gallery_plotting_plot_rotated_rectangle.py`).
* Added testing and explicit support for Python 3.12.
* When calling :meth:`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.
* Fixed the usage of :meth:`~sunpy.map.GenericMap.superpixel` in :ref:`sphx_glr_generated_gallery_map_map_resampling_and_su perpixels.py`.
* Added Clarification on setting JSOC Email.
* Added explanation text to :ref:`sphx_glr_generated_gallery_pl otting_plotting_blank_map.py` about the offset between \"(0, 0)\" in helioprojective coordinates and the heliographic equator.
* 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.
* Fixed an environment-specific failure of a unit test for :meth:`sunpy.coordinates.Helioprojective.is_visible`.
* Fri Nov 24 2023 Ben Greiner - Update to 5.1.0 [#]# New Features
* Added the ability to skip over errors raised for invalid fits files when passing a list of files to map using the existing keyword argument silence_errors. (#7018)
* Added a sunpy.coordinates.Helioprojective.is_visible method to return whether the coordinate is visible (i.e., not obscured from the observer assuming that the Sun is an opaque sphere). (#7118)
* Added a keyword option (quiet) for ~sunpy.coordinates.get_body_heliographic_stonyhurst to silence the normal reporting of the light-travel-time correction when observer is specified. (#7142)
* Added the function sunpy.coordinates.sun.eclipse_amount to calculate the solar-eclipse amount for an observer. (#7142)
* Add a keyword (map_center_longitude) to ~sunpy.map.header_helper.make_heliographic_header for centering the heliographic map at a longitude other than zero longitude. (#7143)
* The minimum required version of Glymur (an optional dependency for reading JPEG2000 files) has been increase to 0.9.1. (#7164)
* Added new default colormap scalings for WISPR Maps. Plots are now clipped at zero, and ~astropy.visualization.AsinhStretch is used for the scaling to ensure coronal details are visible despite the much-brighter stars. Parsing of the detector and level fields of the FITS headers is also improved. (#7180)
* When creating a coordinate or coordinate frame without specifying obstime, the obstime value from the observer frame attribute will be used if present. (#7186)
* Added a GONG synoptic map class which fixes non-compliant FITS metadata (#7220)
* Added the module sunpy.coordinates.spice to enable the use of the ~astropy.coordinates.SkyCoord API to perform computations using SPICE kernels. (#7237)
* Added three coordinate frames that depend on the orientation of Earth\'s magnetic dipole: ~sunpy.coordinates.Geomagnetic (MAG), ~sunpy.coordinates.SolarMagnetic (SM), and ~sunpy.coordinates.GeocentricSolarMagnetospheric (GSM). (#7239) [#]# Bug Fixes
* Fix RHESSI (~sunpy.net.dataretriever.RHESSIClient) fallback server detection. (#7092)
* Fix bug in ~sunpy.coordinates.get_horizons_coord when specifying a time range via a dictionary that could cause the returned times to be slightly different from the supplied times. (#7106)
* Updated the url of the ~sunpy.net.dataretriever.GBMClient to match on files other than those that end with version 0 (i.e., V0.pha). (#7148)
* When directly instantiating a ~astropy.wcs.WCS from a FITS header that contains both Stonyhurst and Carrington heliographic coordinates for the observer location, the Stonyhurst coordinates will now be prioritized. This behavior is now consistent with the ~sunpy.map.Map class, which has always prioritized Stonyhurst coordinates over Carrington coordinates. (#7188)
* Fixed a bug with ~sunpy.map.sample_at_coords() where sampling outside the bounds of the map would sometimes not error and instead return strange pixel values. (#7206)
* Improved code when loading CDF files to improve performance and avoid raising of pandas performance warnings. (#7247)
* Fixed a bug with sunpy.map.GenericMap.plot where setting norm to None would result in an error. (#7261) [#]# Deprecations
* Deprecated silence_errors in Map and Timeseries. This has been replaced with allow_errors keyword. (#7021)
* The sunpy.coordinates.transformations module is now slated for removal from the public API as it consists of internal functions used by coordinate transformations. The context managers sunpy.coordinates.transform_with_sun_center and sunpy.coordinates.propagate_with_solar_surface should be accessed under sunpy.coordinates. (#7113) [#]# Removals
* sunpy.map.extract_along_coord() has been removed. Instead, use ~sunpy.map.pixelate_coord_path, and then pass its output to ~sunpy.map.sample_at_coords. pixelate_coord_path uses a different line algorithm by default, but you can specify bresenham=True as an argument to use the same line algorithm as extract_along_coord. (#7200)
* sunpy.visualisation.limb.draw_limb() has been removed. Use sunpy.visualization.drawing.limb instead. (#7202)
* Removed GenericTimeSeries.index. Use GenericTimeseries.time instead as a direct replacement. (#7203)
* Removed the deprecated sunpy.io.cdf submodule, which is not intended to be user facing. (#7240)
* Removed the deprecated sunpy.io.jp2, which is not intended to be user facing. (#7241)
* Removed the deprecated sunpy.io.file_tools, which is not intended to be user facing. (#7242)
* The deprecated sunpy.data.download_sample_data() has been removed Use sunpy.data.sample.download_all instead. (#7250) [#]# Internal Changes
* Removed the Binder configuration and link in README. This is because the configuration was untested, and does not currently work. (#7062)
* Add a Dependabot config file to auto-update GitHub action versions. (#7068)
* Add tests to check whether various ~sunpy.map.Map methods preserve laziness when operating on Maps backed by a dask.array.Array. (#7100)
* Added missing support to find GOES-18 XRS data in ~sunpy.net.dataretriever.XRSClient. (#7108)
* Raise an error with a helpful message when sunpy.map.GenericMap.plot is called with a non-boolean value for the annotate keyword, because the user is probably trying to specify the axes. (#7163)
* Fixed our ASDF manifest having the incorrect ID. (#7282)
* Fix example formatting in a few asdf schemas. (#7292)
* Pinned the drms requirement to < 0.7 to avoid breaking changes in drms version 0.7. (#7308)
* Thu Sep 14 2023 Markéta Machová - Update to 5.0.1
* Fix RHESSI (RHESSIClient) fallback server detection.
* Fix bug in get_horizons_coord() when specifying a time range via a dictionary that could cause the returned times to be slightly different from the supplied times.
* Updated the url of the GBMClient to match on files other than those that end with version 0
* Added missing support to find GOES-18 XRS data in XRSClient.- Really drop python-311.patch
* Fri Aug 04 2023 Steve Kowalik - Update to 5.0.0:
* `~sunpy.net.dataretriever.XRSClient` now provides the re-processed GOES-XRS 8-15 data from NOAA.
* Changed the output of :func:`sunpy.map.sample_at_coords` to return the sampled values as `~astropy.units.Quantity` with the appropriate units instead of merely numbers.
* Able to run the ``sunpy`` tests doing ``python -m sunpy.tests.self_test``.
* Able to detect gzip-compressed FITS files even if they don\'t have the ``.gz`` extension in the filename. `~sunpy.io.detect_filetype` now looks for the right file signature while checking for gzipped FITS files.
* Added ``AttrAnd`` and ``AttrOr`` to the namespace in ``sunpy.net.attrs``.
* `~sunpy.net.dataretriever.SUVIClient` now provides GOES-18 SUVI data.
* The minimum required versions of several core dependencies have been updated: + Python 3.9 + astropy 5.0.1 + numpy 1.21.0
* Added the utility function :func:`sunpy.map.pixelate_coord_path` to fully pixelate a coordinate path according to the pixels of a given map.
* Able to download files from REST/TAP Data Providers from the VSO.
* Adding data unit into html repr for `sunpy.map.Map`
* Joined ``HISTORY`` keys with newline characters when parsing ``HISTORY`` cards from FITS header.
* Added the ability to query for the GOES-XRS 1 minute average data with the `.XRSClient`.
* Increased minimum version of `parfive` to 2.0.0.
* Fixed the incorrect calculation in sunpy.map.header_helper.make_fitswcs_header` of the rotation matrix from a rotation angle when the pixels are non-square.
* Fixed an issue with loading old EIT fits files with `sunpy.map.Map` where the date could not be parsed.
* Fixed a bug where the `~sunpy.map.GenericMap.exposure_time` returned ``None`` when the exposure time key was set to zero.
* HMI JPEG2000 files from Helioviewer could not be loaded due to a bug in setting the plotting normalization.
* The ``data_manager`` was not raising failed downloads correctly and would continue as if the file existed locally.
* `~sunpy.map.sources.XRTMap` will now set the unit for XRT files if the ``BUNIT`` key is missing.
* `~sunpy.net.dataretriever.XRSClient` update use the new url for which the GOES-XRS 8-15 data is provided by NOAA.
* Updated `~sunpy.database` to be compatible with ``SQLAlchemy`` versions >=2.0
* When using ``autoalign=True`` when plotting maps, the result was misaligned by half a pixel.
* :meth:`sunpy.map.GenericMap.submap` can now handle a `~astropy.coordinates.BaseCoordinateFrame` as input.
* Multi-line ``HISTORY`` and ``COMMENT`` keys metadata dictionaries are now correctly split into multiple history and comment cards when writing a FITS file.
* Pass in \"max_splits\" to Parfive to prevent multi connections to JSOC for JSOC only queries.
* When converting an `astropy.wcs.WCS` object to a solar coordinate frame the ``DATE-AVG`` key will be used before the ``DATE-OBS`` key, previously only ``DATE-OBS`` was checked.
* `sunpy.map.GenericMap.rotation_matrix` now applies the default values if any FITS rotation matrix keywords are missing from the header.
* Modified :func:`sunpy.io.special.srs.read_srs` to correctly handle uppercase SRS files and supplementary sections occurring after the main data sections.- Drop patch python-311.patch, no longer required.- Switch to pyproject macros.- Reinstate dask for python311, numba exists now.
* Thu Mar 23 2023 Ben Greiner - Don\'t test with dask for python311: No numba yet
* Mon Feb 27 2023 Daniel Garcia - Remove patch sunpy-pr6662-np1.24.patch- Add patch python-311.patch to support python 3.11, gh#sunpy/sunpy#6512- Update to v4.1.3
* Backport PR #6740 on branch 4.1 (Exclude scipy==1.10.0 in deps) by AATTmeeseeksmachine in #6746
* Backport PR #6749 on branch 4.1 (Unpin and update database for SQLA 2.0) by AATTmeeseeksmachine in #6750
* Backport PR #6731 on branch 4.1 (fig-devdeps : Have to add a unit to lon.coord_wrap) by AATTmeeseeksmachine in #6753
* Backport PR #6711 on branch 4.1 (Raise error if downloader for cache fails) by AATTmeeseeksmachine in #6755
* Backport PR #6725 on branch 4.1 (add unit detection for XRT data) by AATTmeeseeksmachine in #6761
* Backport PR #6737 on branch 4.1 (Updating the GOES-XRS baseurl following change on noaa side) by AATTmeeseeksmachine in #6762
* Backport PR #6710 on branch 4.1 (Fix init issue for JP2 HMI images from helioveiwer) by AATTmeeseeksmachine in #6765
* Backport PR #6648 on branch 4.1 (Fix draw_quadrangle() so that it accepts frames with data) by AATTmeeseeksmachine in #6777- v4.1.2
* Backport PR #6694 on branch 4.1 (pin sqlalchemy<2.0 and ignore warning for now) by AATTmeeseeksmachine in #6697
* Backport PR #6693 on branch 4.1 (detect gzipped-FITS files by magic-bytes) by AATTmeeseeksmachine in #6700
* Backport PR #6702 on branch 4.1 (fix the extremely minor issue in Fido docs) by AATTmeeseeksmachine in #6704
* Backport PR #6712 on branch 4.1 (Add changelog entry for sqlalchemy pin) by AATTmeeseeksmachine in #6714
* Backport PR #6728 on branch 4.1 (Fix HISTORY key in test maps created from header files) by AATTmeeseeksmachine in #6730- v4.1.1
* Added three tutorials which replicate ~sunpy.map.CompositeMap functionality (sphx_glr_generated_gallery_plotting_AIA_HMI_composite.py, sphx_glr_generated_gallery_plotting_masked_composite_plot.py, sphx_glr_generated_gallery_plotting_three_map_composite.py). A fourth tutorial (sphx_glr_generated_gallery_plotting_rgb_composite.py) demonstrates how to create an RGB image with three different maps. (#6459)
* Fixed the incorrect calculation in ~sunpy.map.header_helper.make_fitswcs_header of the rotation matrix from a rotation angle when the pixels are non-square. (#6597)
* Fixed an issue with loading old EIT fits files with sunpy.map.Map where the date could not be parsed. (#6605)
* Added sunpy.map.PixelPair to the reference documentation. (#6620)
* Sat Dec 24 2022 Ben Greiner - Add sunpy-pr6662-np1.24.patch gh#sunpy/sunpy#6662
* Ignore deprecation message from numpy 1.24
* Mon Nov 21 2022 Ben Greiner - Update to v4.1.0 [#]# Breaking Changes
* Updated the sample data file, AIA_171_ROLL_IMAGE to be rice compressed instead of gzip compressed. This means that the data is now stored in the second HDU. (#6221) [#]# Deprecations
* Passing positional arguments to all timeseries peek() methods is now deprecated, and will raise an error in sunpy 5.1. Pass the arguments with keywords (e.g. title=\'my plot title\') instead. (#6310)
* Using sunpy.timeseries.GenericTimeSeries.index is deprecated. Use ~sunpy.timeseries.GenericTimeSeries.time to get an astropy Time object, or ts.to_dataframe().index to get the times as a pandas DataTimeIndex. (#6327)
* Deprecated the sunpy.visualization.limb module. The sunpy.visualization.limb.draw_limb function has been moved into ~sunpy.visualization.drawing as ~sunpy.visualization.drawing.limb. (#6332)
* The sunpy.net.helioviewer module is deprecated and will be removed in version 5.1. The Helioviewer Project now maintains a replacement Python library called hvpy. As such, in consultation with the Helioviewer Project, we have decided to deprecate the HelioviewerClient class. (#6404)
* Passing the algorithm, return_footprint arguments as positional arguments is deprecated. Pass them as keyword arguments (e.g. ..., return_footprint=True, ...) instead. (#6406)
* sunpy.data.download_sample_data is now deprecated. Use sunpy.data.sample.download_all instead. (#6426)
* The sunpy.database module is no longer actively maintained and has a number of outstanding issues. It is anticiapted that sunpy.database will be formally deprecated in sunpy 5.0 and removed in sunpy 6.0. If you are using sunpy.database and would like to see a replacement, please join the discussion thread at https://community.openastronomy.org/t/deprecating-sunpy-database/495. (#6498) [#]# Removals
* The sunpy.io.fits sub-module has been removed, as it was designed for internal use. Use the astropy.io.fits module instead for more generic functionality to read FITS files. (#6432)
* The sunpy.physics.solar_rotation sub-module has been removed, having been moved to sunkit_image.coalignment. (#6433)
* Most of the sunpy.visualization.animator subpackage has been removed, with the exception of ~sunpy.visualization.animator.MapSequenceAnimator It has been moved into the standalone mpl-animators package Please update your imports to replace sunpy.visualization.animator with mpl_animators. (#6434)
* Remove GenericMap.shift method and the GenericMap.shifted_value. Use ~sunpy.map.GenericMap.shift_reference_coord instead. (#6437)
* sunpy.util.scraper has been removed. Use sunpy.net.scraper instead. (#6438)
* sunpy.image.coalignment has been removed. Use sunkit_image.coalignment instead, which contains all the same functionality. (#6440)
* sunpy.map.GenericMap.draw_limb can no longer be used to draw the limb on a non-WCS Axes plot. (#6533)
* sunpy.image.resample no longer accepts \"neighbour\" as an interpolation method. Use \"nearest\" instead. (#6537)
* sunpy.image.transform.affine_transform and sunpy.map.GenericMap.rotate no longer accepts the use_scipy keyword. (#6538) [#]# New Features
* Updated and expanded the HTML representation for ~sunpy.timeseries.TimeSeries. (#5951)
* When reading CDF files, any columns with a floating point data type now have their masked values converted to NaN. (#5956)
* Add support for saving ~sunpy.map.GenericMap as JPEG 2000 files. (#6153)
* Add a function sunpy.map.extract_along_coord that, for a given set of coordinates, finds each array index that crosses the line traced by those coordinates and returns the value of the data array of a given map at those array indices. (#6189)
* Three new maps have been added to the sample data from STEREO A and STEREO B at 195 Angstrom, and AIA at 193 Angstrom. These images are from a time when the three spacecraft were equally spaced around the Sun, and therefore form near complete instantaneous coverage of the solar surface.
* Users upgrading to this version will find this three files download when they use the sample data for the first time. (#6197)
* Added a SDO/AIA 1600 file of the Venus transit to the sunpy sample data. (#6242)
* Created the sunpy.visualization.drawing module which includes new ~sunpy.visualization.drawing.equator and ~sunpy.visualization.drawing.prime_meridian functions. (#6251)
* Expose GOES quality flags in order to allow filtering corrupt values when using the ~sunpy.timeseries.sources.goes.XRSTimeSeries. (#6260)
* All TimeSeries plotting methods now consistently set the same formatter and locator for the x-axis. (#6264)
* sunpy.timeseries.GenericTimeSeries.peek now takes a title argument to set the title of the plot. (#6304)
* Added the sunpy.timeseries.GenericTimeSeries.time property to get the times of a timeseries as a ~astropy.time.Time object. (#6327)
* Added the sphx_glr_generated_gallery_plotting_plot_equator_prime_meridian.py example to the Example Gallery. (#6332)
* Added a new function sunpy.map.header_helper.make_heliographic_header to help with generating FITS-WCS headers in Carrington or Stonyhurst coordinate systems that span the entire solar surface. (#6415)
* Sample data files provided through sunpy.data.sample are now downloaded individually on demand rather than being all downloaded upon import of that module. To download all sample data files, call sunpy.data.sample.download_all. (#6426)
* ~.XRSTimeSeries is now able to parse the primary detector information from the GOES-R XRS data if available. (#6454)
* sunpy.net.Scraper now includes treats files as spanning a full interval equal to the smallest increment specified in the file pattern. For example, a pattern like \"%Y.txt\" that only contains a year specifier will be considered to span that full year.
* This means searches that fall entirely within the whole interval spanned by a pattern will return that file, where previously they did not. As an example, matching \"%Y.txt\" with TimeRange(\'2022-02-01\', \'2022-04-01\') will now return [\"2022.txt\"] where previously no files were returned. (#6472)
* Implemented site configuration for sunpyrc, and modified documentation for sunpy customization. (#6478)
* ~sunpy.map.header_helper.make_fitswcs_header now includes the keyword argument unit for setting the BUNIT FITS keyword in the resulting header. This will take precedence over any unit information attached to data. (#6499)
* If the data argument to ~sunpy.map.header_helper.make_fitswcs_header is an ~astropy.units.Quantity, the associated unit will be used to set the BUNIT FITS keyword in the resulting header. (#6499)
* Added a 304 sample data file called AIA_304_IMAGE. (#6546) [#]# Bug Fixes
* Fix a bug that prevented EUI maps with missing wavelength.- Release 4.0.7 [#]# Bug Fixes
* Fixed the incorrect calculation in ~sunpy.map.header_helper.make_fitswcs_header of the rotation matrix from a rotation angle when the pixels are non-square. (#6597)
* Fixed bug that prevented ~sunpy.coordinates.metaframes.RotatedSunFrame instances from being pickled. (#6342)
* The right-hand y-axis of the GOES-XRS timeseries plots with labelled flare classes now automatically scales with the left-hand y-axis. (#6486)
* Add support for Python 3.11.
* The deprecated cgi.parse_header is now available as sunpy.util.net.parse_header. (#6512)
* Fixed the metadata handling of ~sunpy.map.GenericMap.resample and ~sunpy.map.GenericMap.superpixel so that the CDELTi values are scaled and the PCi_j matrix (if used) is modified in the correct manner for asymmetric scaling. The previous approach of having the PCi_j matrix store all of the scaling resulted in non-intuitive behaviors when accessing the ~sunpy.map.GenericMap.scale and ~sunpy.map.GenericMap.rotation_matrix properties, and when de-rotating a map via ~sunpy.map.GenericMap.rotate. (#6571)
* Fixed a bug with the sunpy.map.GenericMap.rotation_matrix property for maps using the CDij matrix formulism where the rotation matrix would be calculated incorrectly for non-square pixels. (#6573)
* Fixd a bug with the sunpy.map.GenericMap.scale property for maps containing only the CDij matrix where the scale was not being determined from the CDij matrix. (#6573)
* Fixed a bug where ~sunpy.time.parse_time would always disregard the remainder of a time string starting with the final period if it was followed by only zeros, which could affect the parsing of the time string. (#6581)
* Mon Nov 07 2022 Ben Greiner - Update to v4.0.6
* Fix a bug in loading .XRSTimeSeries due to unsupported quality flag column names. (#6410)
* Adds units (dimensionless units) to the quality columns in .XRSTimeSeries. (#6423)
* Refactored ~sunpy.map.sources.SXTMap to use ITRS observer coordinate information in header rather than incorrect HGS keywords. The ~sunpy.map.sources.SXTMap also now uses the default dsun property as this information can be derived from the (now corrected) observer coordinate. (#6436)
* In sunpy.map.GenericMap.coordinate_system and sunpy.map.GenericMap.date, the default values will now be used if the expected key(s) used to derive those properties are empty. Previously, empty values of these keys were not treated as missing and thus the default values were not correctly filled in. (#6436)
* Fixed a bug where the observer coordinate was incorrectly determined for ~sunpy.map.sources.KCorMap. (#6447)
* Trying to download an empty search response from the JSOC now results in an empty results object. Previously the results object contained the path to the sunpy download directory. (#6449)
* Removed an error when searching CDAWEB using sunpy.net.Fido and no results are returned. An empty response table is now returned. (#6450)
* Fix a bug to parse the GOES \"observatory\" number in ~.XRSTimeSeries for GOES 13, 14, 15 and for the 1 minute GOES-R data. (#6451)
* Changed the default scaling for ~sunpy.map.sources.XRTMap from a linear stretch to ~astropy.visualization.LogStretch.
* To revert to the previous linear stretch do the following: from astropy.visualization import ImageNormalize, LinearStretch xrtmap.plot_settings[\"norm\"] = ImageNormalize(stretch=LinearStretch()) (#6480)
* Fix the detector property of ~sunpy.map.sources.SOTMap to return \"SOT\". (#6480)- Release v4.0.5
* Test data cleanup (#6065) by AATTnabobalis in #6354
* Minor improvements to data acquisition guide
* Allow EVE to have two additional files in Fido search test
* pin version of jsonschema
* Removes lingering use of Astropy\'s matrix_product()
* Fix Matplotlib colormap deprecation
* Fix the ordering of the API docs
* Fix adaptive reproject test with reproject 0.9
* Fix Matplotlib get_cmap deprecation
* Change the jsoc email to a sunpy one- Drop sunpy-scikit-image-deprecation.patch
* Thu Aug 11 2022 Ben Greiner - Update to v4.0.4
* update metadata for pypi page
* Add bugfix release policy to docs
* Update license year- Release v4.0.3
* Fixed ~sunpy.timeseries.sources.XRSTimeSeries inability to read leap-second files for GOES. It floors the leap-second timestamp to be 59.999, so that Python datetime does not raise an exception. (#6262)
* Fixed bugs when working with a coordinate frame where the observer is specified in ~sunpy.coordinates.frames.HeliographicStonyhurst with a Cartesian representation, which is equivalent to Heliocentric Earth Equatorial (HEEQ). Now, the observer will always be converted to spherical representation when the coordinate frame is created. (#6311)
* Fixed an error when Fido returns zero results from the VSO and some results from at least one other data source. This (now fixed) error is only present when using numpy version >= 1.23. (#6318)
* Mon Jun 27 2022 Ben Greiner - Update to v4.0.2
* Added a SDO/AIA 1600 file of the Venus transit to the sunpy sample data. (#6242)
* Expose GOES quality flags in order to allow filtering corrupt values when using the ~sunpy.timeseries.sources.goes.XRSTimeSeries. (#6260)
* The sunpy.net.dataretriever.sources.noaa.SRSClient was not correctly setting the passive mode for FTP connection resulting in a permission error. This has been fixed. (#6256)
* Changed the default scaling for ~sunpy.map.sources.EUIMap from a linear stretch to a asinh stretch. To revert to the previous linear stretch do the following: from astropy.visualization import ImageNormalize, LinearStretch euimap.plot_settings[\"norm\"] = ImageNormalize(stretch=LinearStretch())
* Add support for upcoming parfive 2.0 release. (#6243)
* The primary sample-data URL will be changing from https://github.com/sunpy/sample-data/raw/master/sunpy/v1/ to https://github.com/sunpy/data/raw/main/sunpy/v1/. We expect GitHub to redirect from the old URL for sometime but will eventually expire it. The data.sunpy.org mirror will continue to be available. (#6289)
* Add support for downloading sample data from more than two mirror locations. (#6295)- Relese 4.0.1
* Updated the sample data file, AIA_171_ROLL_IMAGE to be rice compressed instead of gzip compressed. This means that the data is now stored in the second HDU. (#6221)
* Three new maps have been added to the sample data from STEREO A and STEREO B at 195 Angstrom, and AIA at 193 Angstrom. These images are from a time when the three spacecraft were equally spaced around the Sun, and therefore form near complete instantaneous coverage of the solar surface.
* Users upgrading to this version will find this three files download when they use the sample data for the first time. (#6197)
* Fix a bug that prevented EUI maps with missing wavelength metadata loading. (#6199)
* Improved annotations in the SRS active regions plotting example. (#6196)
* Updated gallery examples that use STEREO data to use sample data instead of searching for and downloading data via Fido. (#6197)
* Updated the info_url for the ~sunpy.net.dataretriever.sources.goes.XRSClient to account for the different default sources that vary based on GOES satellite number. (#6152)
* Added automatic conversion of unit strings in CDF files to astropy unit objects for the following instruments: PSP/ISOIS, SOHO/CELIAS, SOHO/COSTEP-EPHIN, and SOHO/ERNE. (#6159)
* Add an environment variable SUNPY_NO_BUILD_ANA_EXTENSION which when present will cause sunpy to not compile the ANA C extension when building from source. (#6166)
* sunpy now uses the Limited Python API. Therefore, one binary distribution (wheel) per platform is now published and it is compatible with all Python versions sunpy supports. (#6171)- Replace sunpy-test-ignore-warnings.patch by sunpy-obs-profile.patch and sunpy-scikit-image-deprecation.patch
* Wed Jun 08 2022 Ben Greiner - Update to v4.0.0
* When rotating images using the SciPy rotation method, the default behavior is now to clip the output range to the input range, which matches the default behavior of the scikit-image rotation method. (#5867)
* Any NaNs are now preserved by sunpy.image.transform.affine_transform and sunpy.map.GenericMap.rotate. (#5867)
* sunpy.image.transform.affine_transform and sunpy.map.GenericMap.rotate now default to using SciPy for rotation instead of scikit-image, so rotation results may be slightly different. (#5867)
* The math convenience methods of sunpy.map.GenericMap - ~sunpy.map.GenericMap.max, ~sunpy.map.GenericMap.mean, ~sunpy.map.GenericMap.min, and , ~sunpy.map.GenericMap.std - now ignore NaNs in the image data. (#5867)
* sunpy.image.transform.affine_transform and sunpy.map.GenericMap.rotate now default to using NaN instead of zero for the missing value, the value used for pixels in the output array that have no corresponding pixel in the input array. To obtain the previous behavior, missing should be explicitly specified as zero. (#5867)
* The .JSOCClient and every sunpy.net.dataretriever.GenericClient was passing all
*
*kwargs to parfive.Downloader.enqueue_file, this was unintended and has been removed. (#6052)
* Changed the default interpolation order for sunpy.map.GenericMap.rotate from 4 to 3, with the precise meaning of these interpolation orders depending on the selected rotation method. For the default rotation method, which uses scipy.ndimage.affine_transform, this changes the default interpolation from biquartic to bicubic, which reduces the computation time without reducing the quality of the output below what a typical user needs. (#6089)
* Deprecate sunpy.image.coalignment as the code has now been moved to sunkit_image.coalignment with an identical API. This module will be removed in sunpy 4.1. (#5957)
* The sunpy.map.GenericMap.shift method has been renamed to sunpy.map.GenericMap.shift_reference_coord and ~sunpy.map.GenericMap.shift has been deprecated. (#5977)
* The sunpy.map.GenericMap.shifted_value property has been deprecated. Modifications to the reference coordinate can be found in the CRVAL1 and CRVAL2 keys of sunpy.map.GenericMap.meta.modified_items. (#5977)
* The sunpy.io.fits module is deprecated, as it was designed for internal use only. Use the astropy.io.fits module instead for more generic functionality to read FITS files. (#5983)
* sunpy.physics.solar_rotation.mapsequence_solar_derotate is deprecated and will be removed in version 4.1. This function has been moved to sunkit_image.coalignment.mapsequence_coalign_by_rotation and has an identical API and functionality. (#6031)
* sunpy.physics.solar_rotation.calculate_solar_rotate_shift is deprecated and will be removed in version 4.1. This function has been moved to sunkit_image.coalignment.calculate_solar_rotate_shift and has an identical API and functionality. (#6031)
* Added support for Python 3.10 (#5568)
* Added support for \"%Y.%m.%d_%H:%M:%S_UTC\" and \"%Y.%m.%d_%H:%M:%S\" time formats in sunpy.time.parse_time. (#5647)
* The rsun argument to ~sunpy.map.get_observer_meta is now optional. (#5655)
* Added the ~sunpy.net.base_client.QueryResponseTable.total_size, which estimates the total size of the results from a Fido query. If this is supported by a client, the total size is printed alongside the results.
* To add support for this in external clients, make sure one column contains the individual filesizes as ~astropy.units.Quantity, and set the size_column class attribute to the name of this column. (#5659)
* Added the ability to specify the use of Carrington coordinates with sunpy.map.GenericMap.draw_grid. (#5703)
* Printing a .MetaDict will now show each entry on a new line. (#5765)
* Removed support for Python 3.7. (#5773)
* The \'event_endtime\', \'event_starttime\' and \'event_peaktime\' columns in a HEK query are now returned as ~astropy.time.Time objects. Previously they were timestamp strings. (#5806)
* Added a helpful warning message when converting a 2D Helioprojective coordinate will return all NaNs. (#5817)
* The colorbar limits on HMI magnetic field maps are now automatically set to be symmetric about zero. (#5825)
* Added a clip keyword to sunpy.image.transform.affine_transform and sunpy.map.GenericMap.rotate to enable or disable whether the range of the output image is clipped to the range of the input range. (#5867)
* Created the decorator sunpy.image.transform.add_rotation_function for registering new rotation functions for use by sunpy.image.transform.affine_transform and sunpy.map.GenericMap.rotate. (#5867)
* sunpy.image.transform.affine_transform and sunpy.map.GenericMap.rotate have both had their use_scipy arguments deprecated. Instead use the new method argument to select from the available rotation methods. (#5916)
* Added a Maxwell unit and any places where a conversion to Gauss occurs has been removed. (#5998)
* Add a basic HTML representation for ~sunpy.timeseries.TimeSeries. (#6032)
* The minimum supported asdf version has been increased to 2.8.0 to allow future compatibility with the breaking changes planned for asdf 3.0. In addtion to this the asdf-astropy package is now required to serialise and deserialise the sunpy coordinate frame classes to ASDF. (#6057)
* Added the option to rotate using OpenCV when using sunpy.image.transform.affine_transform or sunpy.map.GenericMap.rotate by specifying method=\'cv2\'. The OpenCV Python package must be installed on the system. (#6089)
* Fixed reading CDF files when a column has no entries. If this is the case the column will be ignored, and a message logged at DEBUG level. (#5664)
* Fixed the units of sunpy.map.sources.HMISynopticMap.scale and sunpy.map.sources.MDISynopticMap.scale. (#5682)
* Fixed a bug where custom values in the plot_settings dictionary were not being propagated to new map instances created when calling map methods (e.g. .submap). (#5687)
* Added automatic conversion of some common but non-standard unit strings in CDF files to astropy unit objects. If sunpy does not recognise the unit string for a particular column, units of u.dimensionless_unscaled are applied to that column and a warning raised.
* If you think a given unit should not be dimensionless and support should be added for it in sunpy, please raise an issue at https://github.com/sunpy/sunpy/issues. (#5692)
* The default id_type in sunpy.coordinates.get_horizons_coord is now None to match the deafult id_type in astroquery 0.4.4, which will search major bodies first, and if no major bodies are found, then search small bodies. For older versions of astroquery the default id_type used by ~sunpy.coordinates.get_horizons_coord is still \'majorbody\'. (#5707)
* In consultation with JSOC, we now limit all JSOC downloads to one connection. This will override all connection user settings passed to the downloader. (#5714)
* Updated the plot methods on some timeseries classes to correctly label and format the time axis. (#5720)
* Fixed a long-standing bug where our logger could intercept Astropy warnings in addition to SunPy warnings, and thus could conflict with Astropy\'s logger. (#5722)
* Update asdf schemas so that references use URIs not tags as this is not supported by the new asdf extensions API. (#5723)
* Increased the default maximum amount of records returned from HEC to 500 from 10. If the maximum number of records are returned, a message is shown. (#5738)
* Reading a series of CDF files where at least one of them is empty no longer raises an error. A message for each empty file is logged at the DEBUG level. (#5751)
* sunpy.map.make_fitswcs_header now includes a PC_ij matrix in the returned header if no rotation is specified. (#5763)
* In the case where a map header has no PC_ij values, CROTA2 != 0, and CDELT1 != CDELT2, the calculation of the map rotation matrix has been fixed. This bug only affected maps with non-zero rotation, no PC matrix in the header, and un-equal scales along the two image axes. (#5766)
* Maps created from ~sunpy.map.GenericMap.resample and ~sunpy.map.GenericMap.superpixel have been fixed in the case where the resampling was not square, and the PCi_j matrix (often a rotation matrix) was not a multiple of the identity matrix. When the PCi_j or CDi_j formalisms are used in the metadata these are now correctly modified, and the CDELT values are left unchanged. (#5786)
* The __repr__ of several sunpy.database classes have been updated to remove angular brackets and add equals signs. As an example, \'\' has changed to \'DatabaseEntry(id=3)\' (#5790)
* Fixed a bug when rotating a map by a matrix that is not purely a rotation. The likely way to inadvertently encounter this bug was when de-rotating a map with rectangular pixels that were not aligned with the coordinate axes. (#5803)
* Fixed a bug where rotating a map while simultaneously scaling it could result in some of the map data being cropped out. (#5803)
* Symmetric colorbar limits are no longer set on intensity images from MDI. (#5825)
* Fixed plotting and peeking NORH timeseries data with pandas 1.4.0. (#5830)
* In the case where sunpy.database.Database.fetch() successfully downloads only some of the search results, a ~sunpy.database.PartialFetchError is raised. This fixes a bug where the successful downloads would have been added to the database, but sometimes with incorrect metadata. (#5835)
* When getting IRIS files from the VSO, Fido was incorrectly labelling them as XML files. (#5868)
* ~sunpy.map.sources.HMIMap now looks for \'INSTRUME\' instead of \'TELESCOP\' in order to support Helioviewer JPEG2000 versions of HMI data which do not preserve the \'TELESCOP\' keyword as expected in the JSOC standard. (#5886)
* Fixes a bug where the cmap and norm keyword arguments were ignored when calling ~sunpy.map.MapSequence.plot. (#5889)
* Fix parsing of the GOES/XRS netcdf files to ignore leap seconds. (#5915)
* Fixed compatability with h5netcdf>0.14 when loading GOES netcdf files. (#5920)
* Fixed bugs with the rebinning and per-keV calculation for Fermi/GBM summary lightcurves (~sunpy.timeseries.sources.GBMSummaryTimeSeries). (#5943)
* Fixed the unintentionally slow parsing of Fermi/GBM files (~sunpy.timeseries.sources.GBMSummaryTimeSeries). (#5943)
* Fixes a bug in ~sunpy.map.sources.SJIMap where undefined variable was used when parsing the wavelength. Also fixes the unit parsing by removing the \"corrected\" string from the BUNIT keyword as \"corrected DN\" cannot be parsed as a valid FITS unit. (#5968)
* Fixed unit handling issue with .GenericMap and lowercasing the unit before it submits it to astropy.units. (#5970)
* Fixed reading CDF files when a variable has more than 2 dimensions. If this is the case the variable will be ignored, and a user warning is provided. (#5975)
* Fixed sunpy.system_info so it returns the extra group when an optional dependency is missing. (#6011)
* Relax condition check for a HMI Synoptic map source. (#6018)
* .VSOClient was not passing
*
*kwargs through each download method. (#6052)
* Fixed the inability to rotate images and maps with byte ordering that is different from the native byte order of the system (e.g., big-endian values on a little-endian system) for certain interpolation orders when internally using scikit-image. (#6064)
* Fixed a crash for dask arrays when displaying the ~sunpy.map.GenericMap html representation. (#6088)
* Constructing the color map name for a ~sunpy.map.sources.KCorMap no longer requires the \"detector\" key in the metadata. This allows for reading files that are missing this keyword, as in the KCor JPEG2000 files. (#6112)
* We now correctly pass keyword arguments in our internal FITS reader to astropy.io.fits.open. (#6123)- Refresh sunpy-test-ignore-warnings.patch- Re-enable python310: re-enabled zeep because xmlsec is optional.
* Sat May 21 2022 Matej Cepl - Doesn\'t build with 3.10 because of missing xmlsec.
* Tue Apr 26 2022 Ben Greiner - Update sunpy-test-ignore-warnings.patch to include warnings filter for Pillow 10 -- gh#sunpy/sunpy#6022
* Tue Apr 05 2022 Ben Greiner - Add sunpy-test-ignore-warnings.patch
* Ignore Python 3.10 distutils usage
* Add hypothesis profile for slow obs test suite executions
* Ignore leap second warnings for reproducible tests gh#sunpy/sunpy#6030
* Sat Apr 02 2022 Ben Greiner - Update to 3.1.5
* Maps created from ~sunpy.map.GenericMap.resample and ~sunpy.map.GenericMap.superpixel have been fixed in the case where the resampling was not square, and the PCi_j matrix (often a rotation matrix) was not a multiple of the identity matrix. When the PCi_j or CDi_j formalisms are used in the metadata these are now correctly modified, and the CDELT values are left unchanged. (#5786)
* When getting IRIS files from the VSO, Fido was incorrectly labelling them as XML files. (#5868)
* Fixes a bug where the cmap and norm keyword arguments were ignored when calling ~sunpy.map.MapSequence.plot. (#5889) Fix parsing of the GOES/XRS netcdf files to ignore leap seconds. (#5915)
* Fixed compatability with h5netcdf>0.14 when loading GOES netcdf files. (#5920)
* Fixes a bug in ~sunpy.map.sources.IRISMap where undefined variable was used when parsing the wavelength. Also fixes the unit parsing by removing the \"corrected\" string from the BUNIT keyword as \"corrected DN\" cannot be parsed as a valid FITS unit. (#5968)
* Fixed unit handling issue with .GenericMap and lowercasing the unit before it submits it to astropy.units. (#5970)- Release 3.1.4
* Fixed plotting and peeking NORH timeseries data with pandas 1.4.0. (#5830)
* In the case where sunpy.database.Database.fetch() successfully downloads only some of the search results, a ~sunpy.database.PartialFetchError is raised. This fixes a bug where the successful downloads would have been added to the database, but sometimes with incorrect metadata. (#5835)
* HMIMap now looks for \'INSTRUME\' instead of \'TELESCOP\' in order to support Helioviewer JPEG2000 versions of HMI data which do not preserve the \'TELESCOP\' keyword as expected in the JSOC standard. (#5886)- Reenable dask for python310 test suite- Drop sunpy-pr5830-pandas140.patch
* Sat Feb 05 2022 Ben Greiner - Update to 3.1.3
* Big changelog since 3.0.1
* Adds support for Python 3.10
* Breaking API changes and removals documented in release notes: https://github.com/sunpy/sunpy/releases- Add sunpy-pr5830-pandas140.patch -- gh#sunpy/sunpy#5830
* Thu Aug 05 2021 Ben Greiner - Update to 3.0.1 Big changelog since 2.1.4
* Fri Apr 09 2021 Ben Greiner - Update to 2.1.4 Big changelog since 2.0.7: https://github.com/sunpy/sunpy/releases Backwards incompatible changes in 2.1.0:
* Support for Python 3.6 and Numpy 1.15 has been dropped in line with NEP 29. The minimum supported version of Astropy is now 4. 0, and the minimum version of scipy is now 1.2. (#4284)
* Changed sunpy.coordinates.sun.B0 return type from ~astropy. coordinates.Angle to ~astropy.coordinates.Latitude. (#4323)
* An error is now raised if vmin or vmax are passed to to sunpy. map.GenericMap.plot and they are already set on the map norm. This is consistent with upcoming Matplotlib changes. (#4328)
* Previously slicing the result of Fido.search() (a ~sunpy.net. fido_factory.UnifiedResponse object) so that it had a length of one returned another ~sunpy.net.fido_factory. UnifiedResponse object. Now it will return a ~sunpy.net. base_client.QueryResponseTable object, which is a subclass of astropy.table.Table. (#4358)
* The .size property of a coordinate frame with no associated data will now raise an error instead of returning 0. (#4577)
* The following ~sunpy.map.Map methods have had support for specific positional arguments removed. They must now be passed as keyword arguments (i.e. m.method(keyword_arg=value)).
* ~sunpy.map.GenericMap.submap: width, height. ~sunpy.map.GenericMap.draw_rectangle: width, height, axes, top_right. (#4616)
* The sunpy specific attributes .heliographic_observer and .rsun are no longer set on the ~astropy.wcs.WCS returned by sunpy. map.GenericMap.wcs. (#4620)
* Due to upstream changes, the parsing logic for the ~sunpy.net. helio.HECClient now returns strings and not bytes for ~sunpy. net.helio.HECClient.get_table_names. (#4643)
* Reduced the selection of dependent packages installed by default via pip, which means that some of our sub-packages will not fully import when sunpy is installed with pip install sunpy. You can install all dependencies by specifying pip install sunpy[all], or you can install sub-package-specific dependencies by specifying, e.g., [map] or [timeseries]. (#4662)
* The class inheritance for ~sunpy.coordinates.metaframes. RotatedSunFrame and the frames it creates has been changed in order to stop depending on unsupported behavior in the underlying machinery. The return values for some isinstance/ issubclass calls will be different, but the API for ~sunpy. coordinates.metaframes.RotatedSunFrame is otherwise unchanged. (#4691)
* Fix a bug in ~sunpy.map.GenericMap.submap where only the top right and bottom left coordinates of the input rectangle in world coordinates were considered when calculating the pixel bounding box. All four corners are once again taken into account now, meaning that ~sunpy.map.GenericMap.submap correctly returns the smallest pixel box which contains all four corners of the input rectangle.
* To revert to the previous 2.0.0 behaviour, first convert the top right and bottom left coordinates to pixel space before calling submap with: top_right = smap.wcs.world_to_pixel(top_right)
* u.pix bottom_left = smap.wcs.world_to_pixel(bottom_left)
* u.pix smap.submap(bottom_left=bottom_left, top_right=top_right) This will define the rectangle in pixel space. (#4727)
* VSO results where the size was -1 (missing data) now return None rather than -1 to be consistent with other missing data in the VSO results. (#4798)
* All result objects contained within the results of a Fido. search() (a ~sunpy.net.fido_factory.UnifiedResponse object) are now ~sunpy.net.base_client.QueryResponseTable objects (or subclasses thereof). These objects are subclasses of astropy. table.Table and can therefore be filtered and inspected as tabular objects, and the modified tables can be passed to Fido. fetch.
* This, while a breaking change for anyone accessing these response objects directly, will hopefully make working with Fido search results much easier. (#4798)
* Results from the ~sunpy.net.dataretriever.NOAAIndicesClient and the ~sunpy.net.dataretriever.NOAAPredictClient no longer has Start Time or End Time in their results table as the results returned from the client are not dependant upon the time parameter of a search. (#4798)
* The sunpy.net.vso.QueryResponse.search method has been removed as it has not worked since the 1.0 release of sunpy. (#4798)
* The sunpy.net.hek.hek.HEKColumn class has been removed, the HEKTable class now uses the standard astropy.table.Column class. (#4798)
* The keys used to format file paths in Fido.fetch have changed. They are now more standardised across all the clients, as they are all extracted from the names of the columns in the results table.
* For results from the VSO the keys are no longer separated with ., and are based on the displayed column names. For results from the dataretriever clients the only main change is that the keys are now lower case, where they were capitilized before. You can use the ~.sunpy.net.fido_factory. UnifiedResponse.path_format_keys method to see all the possible keys for a particular search. (#4798)
* The time returned from ~sunpy.coordinates.sun.carrington_rotation_number has been changed from the TT scale to the more common UTC scale. To undo this change, use time_out = time_out.tt on the outputted time. (#4819)
* .BaseQueryResponse.response_block_properties has been renamed to .BaseQueryResponse.path_format_keys, on the return objects from all search() methods on all clients and from Fido.search() (#4798)
* Sat Jan 23 2021 Benjamin Greiner - Update to 2.0.7 + Big changlog since 1.1.0. See https://docs.sunpy.org/en/stable/whatsnew/2.0.html https://github.com/sunpy/sunpy/blob/master/CHANGELOG.rst and https://github.com/sunpy/sunpy/releases + Highlights from the 2.0 update:
* sunpy.net.Fido now supports tab completion of search attributes. This allows you to do a.Instrument.AIA, and print a.Instrument to see the list of known supported instruments.
* sunpy.instr.aia.aiaprep has been deprecated in favor of the functionality in the aiapy __ package.
* Various fixes and clarifications to pixel indexing in the sunpy.map subpackage.
* Standardization of specifying rectangles in coordinate space in the :meth:~sunpy.map.GenericMap.submap and :meth:~sunpy.map.GenericMap.draw_rectangle methods of ~sunpy.map.GenericMap.
* HTML quicklook previews of ~sunpy.map.GenericMap and ~sunpy.map.MapSequence instances are available with the new :meth:~sunpy.map.GenericMap.quicklook and :meth:~sunpy.map.MapSequence.quicklook methods, respectively. This is also the default display in Jupyter __ notebooks.
* Integration of differential rotation into the sunpy.coordinates framework. This enables, amongst other things, the warping of images with the reproject __ package and the plotting of rotated grid lines with :ref:WCSAxes .- Drop fix_importlib_py_ver.patch merged upstream
 
ICM