issue_comments: 340008407
This data as json
html_url | issue_url | id | node_id | user | created_at | updated_at | author_association | body | reactions | performed_via_github_app | issue |
---|---|---|---|---|---|---|---|---|---|---|---|
https://github.com/pydata/xarray/issues/1662#issuecomment-340008407 | https://api.github.com/repos/pydata/xarray/issues/1662 | 340008407 | MDEyOklzc3VlQ29tbWVudDM0MDAwODQwNw== | 1956032 | 2017-10-27T15:44:11Z | 2017-10-27T15:44:11Z | CONTRIBUTOR | Note that if the xarray decode_cf is given a NaT, in a datetime64, it works: ```python attrs = {'units': 'days since 1950-01-01 00:00:00 UTC'} # Classic Argo data Julian Day reference jd = [24658.46875, 24658.46366898, 24658.47256944, np.NaN] # Sample def dirtyfixNaNjd(ref,day): td = pd.NaT if not np.isnan(day): td = pd.Timedelta(days=day) return pd.Timestamp(ref) + td jd = [dirtyfixNaNjd('1950-01-01',day) for day in jd]
print jd
|
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
268725471 |