[Nexus-developers] bug (?) in nexus-4.2.1

Vadim Dyadkin dyadkin at lns.pnpi.spb.ru
Sat Jan 21 22:04:34 GMT 2012


Dear developers

Since the registration is closed, I write this letter.

I have started to sort out the nexus format and I have got a strange behavior 
of this python example: 
http://download.nexusformat.org/doc/html/Examples.html#Examples.NAPI
It produces this xml:

<?xml version="1.0" encoding="UTF-8"?>
  <NXroot NeXus_version="4.2.1" XML_version="mxml"
file_name="next.nxs.xml"
xmlns="http://definition.nexusformat.org/schema/3.1"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://definition.nexusformat.org/schema/3.1
http://definition.nexusformat.org/schema/3.1/BASE.xsd"
file_time="2012-01-21T01:37:29+04:00">
    <NXentry name="entry">
      <NXdata name="data">
        <test NAPItype="NX_INT64[2,3,4]"
signal="-99999999999999997748809823456034029568.000000">
                                 0                        1 
                                 2                        3 
                                 4                        5 
                                 6                        7 
                                 8                        9 
                                10                       11 
                                12                       13 
                                14                       15 
                                16                       17 
                                18                       19 
                                20                       21 
                                22                       23 
        </test>
      </NXdata>
    </NXentry>
  </NXroot>

Look at the signal attribute of the test field, it is a pure overflow. I am 
not sure whether this is an error or I have done something wrong. I could not 
test your trunk since the svn is only for the registered users. I use x86-64 
linux-3.2.1, python-2.7.2, numpy-1.6.1, mini-xml-2.6, gcc-4.5.3

Best regards,
Vadim


More information about the NeXus-developers mailing list