Revisions of python-sunpy
buildservice-autocommit
accepted
request 1172107
from
Dirk Mueller (dirkmueller)
(revision 48)
baserev update by copy to link target
Dirk Mueller (dirkmueller)
accepted
request 1171980
from
Benjamin Greiner (bnavigator)
(revision 47)
- Update to 5.1.2 * Fixed the appearance of a double "Notes" heading in ~sunpy.map.Map subclasses. (#7376) * 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) * 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) * 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) * 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) * 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)
buildservice-autocommit
accepted
request 1140256
from
Dirk Mueller (dirkmueller)
(revision 46)
baserev update by copy to link target
Dirk Mueller (dirkmueller)
committed
(revision 45)
- 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`.
buildservice-autocommit
accepted
request 1128614
from
Dirk Mueller (dirkmueller)
(revision 44)
baserev update by copy to link target
Dirk Mueller (dirkmueller)
accepted
request 1128594
from
Benjamin Greiner (bnavigator)
(revision 43)
- 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)
buildservice-autocommit
accepted
request 1111746
from
Dirk Mueller (dirkmueller)
(revision 42)
baserev update by copy to link target
Dirk Mueller (dirkmueller)
accepted
request 1111366
from
Markéta Machová (mcalabkova)
(revision 41)
- 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
Steve Kowalik (StevenK)
committed
(revision 40)
- 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.
buildservice-autocommit
accepted
request 1074165
from
Dirk Mueller (dirkmueller)
(revision 39)
baserev update by copy to link target
Dirk Mueller (dirkmueller)
accepted
request 1073916
from
Benjamin Greiner (bnavigator)
(revision 38)
- Don't test with dask for python311: No numba yet
buildservice-autocommit
accepted
request 1068001
from
Daniel Garcia (dgarcia)
(revision 37)
baserev update by copy to link target
Daniel Garcia (dgarcia)
committed
(revision 36)
- 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 @meeseeksmachine in #6746 * Backport PR #6749 on branch 4.1 (Unpin and update database for SQLA 2.0) by @meeseeksmachine in #6750 * Backport PR #6731 on branch 4.1 (fig-devdeps : Have to add a unit to lon.coord_wrap) by @meeseeksmachine in #6753 * Backport PR #6711 on branch 4.1 (Raise error if downloader for cache fails) by @meeseeksmachine in #6755 * Backport PR #6725 on branch 4.1 (add unit detection for XRT data) by @meeseeksmachine in #6761 * Backport PR #6737 on branch 4.1 (Updating the GOES-XRS baseurl following change on noaa side) by @meeseeksmachine in #6762 * Backport PR #6710 on branch 4.1 (Fix init issue for JP2 HMI images from helioveiwer) by @meeseeksmachine in #6765 * Backport PR #6648 on branch 4.1 (Fix draw_quadrangle() so that it accepts frames with data) by @meeseeksmachine in #6777 - v4.1.2 * Backport PR #6694 on branch 4.1 (pin sqlalchemy<2.0 and ignore warning for now) by @meeseeksmachine in #6697 * Backport PR #6693 on branch 4.1 (detect gzipped-FITS files by magic-bytes) by @meeseeksmachine in #6700 * Backport PR #6702 on branch 4.1 (fix the extremely minor issue in Fido docs) by @meeseeksmachine in #6704 * Backport PR #6712 on branch 4.1 (Add changelog entry for sqlalchemy pin) by @meeseeksmachine in #6714 * Backport PR #6728 on branch 4.1 (Fix HISTORY key in test maps created from header files) by @meeseeksmachine in #6730
buildservice-autocommit
accepted
request 1045229
from
Matej Cepl (mcepl)
(revision 35)
baserev update by copy to link target
Matej Cepl (mcepl)
accepted
request 1045194
from
Benjamin Greiner (bnavigator)
(revision 34)
- Add sunpy-pr6662-np1.24.patch gh#sunpy/sunpy#6662 * Ignore deprecation message from numpy 1.24
buildservice-autocommit
accepted
request 1037269
from
Markéta Machová (mcalabkova)
(revision 33)
baserev update by copy to link target
Markéta Machová (mcalabkova)
accepted
request 1037155
from
Benjamin Greiner (bnavigator)
(revision 32)
- 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
Matej Cepl (mcepl)
accepted
request 1034357
from
Benjamin Greiner (bnavigator)
(revision 31)
- 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.
buildservice-autocommit
accepted
request 995213
from
Benjamin Greiner (bnavigator)
(revision 30)
baserev update by copy to link target
Dirk Mueller (dirkmueller)
accepted
request 994520
from
Benjamin Greiner (bnavigator)
(revision 29)
- 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)
Displaying revisions 1 - 20 of 48