An npm for environmental data

Hello!

Chris Adams

environmentally focused tech generalist

 

@mrchrisadams everywhere online (github, twitter etc.)

 

biz: productscience.co.uk

front and back end development (ruby, django, still using jQuery, sorry)

sysadmin'ing

design and wireframing

user research (remote especially)

product management

When I grow up, I want to be Bret Viktor.

Bret Viktor

worrydream.com

Title Text

worrydream.com/ClimateChange/

worrydream.com/ClimateChange/

Not a short read

(carbon budget video)

Model
Driven
Debate

(bigger model driven debate video)

Title Text

Subtitle

Title Text

Subtitle

A.M.E.E.

Avoid Mass Extinction Engine

"What gets measured, gets managed."

Peter Drucker 

(and loads of others)

Biz Plan (abridged)

  • Raise VC money (USV, OATV)
  • Hire science boffins
  • Read hundreds of climate and policy papers (IPCC, EPA, DEFRA etc.)
  • Build models based on papers
  • Put API on models 
  • ...
  • Profit!

discover.amee.com

"Google for environmental data"

(AMEE video demo)

BIG JAVA APP

Platform in java.

Models in javascript.

javascript?

O RLY?

OPENAMEE

OPEN... Avoid Mass Extinction Engine

github.com/openamee/datasets

SCIENCE

DATA

Title Text

Subtitle

ch4Emissions = livestockNumber * massCH4PerHeadPerTime;

var ch4GWP = parseFloat(dataFinder
 .getDataItemValue(
    'planet/greenhousegases/gwp',
    'gas=CH4','GWP'));
co2eEmissions = ch4Emissions * ch4GWP;

returnValues.putValue('CH4', 'kg','year', ch4Emissions);
returnValues.addNote('comment', 
    'CH4 emissions converted to CO2e using a global' +
    'warming potential of '+ ch4GWP);

returnValues.putValue('CO2e', 'kg','year', co2eEmissions);
returnValues.setDefaultType('CO2e');

JAVASCRIPT

what goes into a model

component file
SCIENCE documentation.creole
DATA data.csv, itemdef.csv
JAVASCRIPT default.js

"any application that can be written in JavaScript, will eventually be written in JavaScript."

Atwood's Law

What if you could run these outside the platform?

 

Create context to eval JS

Read data CSVs into context

Actually eval JS

Return values

 

How this might work:

is it that much of a leap?

Thank you!

 

 

cleanweb.berlin

next meetup Oct 25th

@cleanwebberlin

Want more environment and tech nerdery?

 

Made with Slides.com