-
Notifications
You must be signed in to change notification settings - Fork 10
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
Updated column_description.csv with short descriptions #196
Updated column_description.csv with short descriptions #196
Conversation
@sbailey I made this draft PR because I'm going to be unavailable for part of tomorrow and may not have time to change the code so this is changing ONLY the csv file as a starting point. That said, I don't understand why changing only one csv file and nothing else results in so many of the CI tests failing. Is that expected? I just cloned, updated the csv and pushed to this branch. Feel free to commit more changes or let me know if you have specific requests. |
I can update |
Posting what I put on Slack with regards to DESINAME: I might suggest for consideration: I am not opposed to Stephanie’s version but it loses some important information while repeating some things that could be gleaned from the names themselves. If someone doesn’t explicitly look at a DESINAME entry then my explanation is less obvious, but if they do look at the description + entry then I think mine conveys more. So it depends on the most common use case we expect to have. I’m very happy with the long description. |
Unfortunately desiutil/bin/annotate_fits takes the first column with case-insensitive "description" anywhere in the name, not just the column called case-insensitive "description" as we had previously expected. That means that annotate_fits is picking up the "FullDescription" column instead of the intended "Description" column. Options:
@weaverba137 @stephjuneau opinions? |
Again, my preference would be to not modify desiutil. Any solution that does not involve that is fine with me. |
|
This new version of column_description.csv includes an additional column called
FullDescription
which is the original description that is often too long for FITS files but will work OK for the data model documentation. The column calledDescription
is a shortened version that is limited to up to 46 characters as an estimate for the length compatible with FITS file headers.So far, the file was changed but none of the code. Based on reserving the column
Description
for the FITS file functionality, we anticipate that no changes should be needed for desiutil.However, there is still a TO DO item to adapt and test: desidatamodel/bin/update_column_descriptions to use the
FullDescription
column to preserve the longer descriptions. I have not yet attempted this with perlmutter being down so someone can feel free to try and contribute to this PR.