Mercurial > repo
changeset 4386:e48726e91bda
<boily> ` rm bin/horrolative
author | HackBot |
---|---|
date | Thu, 30 Jan 2014 21:58:50 +0000 |
parents | dee64960f4ed |
children | 02be2e278897 |
files | bin/horrolative |
diffstat | 1 files changed, 0 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/bin/horrolative Thu Jan 30 21:46:16 2014 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,2 +0,0 @@ -#!/bin/sh -wget -q ftp://tgftp.nws.noaa.gov/data/observations/metar/stations/.txt -O - | grep | python -c 'import math,sys;a,b=[int(x.replace("M","-")) for x in [f for f in sys.stdin.readline().split() if "/" in f][0].split("/")];print("Humidité relative: %.1f%%"%(100*math.exp(17.67*(b/(b+243.5)-a/(a+243.5)))))'