This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: nc-config.in | |
=================================================================== | |
6,7d5 | |
< # | |
< # $Id: nc-config.in,v 1.17 2010/03/24 15:20:37 dmh Exp $ | |
15,16d12 | |
< cxx="@CXX@" | |
< fc="@FC@" | |
18d13 | |
< fflags="@FFLAGS@ @MOD_FLAG@${includedir}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
try: | |
from Polygon import * | |
except ImportError as e: | |
print 'Requires Polygon module from https://github.com/jraedler/Polygon2.' | |
print '' | |
print 'Try to install as follows:' | |
print '' | |
print 'git clone https://github.com/jraedler/Polygon2.git' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
&share | |
wrf_core = 'ARW', | |
max_dom = 1, | |
start_date = '2005-08-28_12:00:00','2008-05-19_12:00:00','2008-05-19_12:00:00','2008-05-19_12:00:00','2008-05-19_12:00:00','2008-05-19_12:00:00', | |
end_date = '2005-08-28_15:00:00','2008-05-19_18:00:00','2008-05-19_18:00:00','2008-05-19_18:00:00','2008-05-19_18:00:00','2008-05-19_18:00:00', | |
interval_seconds = 10800 | |
io_form_geogrid = 2, | |
subgrid_ratio_x = 10, | |
subgrid_ratio_y = 10, | |
/ |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
==> Downloading http://www.python.org/ftp/python/2.7.4/Python-2.7.4.tar.bz2 | |
Already downloaded: /Library/Caches/Homebrew/python-2.7.4.tar.bz2 | |
tar xf /Library/Caches/Homebrew/python-2.7.4.tar.bz2 | |
==> ./configure --prefix=/usr/local/Cellar/python/2.7.4 --enable-ipv6 --datarootdir=/usr/local/Cellar/python/2.7.4/share --datadir=/usr/local/Cellar/python/2.7.4/share --enable-framework=/usr/local/Cellar/python/2.7.4/Frameworks --without-gcc CFLAGS=-I/usr/local/include -I/usr/local/opt/sqlite/include LDFLAGS=-L/usr/local/lib -L/usr/local/opt/sqlite/lib MACOSX_DEPLOYMENT_TARGET=10.8 | |
./configure --prefix=/usr/local/Cellar/python/2.7.4 --enable-ipv6 --datarootdir=/usr/local/Cellar/python/2.7.4/share --datadir=/usr/local/Cellar/python/2.7.4/share --enable-framework=/usr/local/Cellar/python/2.7.4/Frameworks --without-gcc CFLAGS=-I/usr/local/include -I/usr/local/opt/sqlite/include LDFLAGS=-L/usr/local/lib -L/usr/local/opt/sqlite/lib MACOSX_DEPLOYMENT_TARGET=10.8 | |
checking build system type... x86_64-apple-darwin12.3.0 | |
check |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
############################################################################# | |
## | |
## Copyright (C) 2004-2005 Trolltech AS. All rights reserved. | |
## | |
## This file is part of the example classes of the Qt Toolkit. | |
## | |
## This file may be used under the terms of the GNU General Public | |
## License version 2.0 as published by the Free Software Foundation |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/addon/doxywizard/Makefile.in b/addon/doxywizard/Makefile.in | |
index 727409a..8b0d00f 100644 | |
--- a/addon/doxywizard/Makefile.in | |
+++ b/addon/doxywizard/Makefile.in | |
@@ -30,7 +30,7 @@ distclean: Makefile.doxywizard | |
install: | |
$(INSTTOOL) -d $(INSTALL)/bin | |
- $(INSTTOOL) -m 755 ../../bin/doxywizard $(INSTALL)/bin | |
+ $(INSTTOOL) -m 755 ../../bin/doxywizard.app/Contents/MacOS/doxywizard $(INSTALL)/bin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'formula' | |
class Doxygen < Formula | |
homepage 'http://www.doxygen.org/' | |
url 'http://ftp.stack.nl/pub/users/dimitri/doxygen-1.8.5.src.tar.gz' | |
mirror 'http://downloads.sourceforge.net/project/doxygen/rel-1.8.5/doxygen-1.8.5.src.tar.gz' | |
sha1 '1fc5ceec21122fe5037edee4c308ac94b59ee33e' | |
head 'https://doxygen.svn.sourceforge.net/svnroot/doxygen/trunk' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
import time | |
import math | |
import pymongo | |
import json | |
# healthMap data json | |
fname = 'healthMapDump.json' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import requests | |
import json | |
# main api url | |
url = 'https://grits.ecohealth.io/gritsdb/api/v1' | |
# put your username/password here | |
auth = ('myUsername', 'myPassword') |