Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env python
'''
A simple python module for creating images out of netcdf arrays and outputing
kml files for Google Earth. The base class ncEarth cannot be used on its own,
it must be subclassed with certain functions overloaded to provide location and
plotting that are specific to a model's output files.
Requires matplotlib and Scientific python.
@jbeezley
jbeezley / WRF2mayavi.py
Created April 19, 2011 02:42
A python script that imports WRF-Fire output files into a mayavi2 session
#!/usr/bin/env python
'''
WRF2mayavi.py
Jonathan Beezley
April 18, 2011
This is a python script to import WRF-Fire output files into a mayavi2
session. To run it, you will need to have mayavi2 installed, which
requires a number of dependencies. See your package manager or the
@jbeezley
jbeezley / WRF2VTK.py
Created April 27, 2011 10:45
A python script to output vtk files from WRF-Fire output.
#!/usr/bin/env python
'''
WRF2VTK.py
Jonathan Beezley
April 27, 2011
This is a python script to convert WRF-Fire output files into a series
of vts (vtk structured grid) files. This script depends on the following
python modules:
@jbeezley
jbeezley / .gitignore
Created November 21, 2011 11:58 — forked from rudimeier/.gitignore
automated package source updates on the openSUSE Build Service
*~
@jbeezley
jbeezley / wrf-fire.rb
Created March 1, 2012 09:57
A homebrew formula for wrf-fire.
require 'formula'
class WrfFire < Formula
homepage 'http://www.openwfm.org'
head 'https://github.com/jbeezley/wrf-fire.git', :using => :git
depends_on 'netcdf'
def install
@jbeezley
jbeezley / gist:2818706
Created May 28, 2012 11:33
brew upgrade -v gdal --complete
This file has been truncated, but you can view the full file.
==> Upgrading gdal
/usr/bin/env python -c import numpy
==> Downloading http://download.osgeo.org/gdal/gdal-1.9.1.tar.gz
Already downloaded: /Users/jbeezley/Library/Caches/Homebrew/gdal-1.9.1.tar.gz
/usr/bin/tar xf /Users/jbeezley/Library/Caches/Homebrew/gdal-1.9.1.tar.gz
==> Patching
/usr/bin/patch -f -p1 -i 000-homebrew.diff
patching file configure
Hunk #1 succeeded at 24326 (offset 129 lines).
==> ./configure --prefix=/usr/local/Cellar/gdal/1.9.1 --mandir=/usr/local/Cellar/gdal/1.9.1/share/man --disable-debug --with-local=/usr/local/Cellar/gdal/1.9.1 --with-threads --with-libtool --with-libtiff=internal --with-geotiff=internal --with-pcraster=internal --with-pcidsk=internal --with-bsb --with-grib --with-pam --with-libz=/usr --with-png=/usr/X11 --with-expat=/usr --with-jpeg=/usr/local --with-jpeg12 --with-gif=/usr/local --with-curl=/usr/bin/curl-config --with-sqlite3=/usr/local --without-grass --without-libgrass --without-poppler --with-liblzma=yes --with-netcdf=/usr/local --with-hdf5=/usr/local --with-jaspe
@jbeezley
jbeezley / gist:2818716
Created May 28, 2012 11:40
brew --config
HOMEBREW_VERSION: 0.9
HEAD: 580f1b8e8189c6157368f9ad39f781428ccf31a4
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: 8-core 64-bit sandybridge
OS X: 10.6.8
Kernel Architecture: x86_64
Xcode: 3.2.6
GCC-4.0: build 5494
GCC-4.2: build 5666
@jbeezley
jbeezley / gist:2818720
Created May 28, 2012 11:41
config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by configure, which was
generated by GNU Autoconf 2.68. Invocation command line was
$ ./configure --prefix=/usr/local/Cellar/gdal/1.9.1 --mandir=/usr/local/Cellar/gdal/1.9.1/share/man --disable-debug --with-local=/usr/local/Cellar/gdal/1.9.1 --with-threads --with-libtool --with-libtiff=internal --with-geotiff=internal --with-pcraster=internal --with-pcidsk=internal --with-bsb --with-grib --with-pam --with-libz=/usr --with-png=/usr/X11 --with-expat=/usr --with-jpeg=/usr/local --with-jpeg12 --with-gif=/usr/local --with-curl=/usr/bin/curl-config --with-sqlite3=/usr/local --without-grass --without-libgrass --without-poppler --with-liblzma=yes --with-netcdf=/usr/local --with-hdf5=/usr/local --with-jasper=/usr/local --with-cfitsio=/usr/local --with-epsilon=/usr/local --with-odbc=/usr/local --with-spatialite=/usr/local --with-xerces=/usr/local --with-freexl=/usr/local --wi
@jbeezley
jbeezley / gist:2818825
Created May 28, 2012 12:12
brew upgrade -v nmap
==> Upgrading nmap
==> Downloading http://nmap.org/dist/nmap-6.00.tar.bz2
Already downloaded: /Users/jbeezley/Library/Caches/Homebrew/nmap-6.00.tar.bz2
/usr/bin/tar xf /Users/jbeezley/Library/Caches/Homebrew/nmap-6.00.tar.bz2
==> ./configure --prefix=/usr/local/Cellar/nmap/6.00 --with-libpcre=included --with-liblua=included --without-zenmap
./configure --prefix=/usr/local/Cellar/nmap/6.00 --with-libpcre=included --with-liblua=included --without-zenmap
checking whether NLS is requested... yes
checking build system type... x86_64-apple-darwin10.8.0
checking host system type... x86_64-apple-darwin10.8.0
checking for gcc... /usr/bin/gcc-4.2
@jbeezley
jbeezley / gist:2818826
Created May 28, 2012 12:12
config.log for nmap 6.00
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by configure, which was
generated by GNU Autoconf 2.68. Invocation command line was
$ ./configure --prefix=/usr/local/Cellar/nmap/6.00 --with-libpcre=included --with-liblua=included --without-zenmap
## --------- ##
## Platform. ##