Ticket #6668 (closed: duplicate)

Opened 8 years ago

Last modified 5 years ago

Add LoadLogPopertyTable algorithm tests and documentation

Reported by: Nick Draper Owned by: Nick Draper
Priority: critical Milestone: Release 2.6
Component: Framework Keywords:
Cc: Blocked By:
Blocking: Tester: Michael Reuter

Description

User algorithm has been created, but needs documentation and a test. Feel free to leave out the bacon sandwich bit.

James, Rob,

I've edited he algorithm a bit.

It should now:
1) Load any file type that Load can handle.
2) Not crash with multiperiod data - although values will be from period 1
3) Handle gaps in the file structure (although this can be slow over a network if you choose a range of 100s)
4) Load only a single spectra of the data (if the file loader supports this).
5) Print out the list of acceptable log names if one is entered incorrectly.
6) Make a bacon sandwich at 07:15 each morning, however it will clean up and uneaten leftovers at 07:30
7) Use a hidden workspace for the temporary loaded workspaces, and clean up after itself.

One of the above statements may not be true.

We will include a copy of this in future releases of Mantid

Regards,
Nick Draper

-----Original Message-----
From: mantid-help-bounces@mantidproject.org [mailto:mantid-help-bounces@mantidproject.org] On Behalf Of james.lord@stfc.ac.uk
Sent: 05 March 2013 10:21
To: Dalgliesh, Robert (STFC,RAL,ISIS)
Cc: Mantid Help
Subject: [Mantid-help] More Mantid logging

Rob,
I've made a modified version of that Log extracting algorithm called LoadLogPropertyTable: it's now more general and you can give it a list of log names to read from a sequence of run files. It's similar to Mantid's built in routine "CopyLogPropertyTable" which assumes all the runs are loaded into workspaces, not practical when there may be hundreds of them.

The output is now in a table with the first column being run number.

Numeric time series logs (e.g. Temp_Sample) are averaged over the run (after run_start). Single valued logs are copied direct. It's not yet defined what happens with time series string logs (such as Kicker on/off).

It still uses LoadMuonNexus, but this could probably be replaced with whichever Load routine works and gets the log values - it's probably not necessary to load the data too. (Question to Mantid folks, should I be using a more general one here?)

James.

Change History

comment:1 Changed 8 years ago by Nick Draper

  • Blocked By 6669 added

comment:1 Changed 8 years ago by Nick Draper

  • Blocked By 6669 removed

Some documentation added, needs improving

comment:2 Changed 8 years ago by Nick Draper

  • Blocked By 6669 added

(In #6669) branch is feature/6669_LoadLogPropertyTable

comment:3 Changed 7 years ago by Nick Draper

  • Milestone changed from Release 2.5 to Release 2.6

Moved to r2.6 at the end of r2.5

comment:4 Changed 7 years ago by Nick Draper

  • Owner changed from Anyone to Nick Draper
  • Status changed from new to verify
  • Resolution set to duplicate
  • Blocked By 6669 removed

completed in #6669, therefore duplicate

comment:5 Changed 7 years ago by Michael Reuter

  • Status changed from verify to verifying
  • Tester set to Michael Reuter

comment:6 Changed 7 years ago by Michael Reuter

  • Status changed from verifying to closed

Yes, it's a duplicate.

comment:7 Changed 7 years ago by Nick Draper

  • Component changed from Mantid to Framework

comment:8 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 7514

Note: See TracTickets for help on using tickets.