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
wget -c http://ufpr.dl.sourceforge.net/project/pysclint/pyhdf/0.8.3/pyhdf-0.8.3.tar.gz | |
tar zxvf pyhdf-0.8.3.tar.gz | |
cd pyhdf-0.8.3 | |
sudo apt-get install libhdf4-dev | |
sudo apt-get install python2.6-dev | |
cd pyhdf | |
sudo apt-get install swig | |
swig -python hdfext.i | |
cd .. | |
export INCLUDE_DIRS=/usr/include/hdf |
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
""" MODULE images2gif | |
Provides a function (writeGif) to write animated gif from a series | |
of PIL images or numpy arrays. | |
This code is provided as is, and is free to use for all. | |
Almar Klein (June 2009) | |
- based on gifmaker (in the scripts folder of the source distribution of PIL) |
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
Latin,PolygonCount | |
Abeillia abeillei,6 | |
Abroscopus schisticeps,4 | |
Abroscopus superciliaris,1 | |
Acanthidops bairdii,6 | |
Acanthiza chrysorrhoa,1 | |
Acanthiza inornata,1 | |
Acanthiza iredalei,1 | |
Acanthiza katherina,1 | |
Acanthiza reguloides,1 |
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
geography.sql.in.c | |
legacy_compatibility_layer.sql.in.c | |
legacy.sql.in.c | |
long_xact.sql.in.c | |
lwgeom_sqlmm.c | |
postgis_drop_before.sql.in.c | |
postgis_drop.sql.in.c | |
postgis.sql.in.c | |
postgis_upgrade_20_minor.sql.in | |
sqlmm.sql.in.c |
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
https://eighty.cartodb.com/tiles/mol_cody/3/6/3.png?style=#mol_cody{polygon-fill:#99CC00; polygon-opacity:.5; line-opacity:1; line-color:#FFFFFF; line-width:0;} |
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
{ | |
"_id":"0-12736", | |
"_rev":"1-b5615b9a2648d5518be35c9e2d47c42a", | |
"b":[ | |
[ | |
"-180", | |
"-16.1333333" | |
], | |
[ | |
"-179.9912754", |
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
{ | |
"url": "http://www.cellmapper.net/api/v2/json.php?action=getTowers&data[MCC]=202&data[MNC]=1&data[LAC]=1002" | |
"action":"getTowers", | |
"data":[ | |
{ | |
"base":"33", | |
"visible":1, | |
"latitude":37.945139540016, | |
"longitude":23.658307831007 | |
}, |
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
{ | |
"layers":{ | |
"0":{ | |
"name":"Perdix concolor", | |
"source":"aaron", | |
"type":"ecoregion" | |
}, | |
"1":{ | |
"name":"Perdix hodgsoniae", | |
"source":"cody", |
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 subprocess | |
import shlex | |
import glob | |
command = "gdal_translate -of GTiff %s %s.tif" | |
for bil in glob.glob('*.bil'): | |
subprocess.call(shlex.split(command % (bil, bil))) |
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
SELECT rid, band, (stats).* FROM (SELECT rid, band, ST_SummaryStats(rast, band) As stats FROM bioclim10_29 CROSS JOIN generate_series(1,3) As band WHERE rid=2) As foo; |