Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple ASDF extentions in single FITS file? #176

Closed
nden opened this issue Sep 18, 2015 · 4 comments
Closed

Multiple ASDF extentions in single FITS file? #176

nden opened this issue Sep 18, 2015 · 4 comments
Labels

Comments

@nden
Copy link
Contributor

nden commented Sep 18, 2015

Afetr some limited playing with fits_embed, I see it can write only one ASDF extension with extname=ASDF. Is there a plan to allow more than one ASDF extension in a fits file with properly managed extname and extver?

@mdboom
Copy link
Contributor

mdboom commented Sep 18, 2015

I had sort of assumed there would be a 1:1 relationship between FITS files and ASDF files. Can you elaborate on why you would want more than one ADSF file in a FITS file? As it stands now, you can still have multiple HDUs of data on the FITS side, all referred from a single ASDF tree in the ASDF extension.

@nden
Copy link
Contributor Author

nden commented Sep 18, 2015

I was thinking about saving several WCS objects as separate ASDF extensions in the fits file and then referring to each from the appropriate FITS extension. But I see now this isn't supposed to work this way. When different WCSs are written in the same ASDF extension, does referencing the fits extensions (pairing a FITS data extension reference with a WCS in ASDF) give some additional functionality on the FITS side? In other words should I always reference the fits extension on the ASDF side or does it not matter? Do I lose functionality if I make an ASDF tree which holds only WCSs?

@embray embray changed the title fits_embed enhancements? Multiple ASDF extentions in single FITS file? Dec 10, 2015
@drdavella
Copy link
Contributor

@nden just wondering if this is still relevant.

@drdavella
Copy link
Contributor

Closing since this no longer appears to be a necessary use case. We can reopen if it becomes necessary in the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants