El güederman: winter is coming!

Post on 22-Nov-2014

123 views 4 download

description

Les voy a platicar de cómo estamos re-diseñando los mecanismos de alerta temprana en México utilizando metodologías ágiles de desarrollo, human-centered design, y open data.

Transcript of El güederman: winter is coming!

@RODOWI

Hasta hace unos meses

Le metimos swag

http://cdb.io/1rRjzes

http://google.org/crisismap/mexico

REGEXPS + SINATRA API/.*(winter)+/ig => { center: “19.41N 99.16W” }

https://github.com/mxabierto/weatherman

http://www.nhc.noaa.gov/archive/2013/al10/al102013.fstadv.005.shtml?

callback({

center: "15.9N 126.5W",effective: "27/0300Z",forecasts: [

{id: "27/1200Z",north: "15.7N",west: "125.4W",max: "25 KT",gusts: "35 KT"

},{

id: "28/0000Z",north: "16.3N",west: "124.0W",max: "20 KT",gusts: "30 KT"

}],minCentralPressure: "1005 MB",movement: "TOWARD THE SOUTHEAST OR 135 DEGREES AT 4 KT",time: "0300 UTC WED AUG 27 2014",winds: {

maxSustainedWindsWithGusts: "MAX SUSTAINED WINDS 25 KT WITH GUSTS TO 35 KT.",direction: [ ],seas: ""

}})

webmockassert_equal "23.7N 99.9W", h.center

https://travis-ci.org/mxabierto/weatherman

Google Maps JS APIgoogle.maps.event.addListener(‘mx’)

https://gist.github.com/rodowi/9862641

PostGISSELECT ST_Centroid(hurricane)

https://gist.github.com/rodowi/9966926

SELECT station_naFROM

nhc_breakpoints_2014 ORDER BY

nhc_breakpoints_2014.the_geom <->

ST_GeomFromText('POINT(-110.6

18.4)', 4326)LIMIT 2

{rows: [

{station_na: "Isla Socorro"

},{

station_na: "Cabo San Lucas"}

],time: 0.033,fields: {

station_na: {

type: "string"}

},total_rows: 2}

FIN

https://twitter.com/rodowi