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

kepclean is still available on the command line #153

Open
christinahedges opened this issue Dec 19, 2017 · 4 comments
Open

kepclean is still available on the command line #153

christinahedges opened this issue Dec 19, 2017 · 4 comments

Comments

@christinahedges
Copy link

But I don't think we support it anymore? If you try to run it you get an error.

Traceback (most recent call last): File "/Users/ch/anaconda/bin/kepclean", line 11, in <module> load_entry_point('pyketools', 'console_scripts', 'kepclean')() File "/Users/ch/anaconda/lib/python3.6/site-packages/pkg_resources/__init__.py", line 570, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/Users/ch/anaconda/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2750, in load_entry_point raise ImportError("Entry point %r not found" % ((group, name),)) ImportError: Entry point ('console_scripts', 'kepclean') not found

@christinahedges
Copy link
Author

I think this is what cleans out bad quality flags on the command line though, this would be useful to have?

@mirca
Copy link
Member

mirca commented Dec 19, 2017

I thought we are supporting it? kepclean was added in #66.

cc @barentsen

@mirca
Copy link
Member

mirca commented Dec 19, 2017

If we are supporting it, we should definitely add an entry here: http://pyke.keplerscience.org/api/index.html

@mirca
Copy link
Member

mirca commented Dec 19, 2017

@christinahedges here it works fine:

➜ kepclean --help
usage: kepclean [-h] [--outfile OUTFILE] [--zero] [--overwrite] [--verbose]
                [--logfile LOGFILE]
                infile

Remove unwanted time ranges from Kepler time series data

positional arguments:
  infile                Name of input file

optional arguments:
  -h, --help            show this help message and exit
  --outfile OUTFILE     Name of FITS file to output. If None, outfile is
                        infile-kepclean. (default: None)
  --zero                Zero any remaining NaN values?
  --overwrite           Overwrite output file?
  --verbose             Write to a log file?
  --logfile LOGFILE, -l LOGFILE
                        Name of ascii log file (default: kepclean.log)

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

No branches or pull requests

2 participants