Skip to content
This repository has been archived by the owner on Feb 27, 2022. It is now read-only.

Unrecognized parameter: 'KOI Vet Date' #20

Open
lkhedlund opened this issue Dec 21, 2015 · 1 comment
Open

Unrecognized parameter: 'KOI Vet Date' #20

lkhedlund opened this issue Dec 21, 2015 · 1 comment

Comments

@lkhedlund
Copy link

When trying to assign planets to a variable using the kplr client I get the following error for each planet:
WARNING:root:Unrecognized parameter: 'KOI Vet Date'. Here's a snippet of what I mean:

Python 3.4.3+ (default, Oct 14 2015, 16:03:50) 
[GCC 5.2.1 20151010] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import kplr
>>> client = kplr.API()
>>> planets = client.planets()
WARNING:root:Unrecognized parameter: 'KOI Vet Date'
WARNING:root:Unrecognized parameter: 'KOI Vet Date'
WARNING:root:Unrecognized parameter: 'KOI Vet Date'
WARNING:root:Unrecognized parameter: 'KOI Vet Date'
WARNING:root:Unrecognized parameter: 'KOI Vet Date'
WARNING:root:Unrecognized parameter: 'KOI Vet Date'
WARNING:root:Unrecognized parameter: 'KOI Vet Date'
WARNING:root:Unrecognized parameter: 'KOI Vet Date'
WARNING:root:Unrecognized parameter: 'KOI Vet Date'
[...]
@dfm
Copy link
Owner

dfm commented Dec 22, 2015

This warning can be safely ignored unless you need the "KOI Vet Date" property of the confirmed planet objects. If you do need that property, it can be added as an entry in planet_adapter here: https://github.com/dfm/kplr/blob/master/kplr/mast.py#L201 I think it would be something like: "KOI Vet Date": ("koi_vet_date", six.text_type), but you'll need to test it.

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

No branches or pull requests

2 participants