google-code-export / ccc-gistemp

Automatically exported from code.google.com/p/ccc-gistemp
Other
0 stars 0 forks source link

Sometimes awkward to convert vischeck URL into PNG file. #99

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Sometimes the URL that vischeck outputs is to long for an HTTP GET request.  
Especially if there is more than one series to display:

$ tool/vischeck.py --colour '000000,00ff00,0000ff' 
http://data.giss.nasa.gov/gistemp/tabledata/GLB.Ts+dSST.txt 
http://data.giss.nasa.gov/gistemp/tabledata/NH.Ts+dSST.txt 
http://data.giss.nasa.gov/gistemp/tabledata/SH.Ts+dSST.txthttp://chart.apis.goog
le.com/chart?cht=lxy&chds=-100,100,-100,100,-100,100,-100,100,-100,100,-100,100,
-100,100,-100,100,-100,100,-100,100,-100,100,-100,100,-100,100,-100,100,-100,100
,-100,100,-100,100,-100,100&chd=t:-999|-28,-21,-26,-27,-32,-32,-29,-35,-27,-17,-
39,-27,-32,-33,-33,-25,-14,-11,-26,-15,-8,-15,-24,-30,-34,-24,-19,-39,-33,-35,-3
3,-34,-32,-30,-15,-10,-30,-39,-33,-20,-19,-15,-26,-22,-22,-17,-2,-15,-13,-26,-8,
-2,-8,-19,-7,-12,-5,7,10,1,4,10,3,9,19,6,-5,0,-4,-7,-16,-4,3,11,-10,-10,-17,8,8,
6,-1,7,4,8,-21,-11,-3,-1,-4,8,3,-10,0,14,-8,-5,-16,12,1,8,19,26,4,25,9,4,12,27,3
1,19,36,35,13,13,23,37,29,39,56,32,33,47,56,55,48,63,55,58,44,57,-999|-999|-30,-
23,-29,-33,-42,-37,-35,-39,-27,-16,-40,-24,-36,-38,-34,-28,-19,-14,-23,-11,-5,-9
,-28,-28,-34,-22,-13,-43,-31,-33,-31,-29,-40,-33,-15,-6,-31,-47,-35,-25,-16,-7,-
23,-17,-12,-9,8,-6,-1,-23,6,10,3,-19,4,-4,2,19,23,12,11,14,11,18,29,9,6,12,7,3,-
13,7,10,27,1,-4,-22,6,17,12,10,7,14,15,-20,-14,-1,4,-4,0,-3,-16,-20,8,-21,-8,-25
,8,-4,4,10,33,1,20,-1,-5,9,21,31,22,48,37,7,15,33,53,25,49,70,47,48,59,66,68,63,
82,74,78,59,64,-999|-999|-26,-18,-23,-21,-21,-26,-23,-32,-26,-18,-38,-31,-28,-27
,-32,-23,-10,-9,-28,-20,-11,-20,-21,-33,-35,-26,-24,-35,-34,-37,-35,-38,-23,-27,
-15,-13,-30,-31,-31,-15,-23,-22,-28,-27,-33,-25,-12,-24,-25,-29,-23,-15,-18,-18,
-18,-20,-11,-5,-3,-10,-2,6,-6,1,10,4,-15,-12,-15,-17,-18,-15,-4,-5,-20,-15,-12,9
,0,-1,-11,8,-7,1,-21,-8,-6,-5,-5,15,9,-5,20,20,5,-2,-7,17,6,13,27,18,7,29,18,14,
15,32,32,16,24,32,18,12,14,21,32,29,43,16,19,36,46,42,32,43,35,38,28,51,-999|-10
0,100|-39,36|54,98|10,57|-100,100|-40,42|54,98|3,76|-100,100|-39,29|54,98|16,39&
chxt=x,y,r&chxl=0:|1880||||||||||1890||||||||||1900||||||||||1910||||||||||1920|
|||||||||1930||||||||||1940||||||||||1950||||||||||1960||||||||||1970||||||||||1
980||||||||||1990||||||||||2000||||||||||2010|1:||-0.5|+0.0|+0.5||2:||-0.5|+0.0|
+0.5|&chco=000000,00ff00,0000ff,000000,000000,00ff00,00ff00,0000ff,0000ff&chls=1
|1|1|1,8,2|1|1,8,2|1|1,8,2|1&chm=%40tTrend+in+%C2%B0C%2Fcentury+%28R%C2%B2%29%2C
000000%2C0%2C0.40%3A0.20%2C12|%40tfull%3A+0.58+%280.75%29%3B+30-year%3A+1.65+%28
0.69%29%2C000000%2C0%2C0.40%3A0.15%2C12|%40tfull%3A+0.63+%280.65%29%3B+30-year%3
A+2.51+%280.73%29%2C00ff00%2C0%2C0.40%3A0.10%2C12|%40tfull%3A+0.52+%280.77%29%3B
+30-year%3A+0.81+%280.39%29%2C0000ff%2C0%2C0.40%3A0.05%2C12&chs=600x500

Original issue reported on code.google.com by d...@ravenbrook.com on 17 Dec 2010 at 12:09

GoogleCodeExporter commented 9 years ago
Would be nice if there was an option to use a POST request to download the PNG. 
 POST requests can be much larger.

Original comment by d...@ravenbrook.com on 17 Dec 2010 at 12:09

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r649.

Original comment by d...@ravenbrook.com on 17 Dec 2010 at 12:10