dfm / kplr

Tools for working with Kepler data using Python

Home Page:https://dfm.io/kplr

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unrecognized parameter: 'KOI Vet Date'

lkhedlund opened this issue · comments

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'
[...]

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.