-
Notifications
You must be signed in to change notification settings - Fork 14
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
Dealing with trailing whitespace #52
Comments
Thanks, I was about to create this. And also the other way around in case when reading fits files to uploading them. |
Is there any time we want to respect trailing whitespace? |
I want to believe there isn't. we can enforce that as well. |
We could provide a toggle switch (i.e., |
and the default being not to respect, I'd use a flag like --enable-white-space to create consciousness while typing |
I think the Oracle TRIM(TRAILING FROM :value) in |
Was this incorporated in #56 ? |
Yes, I saw it. Closing |
Yep, should be in there. |
This is an issue created for our fairly extensive discussion of how CFITSIO, fitsio, and pyfits treat trailing whitespace in binary tables.
I think the working suggestion is to replace leading/trailing whitespace characters with null characters when writing FITS files. This is something that will need to be done in pandas/numpy before passing to fitsio for writing.
CFITSIO Manuel:
https://heasarc.gsfc.nasa.gov/docs/software/fitsio/c/c_user/node24.html
The text was updated successfully, but these errors were encountered: