Albert Y. Shih
Albert Y. Shih
This PR adds a context manager as an option for dealing with the situation of inconsistent values for the solar radius. This context manager makes it so that the `rsun`...
There is very old code (from #1432) that sets the `norm` to `None` for maps with 8-bit unsigned integer data (uint8, i.e., 0 to 255): https://github.com/sunpy/sunpy/blob/5bffcc28214dcfe1b4d40e811cacc6807243175a/sunpy/map/mapbase.py#L236-L237 Presumably this is done...
Provide a planar screen as an optional assumption for handling off-disk helioprojective coordinates
Expanding beyond `assume_spherical_screen()` (see #4003), this PR adds a planar screen as an optional assumption for handling off-disk helioprojective coordinates.  See also #6411
HMI FITS headers appear to have only heliographic Carrington (HGC) coordinates for the observer (SDO). These appear to correspond very closely with the HGC coordinates in AIA FITS headers at...
`GenericMap.draw_contours()`: don't run internal transform code if `transform` keyword is provided
#5398 fixed some issues in `GenericMap.draw_contours()` by internally transforming the map to the axes WCS if the map WCS was different. However, we should run this code only if the...
For a coordinate with an observer, there is no requirement that the `obstime` for the observer location be the same as the `obstime` for coordinate. However, due to the quirkiness...
The `propagate_with_solar_surface()` context manager can be used to account for solar differential rotation when reprojecting a map to a different observation time, but off-disk data are discarded. The `assume_spherical_screen()` context...
FLOAT_CMP isn't powerful enough to handle whitespace that is added in fixed-width printing of floats
See title. Here's a minimal example with `ndarray`, where I vary the least significant digit of the element the first row: ```python >>> import numpy as np >>> np.array([[0.12345678], [0.11111111]])...
We should list all of our SunPy papers somewhere. This is not a duplicate of #339, which is about papers that use SunPy. * https://ui.adsabs.harvard.edu/abs/2015CS%26D....8a4009S/abstract * https://ui.adsabs.harvard.edu/#abs/2020JOSS....5.1832M/abstract * https://ui.adsabs.harvard.edu/#abs/2020ApJ...890...68S/abstract *...
It's a common need to plot the extent of one map (e.g., the FOV of an instrument) onto a different WCSAxes (e.g., an image from a different instrument). One can...