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

Error when asking for object instead os ra/dec #3

Open
chbrandt opened this issue Aug 6, 2018 · 1 comment
Open

Error when asking for object instead os ra/dec #3

chbrandt opened this issue Aug 6, 2018 · 1 comment
Assignees
Labels

Comments

@chbrandt
Copy link
Owner

chbrandt commented Aug 6, 2018

Using --object NAME it doesn't work, it stops with this error in the
python sosta script
(from log_errors):

~pks1510$ more pipeline_internals.log.error
channel type (null) must define seekProc if defining wideSeekProc
channel type (null) must define seekProc if defining wideSeekProc
Traceback (most recent call last):
  File "/.../swift_deepsky-master/bin/module_Sosta_log_to_table.py",
line 177, in <module>
    flux = float(flux_pos)
TypeError: float() argument must be a string or a number, not 'NoneType'

Curiously, instead, it works if I call it with the specific coordinates
(--ra --dec ).

Note that in both cases it finds the observations and sum and process the data.

Thanks and ciao
Luigi

@chbrandt chbrandt added the bug label Aug 6, 2018
@chbrandt chbrandt self-assigned this Aug 6, 2018
@chbrandt
Copy link
Owner Author

chbrandt commented Aug 6, 2018

one more note: strangely i retried the same exact command (with ra and dec)
after removing the previous run, and now it doesn't work anymore:
same error on float(flux_pos). Repeating it gives same error.

It works again if now i change the name of the directory

my command was

$ swift_deepsky --ra 228.2106 --dec -9.1000 --radius 10 -l pks1510 --start 01/01/2018 --end 01/01/2019

and removing the -l, works again.

It seems an error in finding the files in the directories it wants to.

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

No branches or pull requests

1 participant