{"action":"closed","issue":{"url":"https://api.github.com/repos/metno/esd/issues/182","repository_url":"https://api.github.com/repos/metno/esd","labels_url":"https://api.github.com/repos/metno/esd/issues/182/labels{/name}","comments_url":"https://api.github.com/repos/metno/esd/issues/182/comments","events_url":"https://api.github.com/repos/metno/esd/issues/182/events","html_url":"https://github.com/metno/esd/issues/182","id":141895316,"number":182,"title":"PCA converion to field.","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":2,"created_at":"2016-03-18T15:16:38Z","updated_at":"2016-04-12T07:22:14Z","closed_at":"2016-04-12T07:22:14Z","body":"The following code produces mangled resulte:\r\n```r2\r\ndemo('pca2eof',ask=FALSE)\r\nemds <- ensemblemean(dse.pca)  # looks OK\r\npca <- PCA(emds)                          # looks OK \r\neof <- pca2eof(pca)                        # Check\r\nfield <- pca2field(eof)                      # Check\r\nmap(field)                                       # mangled results\r\n```\r\nProblem: probably a transpose or mixed indces."}}