Ticket #215 (closed: fixed)

Opened 12 years ago

Last modified 5 years ago

Create a SaveNexus for storing workspace data

Reported by: Ronald Fowler Owned by: Ronald Fowler
Priority: major Milestone: Iteration 14
Component: Keywords: Nexus
Cc: Blocked By:
Blocking: Tester:

Description

Allow saving of workspace data in Nexus file format.

One way might be to allow writing (and reading) of the Nexus "Processed" NXentry which assumes that the data has been reduced to a standard for such as S(Q) and no longer requires the instrument definition.

Change History

comment:1 Changed 12 years ago by Ronald Fowler

(In [1349]) Changed LoadNexus to offer file browser option as in LoadRaw (not yet tested) Changed SaveNexus to add simple test of writing 2D workspace arrays. Re #215

comment:2 Changed 12 years ago by Ronald Fowler

(In [1350]) Fix to Linux warning on build of NexusUtils.cpp and to delete output file from SaveNeXusTest.h. Re #215

comment:3 Changed 12 years ago by Ronald Fowler

(In [1445]) Added basic SaveNexusProcessed method, still needs some work to write all data. Also added some unit tests. Existing SaveNexus method not yet replaced. Re #215

comment:4 Changed 12 years ago by Ronald Fowler

(In [1446]) Missed an include file from last check in Re #215

comment:5 Changed 12 years ago by Ronald Fowler

(In [1447]) For linux correct case of include file name Re #215

comment:6 Changed 12 years ago by Nick Draper

  • Milestone changed from Iteration 12 to Iteration 13

comment:7 Changed 12 years ago by Ronald Fowler

(In [1543]) SaveNexusProcessed updated. Now writes most required data, but lacking detector spectra map and time series properties. Re #215

comment:8 Changed 12 years ago by Ronald Fowler

(In [1641]) Added LoadNexusProcessed algorithm to get back a workspace from Nexus file written by SaveNexusProcessed. LoadNexusProcessedRaw.h tests the cycle of load from raw, save to Nexus, load from Nexus, check data. Needs additions for instrument reading and spectra maps. Re #215

comment:9 Changed 12 years ago by Ronald Fowler

(In [1643]) Fix for Linux error and a few warnings Re #215

comment:10 Changed 12 years ago by Nick Draper

  • Milestone changed from Iteration 13 to Iteration 14

comment:11 Changed 12 years ago by Ronald Fowler

(In [1651]) Added loading of instrument data from normal XML file. Uses XML name if recorded in Nexus save of workspace data. Checks for loading of HET instrument data. Removed entryName parameter as not used for saving.

Re #215

comment:12 Changed 12 years ago by Ronald Fowler

(In [1652]) Minor change to try and avoid null pointer check on Linux, need to find out why pointer is null. Re #215

comment:13 Changed 12 years ago by Ronald Fowler

(In [1661]) Added writing SpectraDetector map data to Nexus. Still need to add reader for same. Re #215

comment:14 Changed 12 years ago by Ronald Fowler

(In [1663]) Added reading SpectraDetector map data to LoadNexusProcessed. Re #215

comment:15 Changed 12 years ago by Ronald Fowler

(In [1737]) Minor tidy up of Nexus and remove vcproj reference to non-existent file. re #215

comment:16 Changed 12 years ago by Ronald Fowler

(In [1745]) Added read/write of the "Y-Axis" unit into save/load Nexus processed. Added unit test. re #215

comment:17 Changed 12 years ago by Ronald Fowler

  • Status changed from new to closed
  • Resolution set to fixed

Saving and loading of Nexus files working. Further enhancements under separate tickets.

comment:18 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 1063

Note: See TracTickets for help on using tickets.