-
Notifications
You must be signed in to change notification settings - Fork 27
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
Define some keywords for the primary hdu #141
Comments
Sounds like a good idea. Can you make a proposal? |
Might consider just using the keywords that OFWG already recommends: The OFWG recommends that the following set of keywords be used to for such purposes in each extension:
Current allowed values here: https://heasarc.gsfc.nasa.gov/docs/heasarc/ofwg/docs/ofwg_recomm/hduclas.html You'd have to invent a HDUCLASS I guess. |
These are used for the actual HDUs already. So I'd suggest HDUCLASS = |
I agree with this.
Perhaps we could add a list of the different tables within the DL3 file? Perhaps that is too complex? |
Not really, I think. Is there a something standard for this?
This could be optional but recommended in the standard, since you can always get this information thorugh looking at the individual hdus's |
Here is the standard
https://heasarc.gsfc.nasa.gov/docs/heasarc/ofwg/docs/ofwg_recomm/hduclas.html
Note sure what the "_PRIMARY" stands for. "OGADF" for HDUCLASS seems sufficient.
… Le 23 mars 2020 à 16:46, Maximilian Nöthe ***@***.***> a écrit :
Perhaps that is too complex?
Not really, I think.
Is there a something standard for this?
If not, something like this:
HDU0 = OGADF_PRIMARY
HDU1 = EVENTS
HDU2 = RESPONSE/EFF_AREA/POINT-LIKE/AEFF_2D
HDU3 = RESPONSE/EDISP/POINT-LIKE/EDISP_2D
This could be optional but recommended in the standard, since you can always get this information thorugh looking at the individual hdus's
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub <#141 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAW2QV4B23WSS3BO3OTOB3LRI574ZANCNFSM4LQOA4SQ>.
|
@jknodlseder this is about the first primary hdu, that is not used in this standard for anything right now.
|
@maxnoe your latest proposal seems reasonable to me as well. It's probably the minimal compliant information that can be put... |
Going through the format used within the Instead of @maxnoe proposal:
It would be:
Maybe the initial "(" helps identifying that an array is coming? Anyway, if we can be as consistent as possible with other approaches used in the past, better. |
That's actually not standard conform, so we should not use it. Enclosed in quotes as a string, it would be. |
Using HDUCLASS for an empty extension does not make any sense. HDUCLASS is meant to identify content.
… Le 24 mars 2020 à 16:19, Maximilian Nöthe ***@***.***> a écrit :
@jknodlseder <https://github.com/jknodlseder> this is about the first primary hdu, that is not used in this standard for anything right now.
HDUCLASS is recommended to be GADF in the current standard, so the primary hdu (the image hdu the FITS standard requires as first hdu) could have:
HDUCLASS = "GADF"
HDUDOC = "https://..."
HDUVERS = "v0.3"
HDUCLAS1 = "PRIMARY"
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#141 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAW2QV5FRXZPAMPR64KULN3RJDFRBANCNFSM4LQOA4SQ>.
|
I agree with Jurgen. You don't need an HDUCLASS in the primary. Couldn't you just identify the file type by which HDUs are present? There's also the hierarchical grouping standard to group a set of HDUs together, but I think it also leaves the primary HDU blank. https://fits.gsfc.nasa.gov/registry/grouping.html |
I think now, we do not make any definitions for the primary hdu.
Maybe we should also include at least some header keywords here so a file can be immediately recognized as a file produced according to theses standards here.
The text was updated successfully, but these errors were encountered: