[mcstas-users] NeXus format problem.
Peter Kjær Willendrup
pkwi at fysik.dtu.dk
Mon Feb 20 20:51:22 CET 2017
Dear Federico,
On 20 Feb 2017, at 17:59 , Federico M. Bertalot <federicobertalot at cnea.gov.ar<mailto:federicobertalot at cnea.gov.ar>> wrote:
I am using NeXus format for my output files in mcstas, and it works fine. But now i have added some divergence monitors to my instrument and found this warning:
Warning: could not open DataSet data 'Divergence monitor' (NeXus)
Warning: could not open DataSet errors 'Divergence monitor' (NeXus)
Warning: could not open DataSet ncount 'Divergence monitor' (NeXus)
In fact, the resulting file has only the fields "acquisition_mode" and "distance" fields for the divergence monitor.
Do you know why? Is there some way to solve it?
My guess is that you are using Divergence_monitor.comp with filename=“Divergence monitor” - i.e. including a space. My guess is that all should work properly if you use a filename without spaces.
BUT:
To give you better advice I will need an archive (zip/tar.gz or equivalent) including:
* Your instrment file
* The generated c-code
* The output dataset which including the failure
It would also help to know which version of McStas you are running on which operating system - and what version of NeXus and HDF you are using.
- Then I have a chance of reproducing the issue. :-)
Best,
Peter Willendrup
Peter Kjær Willendrup
Senior Research Engineer, Special Advisor
DTU Physics
[cid:image001.gif at 01CCCAF1.5E6331F0]
Technical University of Denmark
[cid:image002.gif at 01CCCAF1.5E6331F0]
Department of Physics
Fysikvej
Building 307
DK-2800 Kongens Lyngby
Direct +45 2125 4612
Mobil +45 2125 4612
Fax +45 4593 2399
pkwi at fysik.dtu.dk<mailto:pkwi at fysik.dtu.dk>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman2.mcstas.org/pipermail/mcstas-users/attachments/20170220/97d3072f/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 58 bytes
Desc: image001.gif
URL: <http://mailman2.mcstas.org/pipermail/mcstas-users/attachments/20170220/97d3072f/attachment.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.gif
Type: image/gif
Size: 1055 bytes
Desc: image002.gif
URL: <http://mailman2.mcstas.org/pipermail/mcstas-users/attachments/20170220/97d3072f/attachment-0001.gif>
More information about the mcstas-users
mailing list