8000 Multiple log files due to monitor windows break version determination · Issue #243 · sot/mica · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Multiple log files due to monit 8000 or windows break version determination #243

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

Closed
jeanconn opened this issue Sep 26, 2020 · 0 comments · Fixed by #244
Closed

Multiple log files due to monitor windows break version determination #243

jeanconn opened this issue Sep 26, 2020 · 0 comments · Fixed by #244
Labels

Comments

@jeanconn
Copy link
Contributor
<<2020-Sep-26 06:16>> linking 22384_v01 -> /proj/sot/ska3/flight/data/mica/archive/asp1/22/22384
<<2020-Sep-26 06:16>> updating archfiles default rev to 1 for 22384
<<2020-Sep-26 06:16>> Adding asp1 processing for obs 22384
<<2020-Sep-26 06:16>> processing /proj/sot/ska3/flight/data/mica/archive/asp1/22/22384_v01/pcadf717388759N001_asol1.fits.gz
<<2020-Sep-26 06:16>> Traceback (most recent call last):
<<2020-Sep-26 06:16>> File "/proj/sot/ska3/flight/share/mica/update_asp_l1.py", line 6, in
<<2020-Sep-26 06:16>> mica.archive.asp_l1.main()
<<2020-Sep-26 06:16>> File "/proj/sot/ska3/flight/lib/python3.6/site-packages/mica/archive/asp_l1.py", line 234, in main
<<2020-Sep-26 06:16>> obsids = archive.update()
<<2020-Sep-26 06:16>> File "/proj/sot/ska3/flight/lib/python3.6/site-packages/mica/archive/obsid_archive.py", line 727, in update
<<2020-Sep-26 06:16>> mica.archive.asp_l1_proc.update([obs['obsid']])
<<2020-Sep-26 06:16>> File "/proj/sot/ska3/flight/lib/python3.6/site-packages/mica/archive/asp_l1_proc.py", line 63, in update
<<2020-Sep-26 06:16>> minfiles=1, maxfiles=1)
<<2020-Sep-26 06:16>> File "/proj/sot/ska3/flight/lib/python3.6/site-packages/Ska/File.py", line 71, in get_globfiles
<<2020-Sep-26 06:16>> raise ValueError('No more than %d file(s) required for %s but %d found' % (maxfiles, fileglob, nfiles))
<<2020-Sep-26 06:16>> ValueError: No more than 1 file(s) required for /proj/sot/ska3/flight/data/mica/archive/asp1/22/22384_v01/asp_l1_f*log* but 2 found

This is due to the change from

#218 (comment)

Looks like I should have left the old code but added more comments about the situations it can handle (I don't care if there are multiple logs of the same (newish type) if I'm just trying to get an obi and obspar version). Otherwise I can try to do this for just one AI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant
0