{"action":"created","issue":{"url":"https://api.github.com/repos/sci-wms/sci-wms/issues/96","labels_url":"https://api.github.com/repos/sci-wms/sci-wms/issues/96/labels{/name}","comments_url":"https://api.github.com/repos/sci-wms/sci-wms/issues/96/comments","events_url":"https://api.github.com/repos/sci-wms/sci-wms/issues/96/events","html_url":"https://github.com/sci-wms/sci-wms/issues/96","id":114103534,"number":96,"title":"Increase sci-wms performance to that of ncwms","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":8,"created_at":"2015-10-29T17:28:32Z","updated_at":"2015-10-30T12:03:50Z","closed_at":null,"body":"I understand the need to get things working first and then worry about performance.  \r\n\r\nBut very few people will use sci-wms for regular/curvilinear grids if it is much slower than ncwms.    \r\n\r\nFor the test here: \r\nhttps://gist.github.com/rsignell-usgs/c2d112d050c42914f9b7\r\nthe getmap request is taking about 5 times longer with sci-wms compared to ncwms.\r\n\r\nTest 1: [sci-wms request](http://sci-wms.whoi.edu/wms/datasets/coawst?service=WMS&request=GetMap&version=1.1.1&layers=temp&styles=filledcontours_jet&NUMCONTOURS=64&format=image/png&transparent=true&height=256&width=256&colorscalerange=10,30&srs=EPSG:3857&bbox=-10018754.171394622,2504688.5428486555,-7514065.628545966,5009377.085697313&elevation=15)\r\n\r\nTest 2: [ncwms request](http://geoport-dev.whoi.edu/thredds/wms/coawst_4/use/fmrc/coawst_4_use_best.ncd?LAYERS=temp&ELEVATION=-0.03125&TRANSPARENT=true&STYLES=boxfill%2Frainbow&COLORSCALERANGE=10.0%2C30.00&NUMCOLORBANDS=64&LOGSCALE=false&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&FORMAT=image%2Fpng&SRS=EPSG%3A4326&BBOX=-89.8606,21.882,-67.887973988643,40.890&WIDTH=256&HEIGHT=256)\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/sci-wms/sci-wms/issues/comments/152506596","html_url":"https://github.com/sci-wms/sci-wms/issues/96#issuecomment-152506596","issue_url":"https://api.github.com/repos/sci-wms/sci-wms/issues/96","id":152506596,"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},"created_at":"2015-10-30T12:03:50Z","updated_at":"2015-10-30T12:03:50Z","body":"The impact of this slowness is really felt when the clients request tiles.   The map below from the sci-wms demo client took 30 seconds to finish drawing, issues 12 different getMap requests.  The same map from ncWMS takes about 5 seconds. \r\n\r\nI did notice that while most of these getMap requests look okay, two look suspicious, with e-10 specified for y_min in the bounding box:\r\n\r\nhttp://sci-wms.whoi.edu/wms/datasets/coawst?service=WMS&request=GetMap&version=1.1.1&layers=Hwave&styles=filledcontours_jet&format=image/png&transparent=true&height=256&width=256&colorscalerange=0,1&srs=EPSG:3857&bbox=-15028131.257091932,-7.081154551613622e-10,-12523442.714243276,2504688.5428486555\r\n\r\n\r\nhttp://sci-wms.whoi.edu/wms/datasets/coawst?service=WMS&request=GetMap&version=1.1.1&layers=Hwave&styles=filledcontours_jet&format=image/png&transparent=true&height=256&width=256&colorscalerange=0,1&srs=EPSG:3857&bbox=-7514065.628545966,-7.081154551613622e-10,-5009377.085697311,2504688.5428486555"}}