Ticket #5236 (closed: fixed)

Opened 8 years ago

Last modified 5 years ago

Save NeXus does not work on OffsetsWorkspace

Reported by: Peter Peterson Owned by: Peter Peterson
Priority: blocker Milestone: Release 2.1
Component: Mantid Keywords:
Cc: Blocked By:
Blocking: Tester: Michael Reuter

Description

It is painfully slow to load a calibration file from SNAP (10+ minutes I'm told). An alternative is to load it once then save the various workspaces to things that load faster. The one that is currently missing is the OffsetsWorkspace. What should work is:

  • LoadCalFile
  • SaveNexusProcessed

The error message that is generated says "SaveNexusProcessed passed invalid workspaces. Must be Workspace2D, EventWorkspace or ITableWorkspace"

Change History

comment:1 Changed 8 years ago by Peter Peterson

  • Status changed from new to accepted

comment:2 Changed 8 years ago by Peter Peterson

Refs #5236. Expanded check for supported workspace types.

Still need to modify LoadNexusProcessed to generate SpecialWorkspace2d.

Changeset: 72a0d19df86d40b1810018f47f91278586b947d4

comment:3 Changed 8 years ago by Peter Peterson

Refs #5236. Changed to support specifically OffsetsWorkspace.

Changeset: c5f686952056a4eb4b8bef777e651c96c820e4e8

comment:4 Changed 8 years ago by Peter Peterson

Refs #5236. Added support for loading OffsetsWorkspace."

Changeset: e0b3e8093f222aa9fdbb7750b1d24a8116424802

comment:5 Changed 8 years ago by Peter Peterson

  • Status changed from accepted to verify
  • Resolution set to fixed

comment:6 Changed 8 years ago by Michael Reuter

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

comment:7 Changed 8 years ago by Peter Peterson

For testing

  • LoadCalFile(/SNS/PG3/2012_1_11A_CAL/PG3_FERNS_d8710_2012_04_04.cal)
  • SaveNexusProcessed
  • LoadNexusProcessed
  • verify that the thing read in is an OffsetsWorkspace

comment:8 Changed 8 years ago by Michael Reuter

  • Status changed from verifying to closed

This looks like it works correctly.

comment:9 Changed 8 years ago by Peter Peterson

Refs #5236. Expanded check for supported workspace types.

Still need to modify LoadNexusProcessed to generate SpecialWorkspace2d.

Changeset: 72a0d19df86d40b1810018f47f91278586b947d4

comment:10 Changed 8 years ago by Peter Peterson

Refs #5236. Changed to support specifically OffsetsWorkspace.

Changeset: c5f686952056a4eb4b8bef777e651c96c820e4e8

comment:11 Changed 8 years ago by Peter Peterson

Refs #5236. Added support for loading OffsetsWorkspace."

Changeset: e0b3e8093f222aa9fdbb7750b1d24a8116424802

comment:12 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 6082

Note: See TracTickets for help on using tickets.