Private improvement. Public learning, only by choice.
← Public work library

Curated public example

Math & science · Workflow

Cropping a solar map in sky coordinates

Published by The SunPy Community

This credits the original publisher. Better Loop membership or a shared assessment is not implied.

The public work

The example loads a SWAP solar image, defines crop corners with SkyCoord in the map’s coordinate frame, and displays the cropped region with a solar limb and coordinate grid.

What to notice

Carry coordinate frames and angular units into the crop request instead of treating sky coordinates as interchangeable pixel offsets.

Keep the context

A crop of a supplied observation, not a new solar finding. Coordinate-frame agreement and observation metadata matter; the displayed script timing is not a transferable performance benchmark.

AI use: Not reported in the source.

The inspected source does not report AI-assistant use by its authors.

A useful public example is not an assessment of a reader, a publisher or a Better Loop member.

Authored practice suggestion

Try the idea.
Check your own work.

Use material you are allowed to work with. This suggestion is preparation; it does not record a completed task or an improvement.

A check to adapt

The crop bounds map to the requested region in the stated frame; metadata remains traceable; mismatched coordinates are detected or explicitly transformed.

Open a related practice brief

Private practice needs no account. Your configured model provider may process the evidence you select.

See the full skill-to-sharing flow