You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Co-aligning a stack of images to a common WCS is a common task. We should have a function that, given a target WCS, reprojects a list of images to that target WCS and adds an additional axis to that WCS corresponding to the time dimension. Without performing interpolation, this time axis will, generally speaking, be irregularly spaced (even at the nominal AIA cadence, not accounting for dropouts and/or small deviations) and as such the resulting WCS will have to be a non-FITS WCS. This example gallery entry illustrates how to deal with this case with a wavelength axis, but this can be straightforwardly adapted to deal with the time case.
Things to decide:
What is the input data structure? List of Maps? Sequence? An NDCube sequence?
Do we want an ndcube dependency? If not what should this return?
Should this return a MapSequence instead? There would be no time axis in that case.
See also sunpy/sunpy#7676 for a similar issue about creating an example gallery entry for this kind of workflow.
The text was updated successfully, but these errors were encountered:
When writing such a function, we should remember that there may be serious performance considerations to take into account, e.g. reprojecting 6 h worth of full-cadence/resolution data is going to be computationally expensive. As such, when writing this function, we should be conscious of allowing ways for this operation to scale (e.g. with dask), but also not requiring them.
Another thing to consider: should such a function necessarily live in aiapy? This has broad use cases outside of just AIA. That being said, something like this would certainly be too specific for ndcube.
Co-aligning a stack of images to a common WCS is a common task. We should have a function that, given a target WCS, reprojects a list of images to that target WCS and adds an additional axis to that WCS corresponding to the time dimension. Without performing interpolation, this time axis will, generally speaking, be irregularly spaced (even at the nominal AIA cadence, not accounting for dropouts and/or small deviations) and as such the resulting WCS will have to be a non-FITS WCS. This example gallery entry illustrates how to deal with this case with a wavelength axis, but this can be straightforwardly adapted to deal with the time case.
Things to decide:
ndcube
dependency? If not what should this return?See also sunpy/sunpy#7676 for a similar issue about creating an example gallery entry for this kind of workflow.
The text was updated successfully, but these errors were encountered: