{"action":"closed","issue":{"url":"https://api.github.com/repos/metno/esd/issues/67","labels_url":"https://api.github.com/repos/metno/esd/issues/67/labels{/name}","comments_url":"https://api.github.com/repos/metno/esd/issues/67/comments","events_url":"https://api.github.com/repos/metno/esd/issues/67/events","html_url":"https://github.com/metno/esd/issues/67","id":63943087,"number":67,"title":"Still some problems with subset.station...","user":{"login":"brasmus","id":7392034,"avatar_url":"https://avatars.githubusercontent.com/u/7392034?v=3","gravatar_id":"","url":"https://api.github.com/users/brasmus","html_url":"https://github.com/brasmus","followers_url":"https://api.github.com/users/brasmus/followers","following_url":"https://api.github.com/users/brasmus/following{/other_user}","gists_url":"https://api.github.com/users/brasmus/gists{/gist_id}","starred_url":"https://api.github.com/users/brasmus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brasmus/subscriptions","organizations_url":"https://api.github.com/users/brasmus/orgs","repos_url":"https://api.github.com/users/brasmus/repos","events_url":"https://api.github.com/users/brasmus/events{/privacy}","received_events_url":"https://api.github.com/users/brasmus/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-24T09:03:07Z","updated_at":"2015-03-24T09:10:42Z","closed_at":"2015-03-24T09:10:42Z","body":"The time indexing with logicals has some problems:\r\n```r2\r\nss <- select.station(cntr='Norway',param='t2m',lon=c(-10,5),lat=c(55,65))\r\nY <- station(ss)\r\nok <- apply(coredata(Y),2,nv)\r\ny <- subset(Y,is=(ok > 10000))\r\ndiagnose(y)\r\ny <- subset(y,is=8)\r\nz <- subset(y,it=is.finite(coredata(y)))\r\n```\r\n\r\nOutput:\r\n```r2\r\n[1] \"The 'it' value are most probably a month index. If not please use character strings instead\"\r\n[1] \"Subset of 0 data points between 1867 - 2015 total: 54080\"\r\n> str(z)\r\n‘zoo’ series (without observations)\r\n```\r\n\r\n"}}