This file contains hidden or 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
In [1]: | |
from shapely import wkb | |
In [4]: | |
point = wkb.loads('0101000020E6100000FD31AD4D632254C04A79AD84EE364140', hex=True) | |
In [7]: | |
point.coords.xy | |
Out[7]: |
This file contains hidden or 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
function eat(line, callback) { | |
try { | |
var data = JSON.parse(line); | |
aggregator.dataEater(data.key, data.attributes, 5, function(err, GeoJSON) { | |
if (err) throw err; | |
callback(GeoJSON) | |
}); | |
} catch(err) { } | |
} |
This file has been truncated, but you can view the full file.
This file contains hidden or 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
{"attributes": {"band_1": 4.648577466762207}, "key": "n0n0n0n0n0n0n0n0n"} | |
{"attributes": {"band_1": 4.673655656474146}, "key": "s0s0s0s0s0s0s0s0s"} | |
{"attributes": {"band_1": 4.648577466762207}, "key": "n0n0n0n0n0n0n0n1n"} | |
{"attributes": {"band_1": 4.587318408405432}, "key": "n0n0n0n0n0n0n0n1s"} | |
{"attributes": {"band_1": 4.536698747421282}, "key": "n0n0n0n0n0n0n1n0n"} | |
{"attributes": {"band_1": 4.5485773304946555}, "key": "n0n0n0n0n0n0n1n0s"} | |
{"attributes": {"band_1": 4.448577425862086}, "key": "n0n0n0n0n0n0n1n1n"} | |
{"attributes": {"band_1": 4.448577425862086}, "key": "n0n0n0n0n0n0n1s1s"} | |
{"attributes": {"band_1": 4.348577521229518}, "key": "n0n0n0n0n0n1n0n0n"} | |
{"attributes": {"band_1": 4.348577521229519}, "key": "n0n0n0n0n0n1n0s0s"} |
This file contains hidden or 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.js:340 | |
throw err; | |
^ | |
Error: Cannot find module 'mkdirp' | |
at Function.Module._resolveFilename (module.js:338:15) | |
at Function.Module._load (module.js:280:25) | |
at Module.require (module.js:364:17) | |
at require (module.js:380:17) | |
at Object.<anonymous> (/Users/dnomadb/weather-data/index.js:5:14) | |
at Module._compile (module.js:456:26) |
This file contains hidden or 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
~/tri-zilla test-agg ✗ 1h11m ⚑ ◒ | |
▶ foo=(-b 0 0 0) | |
~/tri-zilla test-agg ✗ 1h13m ⚑ ◒ | |
▶ bar=$(printf " %s" "${foo[@]}") | |
~/tri-zilla test-agg ✗ 1h13m ⚑ ◒ | |
▶ bar=${bar:1} | |
~/tri-zilla test-agg ✗ 1h13m ⚑ ◒ |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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
{ type: 'Feature', | |
geometry: | |
{ type: 'Polygon', | |
coordinates: [ [Object], [Object], [Object], [Object] ] }, | |
attributes: { band_2: 0, band_3: 20, band_1: 0 } } | |
{ type: 'Feature', | |
geometry: | |
{ type: 'Polygon', | |
coordinates: [ [Object], [Object], [Object], [Object] ] }, | |
attributes: { band_2: 0, band_3: 20, band_1: 0 } } |
This file contains hidden or 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
Isss all done mayne.. | |
makesurface triangulate 11 --tile 3 3 3 13.63s user 0.56s system 99% cpu 14.245 total | |
makesurface fillfacets /Users/dnomadb/Downloads/TrueMarble.4km.10800x5400.tif 13.32s user 1.41s system 55% cpu 26.692 total | |
node clitest.js 3.81s user 0.63s system 16% cpu 26.697 total |
This file contains hidden or 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
makesurface triangulate 8 --tile 0 0 0 13.72s user 0.64s system 98% cpu 14.549 total | |
makesurface fillfacets /Users/dnomadb/Downloads/TrueMarble.4km.10800x5400.tif 13.50s user 1.65s system 55% cpu 27.317 total | |
node clitest.js 3.12s user 0.47s system 13% cpu 27.322 total |
This file contains hidden or 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
n0n0n:{"band_2":0,"band_3":20,"band_1":0} | |
n0n1n:{"band_2":0,"band_3":20,"band_1":0} | |
n1n0n:{"band_2":0,"band_3":20,"band_1":0} | |
n1n1n:{"band_2":0,"band_3":20,"band_1":0} | |
n0n0n:{"band_2":0,"band_3":20,"band_1":0} | |
s0s0s:{"band_2":0,"band_3":20,"band_1":0} | |
n0n0n:{"band_2":29.5,"band_3":44.5,"band_1":29.5} | |
n0n:{"band_2":7.375,"band_3":26.125,"band_1":7.375} | |
n0n1n:{"band_2":62.5,"band_3":77.5,"band_1":62.5} | |
n0n1n:{"band_2":227.75,"band_3":227.75,"band_1":227.75} |