{"action":"created","issue":{"url":"https://api.github.com/repos/nctoolbox/nctoolbox/issues/55","labels_url":"https://api.github.com/repos/nctoolbox/nctoolbox/issues/55/labels{/name}","comments_url":"https://api.github.com/repos/nctoolbox/nctoolbox/issues/55/comments","events_url":"https://api.github.com/repos/nctoolbox/nctoolbox/issues/55/events","html_url":"https://github.com/nctoolbox/nctoolbox/issues/55","id":50700758,"number":55,"title":"Give geosubset the ability to access the \"top\" or \"bottom\" layer","user":{"login":"rsignell-usgs","id":1872600,"avatar_url":"https://avatars.githubusercontent.com/u/1872600?v=3","gravatar_id":"","url":"https://api.github.com/users/rsignell-usgs","html_url":"https://github.com/rsignell-usgs","followers_url":"https://api.github.com/users/rsignell-usgs/followers","following_url":"https://api.github.com/users/rsignell-usgs/following{/other_user}","gists_url":"https://api.github.com/users/rsignell-usgs/gists{/gist_id}","starred_url":"https://api.github.com/users/rsignell-usgs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rsignell-usgs/subscriptions","organizations_url":"https://api.github.com/users/rsignell-usgs/orgs","repos_url":"https://api.github.com/users/rsignell-usgs/repos","events_url":"https://api.github.com/users/rsignell-usgs/events{/privacy}","received_events_url":"https://api.github.com/users/rsignell-usgs/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2014-12-02T19:01:10Z","updated_at":"2015-01-16T19:32:05Z","closed_at":null,"body":"@acrosby , do you think it would be hard to allow users to specify \"top\" or \"bottom\" layer via the geosubset `z_index`?   I'm wondering whether, for example, we could specify `s.z_index='top'` or `s.z_index='bottom'` and have geosubset figure out which layer to extract (`1` or `end`).\r\n\r\nThis would help folks who are just trying to look at surface temperature not have to specify 1 if it's NCOM, but 30 if it's ROMS, etc..."},"comment":{"url":"https://api.github.com/repos/nctoolbox/nctoolbox/issues/comments/70308542","html_url":"https://github.com/nctoolbox/nctoolbox/issues/55#issuecomment-70308542","issue_url":"https://api.github.com/repos/nctoolbox/nctoolbox/issues/55","id":70308542,"user":{"login":"acrosby","id":865212,"avatar_url":"https://avatars.githubusercontent.com/u/865212?v=3","gravatar_id":"","url":"https://api.github.com/users/acrosby","html_url":"https://github.com/acrosby","followers_url":"https://api.github.com/users/acrosby/followers","following_url":"https://api.github.com/users/acrosby/following{/other_user}","gists_url":"https://api.github.com/users/acrosby/gists{/gist_id}","starred_url":"https://api.github.com/users/acrosby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acrosby/subscriptions","organizations_url":"https://api.github.com/users/acrosby/orgs","repos_url":"https://api.github.com/users/acrosby/repos","events_url":"https://api.github.com/users/acrosby/events{/privacy}","received_events_url":"https://api.github.com/users/acrosby/received_events","type":"User","site_admin":false},"created_at":"2015-01-16T19:32:05Z","updated_at":"2015-01-16T19:32:05Z","body":"@rsignell-usgs seems like that should work as you expect. I was looking at adding some functionality into the `indexing.m`  as well. Do you think that the names should be configured to work with atmospheric datasets as well? \r\n\r\nI was thinking that sometimes `surface` == `bottom`, and sometimes `top` == `surface` depending on the data. Maybe include all 3 as acceptable?"}}