{"action":"created","issue":{"url":"https://api.github.com/repos/sci-wms/sci-wms/issues/102","labels_url":"https://api.github.com/repos/sci-wms/sci-wms/issues/102/labels{/name}","comments_url":"https://api.github.com/repos/sci-wms/sci-wms/issues/102/comments","events_url":"https://api.github.com/repos/sci-wms/sci-wms/issues/102/events","html_url":"https://github.com/sci-wms/sci-wms/issues/102","id":115518725,"number":102,"title":"IndexError: list index out of range","user":{"login":"metanomy","id":11446338,"avatar_url":"https://avatars.githubusercontent.com/u/11446338?v=3","gravatar_id":"","url":"https://api.github.com/users/metanomy","html_url":"https://github.com/metanomy","followers_url":"https://api.github.com/users/metanomy/followers","following_url":"https://api.github.com/users/metanomy/following{/other_user}","gists_url":"https://api.github.com/users/metanomy/gists{/gist_id}","starred_url":"https://api.github.com/users/metanomy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/metanomy/subscriptions","organizations_url":"https://api.github.com/users/metanomy/orgs","repos_url":"https://api.github.com/users/metanomy/repos","events_url":"https://api.github.com/users/metanomy/events{/privacy}","received_events_url":"https://api.github.com/users/metanomy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-11-06T14:49:39Z","updated_at":"2015-11-06T15:31:02Z","closed_at":null,"body":"1. Added WFS FVCOM layer to sci-wms: http://crow.marine.usf.edu:8080/thredds/dodsC/FVCOM-Nowcast-Agg.nc.html\r\n\r\n2. Attempt to access eastward_sea_water_velocity (http://dev.tampabaymap.org)\r\n\r\n![image](https://cloud.githubusercontent.com/assets/11446338/10999719/9fb5eb6a-846b-11e5-844a-22f5578938d0.png)\r\n\r\n\r\nError from sci-wms log (docker logs sci-wms):\r\n\r\nERROR:django.request:Internal Server Error: /wms/datasets/wfsfvcom\r\nTraceback (most recent call last):\r\n  File \"/opt/conda/lib/python2.7/site-packages/django/core/handlers/base.py\", line 111, in get_response\r\n    response = wrapped_callback(request, *callback_args, **callback_kwargs)\r\n  File \"/opt/conda/lib/python2.7/site-packages/django/views/generic/base.py\", line 69, in view\r\n    return self.dispatch(request, *args, **kwargs)\r\n  File \"/opt/conda/lib/python2.7/site-packages/django/views/generic/base.py\", line 87, in dispatch\r\n    return handler(request, *args, **kwargs)\r\n  File \"/srv/sci-wms/wms/views.py\", line 263, in get\r\n    request = enhance_getmap_request(dataset, layer, request)\r\n  File \"/srv/sci-wms/wms/views.py\", line 122, in enhance_getmap_request\r\n    colormap=wms_handler.get_colormap(request),\r\n  File \"/srv/sci-wms/wms/wms_handler.py\", line 195, in get_colormap\r\n    requested_cm = request.GET.get(parameter).split(',')[0].split('_')[1]\r\nIndexError: list index out of range\r\nERROR:tornado.access:500 GET /wms/datasets/wfsfvcom?time=2013-12-05T07%3A00%3A00Z&srs=EPSG%3A3857&transparent=true&format=image%2Fpng&exceptions=application%2Fvnd.ogc.se_xml&styles=&tiled=true&service=WMS&version=1.1.1&request=GetMap&layers=u&bbox=-20037508.342789244%2C0%2C0%2C20037508.342789244&width=256&height=256 (172.17.42.1) 12.70ms"},"comment":{"url":"https://api.github.com/repos/sci-wms/sci-wms/issues/comments/154438822","html_url":"https://github.com/sci-wms/sci-wms/issues/102#issuecomment-154438822","issue_url":"https://api.github.com/repos/sci-wms/sci-wms/issues/102","id":154438822,"user":{"login":"metanomy","id":11446338,"avatar_url":"https://avatars.githubusercontent.com/u/11446338?v=3","gravatar_id":"","url":"https://api.github.com/users/metanomy","html_url":"https://github.com/metanomy","followers_url":"https://api.github.com/users/metanomy/followers","following_url":"https://api.github.com/users/metanomy/following{/other_user}","gists_url":"https://api.github.com/users/metanomy/gists{/gist_id}","starred_url":"https://api.github.com/users/metanomy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/metanomy/subscriptions","organizations_url":"https://api.github.com/users/metanomy/orgs","repos_url":"https://api.github.com/users/metanomy/repos","events_url":"https://api.github.com/users/metanomy/events{/privacy}","received_events_url":"https://api.github.com/users/metanomy/received_events","type":"User","site_admin":false},"created_at":"2015-11-06T15:31:02Z","updated_at":"2015-11-06T15:31:02Z","body":"I can see the data on the sci-wms Leaflet preview, but when I try to access through TerriaJS, that's when it throws the error."}}