Skip to content

Commit 10fc515

Browse files
committed
More descriptive changelog
Fix indentation on changelog Sync changelog
1 parent bc9434f commit 10fc515

File tree

1 file changed

+15
-5
lines changed

1 file changed

+15
-5
lines changed

CHANGES.rst

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,30 @@ Unreleased
55
the specified coordinates. [#166]
66
- Added ``write_as_zip`` method to ``ASDFCutout``, ``FITSCutout``, ``TessCubeCutout``, and ``TessFootprintCutout`` classes to facilitate
77
writing multiple cutouts into a single ZIP archive. [#167]
8+
- Added ``get_tess_sectors`` function to return TESS sector information for sectors whose footprints overlap with
9+
the given sky coordinates and cutout size. [#168]
810

911
Breaking Changes
1012
^^^^^^^^^^^^^^^^
1113

1214
- Cube cutout filenames now use a hyphen between dimensions (e.g., ``10-x-10`` instead of ``10x10``). They also include unit suffixes when
13-
users request sizes as an `astropy.units.Quantity` object (e.g., ``5arcmin-x-4arcmin`` or ``30arcsec-x-20arcsec``). This change may break
14-
code that parses filenames or relies on old glob patterns. [#167]
15+
users request sizes as an ``astropy.units.Quantity`` object (e.g., ``5arcmin-x-4arcmin`` or ``30arcsec-x-20arcsec``). RA/Dec formatting within
16+
filenames now uses 7 decimal places (``{:.7f}``) for consistency across classes. These changes may break code that parses filenames or relies on
17+
old glob patterns. [#167]
1518

1619
Migration:
1720

1821
- Update glob patterns from ``*_<ra>_<dec>_<ny>x<nx>_astrocut.fits`` to ``*_<ra>_<dec>_*-x-*_astrocut.fits``.
19-
- If parsing filenames, adjust regex accordingly (e.g., replace ``(?P<ny>\d+)x(?P<nx>\d+)`` with
20-
``(?P<ny>\d+(?:\.\d+)?)(?P<ny_unit>arcsec|arcmin|deg|pixel|pix)?-x-(?P<nx>\d+(?:\.\d+)?)(?P<nx_unit>arcsec|arcmin|deg|pixel|pix)?``).
21-
- Prefer reading dimensions from file metadata (e.g., FITS headers) when possible to avoid filename coupling.
22+
- If parsing filenames, switch to flexible regex patterns:
23+
24+
- RA/Dec: ``_(?P<ra>[-+]?\\d+(?:\\.\\d+)?)_(?P<dec>[-+]?\\d+(?:\\.\\d+)?)_``
25+
- Dimensions (with optional units): ``(?P<ny>\\d+(?:\\.\\d+)?)(?P<ny_unit>arcsec|arcmin|deg|pixel|pix)?-x-(?P<nx>\\d+(?:\\.\\d+)?)(?P<nx_unit>arcsec|arcmin|deg|pixel|pix)?``
26+
- Prefer reading RA/Dec, dimensions, and scales from file metadata (FITS headers/WCS) instead of relying on filenames.
27+
- Example transition:
28+
29+
- Old: ``..._83.406310_-62.489771_64x64_astrocut.fits``
30+
- New (no unit - pixels assumed): ``..._83.4063100_-62.4897710_64-x-64_astrocut.fits``
31+
- New (with units): ``..._83.4063100_-62.4897710_5arcmin-x-4arcmin_astrocut.fits``
2232

2333

2434
1.1.0 (2025-09-15)

0 commit comments

Comments
 (0)