Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug in chunk timing truncated before data finished #62

Closed
FaroutYLq opened this issue Dec 7, 2023 · 1 comment
Closed

Bug in chunk timing truncated before data finished #62

FaroutYLq opened this issue Dec 7, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@FaroutYLq
Copy link
Collaborator

FaroutYLq commented Dec 7, 2023

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Two failures in SR0 Rn220 runs.

st_salt = saltax.contexts.sxenonnt(runid=21952,
             saltax_mode='salt',
             output_folder='/scratch/midway2/yuanlq/salt/sr0_rn220',
             faxconf_version="sr0_v4",
             generator_name='flat',
             recoil=7,
             mode='all')
st_salt.make('021952', 'raw_records_simu')
...
ValueError: Attempt to create chunk [021952.raw_records_simu: 1623158479sec 407739940 ns - 1623158485sec 245093400 ns, 148275 items, 6.2 MB/s] whose data ends late at 1623158485245312770
st_salt = saltax.contexts.sxenonnt(runid=21967,
             saltax_mode='salt',
             output_folder='/scratch/midway2/yuanlq/salt/sr0_rn220',
             faxconf_version="sr0_v4",
             generator_name='flat',
             recoil=7,
             mode='all')
st_salt.make('021967', 'raw_records_simu')
...
ValueError: Attempt to create chunk [021967.raw_records_simu: 1623165122sec 491949950 ns - 1623165128sec 329327640 ns, 154089 items, 6.4 MB/s] whose data ends late at 1623165128330200090
st_salt = saltax.contexts.sxenonnt(runid=23747,
             saltax_mode='salt',
             output_folder='/scratch/midway2/yuanlq/salt/sr0_rn220',
             faxconf_version="sr0_v4",
             generator_name='flat',
             recoil=7,
             mode='all')
st_salt.make('021967', 'raw_records_simu')
...
ValueError: Attempt to create chunk [023747.raw_records_simu: 1624423295sec 764783640 ns - 1624423301sec 133492760 ns, 143198 items, 6.5 MB/s] whose data ends late at 1624423301133672210
st_salt = saltax.contexts.sxenonnt(runid=22175,
             saltax_mode='salt',
             output_folder='/scratch/midway2/yuanlq/salt/sr0_rn220',
             faxconf_version="sr0_v4",
             generator_name='flat',
             recoil=7,
             mode='all')
st_salt.make('022175', 'raw_records_simu')
...
ValueError: Attempt to create chunk [022175.raw_records_simu: 1623283044sec 798690840 ns - 1623283050sec 167399960 ns, 133904 items, 6.1 MB/s] whose data ends late at 1623283050167815950

However, there is successful example in SR1 BKG run:

st = saltax.contexts.sxenonnt(output_folder='/scratch/midway2/yuanlq/salt/tests',
                              runid=40671, saltax_mode='salt')
st.make('040671', 'raw_records_simu')

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Versions
Please add the output of:

straxen.print_versions()
	module	version	path	git
0	python	3.9.18	/project/lgrandi/xenonnt/env_tests/development...	None
1	strax	1.5.4	/project/lgrandi/xenonnt/env_tests/development...	None
2	straxen	2.1.5	/project/lgrandi/xenonnt/env_tests/development...	None
3	cutax	1.15.5	/dali/lgrandi/xenonnt/software/cutax/v1.15.5/c...	None

All italic comments can be removed from this template.

@FaroutYLq FaroutYLq added the bug Something isn't working label Dec 7, 2023
@FaroutYLq FaroutYLq self-assigned this Dec 7, 2023
@FaroutYLq
Copy link
Collaborator Author

This was actually fixed in #61

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant