Ticket #8994 (closed: fixed)
Export sample logs from Nexus file to text file for VULCAN
Reported by: | Wenduo Zhou | Owned by: | Wenduo Zhou |
---|---|---|---|
Priority: | critical | Milestone: | Release 3.2 |
Component: | Framework | Keywords: | |
Cc: | petersonpf@… | Blocked By: | |
Blocking: | Tester: | Peter Peterson |
Description
V-DRIVE, VULCAN's data reduction software in IDL, import sample logs, mainly furnace and slow load frame, from spread sheet in plain text file.
Implement an algorithm to export certain sample logs from Mantid workspace (i.e., from NeXus file) to spread sheet text file.
Format:
- Column 0: absolute time (US eastern time)
- Column 1: relative time to time[0]
- Column 2 to 2+n: sample log value.
If a specified log does not exist in NeXus file, then set all its value to zero.
For load frame, a header file is also required for output.
Change History
comment:2 Changed 7 years ago by Peter Peterson
Why don't you have the (optional) time-zone as another parameter for the algorithm?
comment:3 Changed 7 years ago by Wenduo Zhou
Added 2 unit tests. Refs #8994.
2 unit tests are added and passed; 1 unit test is added but not completed. Some bugs are fixed in algorithm python code.
Changeset: cea69e0dccf034eae1892fb9e5cac9b6e183d63e
comment:4 Changed 7 years ago by Wenduo Zhou
Added and passed one more unit test. Refs #8994.
Changeset: c3d2d43d1f6cb71b7eebb0d00c35d66222f1096d
comment:5 Changed 7 years ago by Wenduo Zhou
Fixed issues with file path in unit test. Refs #8994.
Changeset: 106d2d2505a4c87a24677975c553b9cc56f6b094
comment:6 Changed 7 years ago by Wenduo Zhou
Fixed a bug. Refs #8994.
Changeset: d7dd1d010ebbcda9cd5d0495058b18b2614b1ccf
comment:7 Changed 7 years ago by Wenduo Zhou
Added more unit tests. Refs #8994.
Changeset: d635194ec2044af46f30d0f0c422b997f138052e
comment:8 Changed 7 years ago by Wenduo Zhou
Finished all the unit tests. Refs #8994.
Changeset: 56706cb349f4e7af656e3cba5b566c98c8dd7c70
comment:9 Changed 7 years ago by Wenduo Zhou
Added test failure info. Refs #8994.
Changeset: 3139ff9948baa8c914ff1154d6f12e655ef3f144
comment:10 Changed 7 years ago by Wenduo Zhou
Fixed issue about file path in unit test. Refs #8994.
Changeset: b681df439c752fea72d4f4bd3d6689266af6fc4b
comment:11 Changed 7 years ago by Wenduo Zhou
Fixed a file path issue. Refs #8994.
Changeset: 66fe20217b1ac4910446c1fb33632a252f1df0e4
comment:12 Changed 7 years ago by Wenduo Zhou
Removed an extra space in output file. Refs #8994.
Changeset: 4c18beed177b5c7c6b8ebd8851dbb977ec619d42
comment:13 Changed 7 years ago by Wenduo Zhou
Removed last return. Refs #8994.
Changeset: a57822b8ed5100178fd71caf931d2ddb8ddf183a
comment:14 Changed 7 years ago by Wenduo Zhou
For tester
You can load a VULCAN file with furnace. Both run 41703 and run 41739 are good as test cases. Run 41703 has a relatively fewer log values than run 41739.
You should set :
- SampleLogNames = ["furnace.temp1", "furnace.temp2", "furnace.power"]
- WriteHeaderFile = False
comment:15 Changed 7 years ago by Wenduo Zhou
Changed codes for renaming the algorithm's name. Refs #8994.
Changeset: 662e78c61dfba628115a1ae67e5adab1256a598f
comment:16 Changed 7 years ago by Wenduo Zhou
Rename algorithm python file. Refs #8994.
Changeset: 0eeafc4d234b769502ce98e752fc8be0370398fe
comment:17 Changed 7 years ago by Wenduo Zhou
Rename the unit test file. Refs #8994.
Changeset: 880a3a45887293c31a87202108243178047981e8
comment:18 Changed 7 years ago by Wenduo Zhou
Corrected CMakeList.txt for unit test. Refs #8994.
Changeset: e0ac4c40f148f05e30b0cc386a80c185f88dfb2a
comment:19 Changed 7 years ago by Wenduo Zhou
- Status changed from inprogress to verify
- Resolution set to fixed
The purpose of this ticket is to export logs (furnace) from NeXus file to csv file for VDRIVE, the data reduction software used by VULCAN. Both log files exported from run 41703 and run 41739, respectively, have been verified by VDRIVE.
comment:20 Changed 7 years ago by Peter Peterson
- Status changed from verify to verifying
- Tester set to Peter Peterson
comment:21 Changed 7 years ago by Peter Peterson
- Status changed from verifying to reopened
- Resolution fixed deleted
You should remove the commented out test in the .../algorithms/CMakeLists.txt.
comment:22 Changed 7 years ago by Peter Peterson
...and the help docs should explain what the header file is and its format.
comment:23 Changed 7 years ago by Wenduo Zhou
- Status changed from reopened to inprogress
Improved wiki. Refs #8994.
Changeset: 3b5df557ef98a092fad325424845083e633f57cc
comment:24 Changed 7 years ago by Wenduo Zhou
Cleaned cmake file. Refs #8994.
Changeset: 00f6260ed83f00a86a84f0ff218d3a72140a7ed9
comment:25 Changed 7 years ago by Wenduo Zhou
- Status changed from inprogress to verify
- Resolution set to fixed
Closed it after the issues pointed out were solved.
comment:26 Changed 7 years ago by Peter Peterson
- Status changed from verify to closed
Merge remote branch 'origin/feature/8994_export_vulcan_log'
Full changeset: 518405762a100b6e2774bc141cdc0045983df18d
comment:27 Changed 7 years ago by Peter Peterson
Merge remote branch 'origin/feature/8994_export_vulcan_log'
Full changeset: d94ee81776b7f8f177ce3089d8a65ed2c73d35ce
comment:28 Changed 5 years ago by Stuart Campbell
This ticket has been transferred to github issue 9837
Implemented algorithm. Refs #8994.
Implemented the algorithm. But it has not been tested.
Changeset: 8b90e5d5427f99c00fa30dc87ce0af885bbdf0ac