Add logging proposals#3
Conversation
|
Hey Matthew, this looks like a good start. A couple of notes:
|
|
I'm also thinking about a third option of including something like: def subtract_bias(ccddata, masterbias, add_keyword='SUBBIAS') Users or groups may want to specify a keyword for internal purposes |
|
I took out the flag option and put in your user-supplied keyword. That seems like the most flexible of the options -- one thought is to modify the Keyword class a bit to allow it to have a string value so that the user can either do or |
|
Regarding FITS compliance, I'd lean towards letting If you add a long keyword to a One thing nice about your logging suggestion is that if there are users that want to avoid HIERARCH they have the option of choosing to add only keywords that are 8 characters or less If we are dictating the keyword then I'd lean towards having users opt-in to a strict 8 character system but use a more descriptive one by default...but I lean towards more descriptive if it can be accommodated by |
|
Ah, I forgot about HIERARCH card. With that, I'm definitely happy to let fits.io do all the heavy lifting and then we can set it up otherwise how you like. +1 to it can either be a string or a keyword instance. I'd remove the bit about the value--if people want a specific value than they can pass a Keyword instead. Otherwise this then looks good. |
This also updates the API for ccdproc.Keyword to allow string values.
|
I have:
For the moment I've left the other two options in, but we can pull them if you prefer. The third option definitely makes the most sense to me. |
This pull request provides three options for logging in
ccdproc.