Skip to content

Instantly share code, notes, and snippets.

View cbcunc's full-sized avatar

Chris Calloway cbcunc

View GitHub Profile
@cbcunc
cbcunc / pyugrid-iris-test.ipynb
Last active August 29, 2015 14:13
Check out Iris and PyUgrid interaction
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@cbcunc
cbcunc / shape2raster-cartopy.ipynb
Created January 22, 2015 02:14
Plot SWAN shapefile with cartopy
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@cbcunc
cbcunc / sci-wms-test-error.txt
Last active August 29, 2015 14:14
sci-wms test error
(sci-wms)pylantic:sci-wms cbc$ python manage.py test
Updating datasets...
##################################################
# #
# Starting sci-wms... #
# A wms server for unstructured scientific data #
# #
##################################################
@cbcunc
cbcunc / runserver-oserror.stdout
Created February 11, 2015 00:09
Memory Allocation Error starting Django 1.6 on Centos 7
Updating datasets...
##################################################
# #
# Starting sci-wms... #
# A wms server for unstructured scientific data #
# #
##################################################
Traceback (most recent call last):
# login as user in wheel group but not root
# only required if networking not config’d during Centos install
# sudo vi /etc/sysconfig/network-scripts/ifcfg-eth0
# NM_CONTROLLED=no
# ONBOOT=yes
# BOOTPROTO=dhcp
# sudo service network restart
sudo yum -y groupinstall development
sudo yum -y install gcc-c++ # only necessary on Fedora
sudo yum -y install kernel-devel epel-release
@cbcunc
cbcunc / sci-wms-display-layer-error.stdout
Last active August 29, 2015 14:15
sci-wms error displaying layer
(sci-wms)pylantic:sci-wms cbc$ python manage.py runserver
Updating datasets...
##################################################
# #
# Starting sci-wms... #
# A wms server for unstructured scientific data #
# #
##################################################
@cbcunc
cbcunc / sciwms_wms.log-display-layer.txt
Last active August 29, 2015 14:15
sciwms_wms.log corresponding to display layer error
[2015-02-18 13:24:01,634] - <<INFO>> - |Updating CGridTest|
[2015-02-18 13:24:01,634] - <<INFO>> - |No cache found, Initializing: /Users/cbc/anaconda/envs/sci-wms/sci-wms/sciwms/apps/wms/resources/nasa_scb20111015.nc|
[2015-02-18 13:24:01,634] - <<INFO>> - |Trying pyugrid|
[2015-02-18 13:24:01,636] - <<INFO>> - |Cannot open with pyugrid: ['Traceback (most recent call last):\n', ' File "/Users/cbc/anaconda/envs/sci-wms/sci-wms/sciwms/libs/data/caching.py", line 118, in create_topology\n ug = pyugrid.UGrid.from_nc_dataset(nc)\n', ' File "/Users/cbc/anaconda/envs/sci-wms/pyugrid/pyugrid/ugrid.py", line 149, in from_nc_dataset\n read_netcdf.load_grid_from_nc_dataset(nc, grid, mesh_name, load_data)\n', ' File "/Users/cbc/anaconda/envs/sci-wms/pyugrid/pyugrid/read_netcdf.py", line 124, in load_grid_from_nc_dataset\n raise ValueError("There are no standard-conforming meshes in %s"%nc.filepath)\n', 'ValueError: There are no standard-conforming meshes in <built-in method filepath of netCDF4.Dataset object
@cbcunc
cbcunc / scmwms_wms.log.centos7-runserver-oserror.txt
Created February 18, 2015 18:55
scmwms_wms.log on Centos7 VM with 4G RAM
[2015-02-18 13:38:42,632] - <<INFO>> - |Updating CGridTest|
[2015-02-18 13:38:42,632] - <<INFO>> - |No cache found, Initializing: /opt/envs/sciwms/pyugrid/sci-wms/sciwms/apps/wms/resources/nasa_scb20111015.nc|
[2015-02-18 13:38:42,632] - <<INFO>> - |Trying pyugrid|
[2015-02-18 13:38:42,667] - <<INFO>> - |Cannot open with pyugrid: ['Traceback (most recent call last):\n', ' File "/opt/envs/sciwms/pyugrid/sci-wms/sciwms/libs/data/caching.py", line 118, in create_topology\n ug = pyugrid.UGrid.from_nc_dataset(nc)\n', ' File "/opt/envs/sciwms/lib/python2.7/site-packages/pyugrid-0.1.2-py2.7.egg/pyugrid/ugrid.py", line 149, in from_nc_dataset\n read_netcdf.load_grid_from_nc_dataset(nc, grid, mesh_name, load_data)\n', ' File "/opt/envs/sciwms/lib/python2.7/site-packages/pyugrid-0.1.2-py2.7.egg/pyugrid/read_netcdf.py", line 124, in load_grid_from_nc_dataset\n raise ValueError("There are no standard-conforming meshes in %s"%nc.filepath)\n', 'ValueError: There are no standard-conforming meshes in <built-in me
@cbcunc
cbcunc / sciwms-runserver-fedora.stdout
Created February 18, 2015 19:04
sciwms runserver django error on fedora 20 (7 hours to start server)
(sciwms)[cbc@bluheron sci-wms]$ python manage.py runserver
Updating datasets...
##################################################
# #
# Starting sci-wms... #
# A wms server for unstructured scientific data #
# #
##################################################
@cbcunc
cbcunc / IndexError- at-_wms_simple.html
Last active August 29, 2015 14:15
sciwms IndexError page when selecting client on Fedora 20
<!DOCTYPE html>
<html lang="en"><head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta name="robots" content="NONE,NOARCHIVE">
<title>IndexError at /wms/simple</title>
<style type="text/css">
html * { padding:0; margin:0; }
body * { padding:10px 20px; }
body * * { padding:0; }
body { font:small sans-serif; }