Re: [9fans] radar

2011-10-07 Thread Gorka Guardiola
> > very interesting.  how do i tie this list to some place to grab images?  i'm > particularly interested in non-us sites.  i want to know of the rains in > spain. > It does not fall mainly in the plain... Sorry, could not resist. G.

Re: [9fans] radar

2011-10-06 Thread erik quanstrom
> http://weather.rap.ucar.edu/surface/stations.txt > > It also has the new LGX station and looks to be very well maintained. > It is also mirrored by noaa.gov. And its not just US stations, does > that help? very interesting. how do i tie this list to some place to grab images? i'm particular

Re: [9fans] radar

2011-10-05 Thread erik quanstrom
> > It also has the new LGX station and looks to be very well maintained. > > It is also mirrored by noaa.gov. And its not just US stations, does > > that help? > > > (Please excuse my ignorance, I haven't had a chance to look at the code, > at least not recently) > > > I don't have the answe

Re: [9fans] radar

2011-10-05 Thread erik quanstrom
> this model would also allow me to explicitly run usa/radar newyork > before going on holiday whilst running radar would tell > me its raining (because it always is). making things country or region specific seems unnecessary to support other radar systems do this all you need to do is tag the st

Re: [9fans] radar

2011-10-05 Thread erik quanstrom
> > this would need a new lines in my profile > > (here I agree with dexen completely) > > > > bind -a /386/bin/uk /bin# ? > > bind -a /rc/bin/uk /bin # radar script etc > > bind -a /lib/uk /lib# zipcodes, etc > > > > more idle thoughts. > > i'd advise aga

Re: [9fans] radar

2011-10-05 Thread dexen deVries
On Wednesday 05 of October 2011 13:20:45 Steve Simon wrote: > I think this goes further that I would (exeutable libraies) > I imagined only that we could have a few scripts and "database" files > in country specific directories. > > this model would also allow me to explicitly run usa/radar newyo

Re: [9fans] radar

2011-10-05 Thread Steve Simon
I think this goes further that I would (exeutable libraies) I imagined only that we could have a few scripts and "database" files in country specific directories. this model would also allow me to explicitly run usa/radar newyork before going on holiday whilst running radar would tell me its rain

Re: [9fans] radar

2011-10-05 Thread dexen deVries
On Wednesday 05 of October 2011 12:47:53 Steve Simon wrote: > As a UK resident it has occasionaly hit me how some bits of plan9 > (and there are only a few) are US centric. > > perhaps we could have somthing like /adm/country/ (analogous to > /adm/timezone) which would have various config files fo

Re: [9fans] radar

2011-10-05 Thread Steve Simon
As a UK resident it has occasionaly hit me how some bits of plan9 (and there are only a few) are US centric. perhaps we could have somthing like /adm/country/ (analogous to /adm/timezone) which would have various config files for things like radar, areacodes/stdcodes zipcodes/postcodes, weather, t

Re: [9fans] radar

2011-10-05 Thread Andy Spencer
On 2011-10-05 07:55, s...@9p.sdf.org wrote: > I found this: > > http://weather.rap.ucar.edu/surface/stations.txt > > It also has the new LGX station and looks to be very well maintained. > It is also mirrored by noaa.gov. And its not just US stations, does > that help? (Please excuse my ignor

Re: [9fans] radar

2011-10-05 Thread smj
> ack! misread. i've pushed out /lib/radar/genlat which automaticly > generates the latitude listings given the station listing to save you > from guessing. No problem. I'll grab that. > anybody know where a current station listing can be had? i scraped > mine from a pulldown, but there's got

Re: [9fans] radar

2011-10-04 Thread erik quanstrom
> > I added: LGX Langley Hill WA to lib/stations and LGX 47.109 -124.100 > > (approx) to lib/stationlat > > > > There is an interesting read about getting the array going and what it > > will do for Western Washington here: http://tx0.org/2uy > > i think it's already there. what you saw was pro

Re: [9fans] radar

2011-10-04 Thread erik quanstrom
On Wed Oct 5 01:13:08 EDT 2011, s...@9p.sdf.org wrote: > > i got motivated and fixed radar so that, > > - /lib/sky here is used to find the "nearest" radar station, and > > - if you enter an arbitrary (us, sorry) location like "eden prarie mn", > > radar > > will find the "nearest" radar station

Re: [9fans] radar

2011-10-04 Thread smj
> i got motivated and fixed radar so that, > - /lib/sky here is used to find the "nearest" radar station, and > - if you enter an arbitrary (us, sorry) location like "eden prarie mn", radar > will find the "nearest" radar station and display that. Very cool, it seems to be working quite well excep

[9fans] radar

2011-10-04 Thread erik quanstrom
i got motivated and fixed radar so that, - /lib/sky here is used to find the "nearest" radar station, and - if you enter an arbitrary (us, sorry) location like "eden prarie mn", radar will find the "nearest" radar station and display that. i spent a few minutes looking for decent european radars,

[9fans] radar

2011-10-02 Thread erik quanstrom
i finally got around to making the radar location configurable. try "radar san fran". if you apply rob's patch to gif(1) you'll even see the colors correctly. unfortunately the us government doesn't provide radar data for europe. sorry about that. - erik

Re: [9fans] radar for plan 9, and two draw funnies.

2009-12-12 Thread erik quanstrom
> On Fri, Dec 11, 2009 at 08:51:21PM -0500, erik quanstrom wrote: > > 1. for some reason the hw.gif (interstates) are > > in cyan not red. drawing the radar first and the > > hw second yields inverse radar colors. > In what order are you layering the images? According to [1] they are layered > le

Re: [9fans] radar for plan 9, and two draw funnies.

2009-12-12 Thread Jacob Todd
On Fri, Dec 11, 2009 at 08:51:21PM -0500, erik quanstrom wrote: > 1. for some reason the hw.gif (interstates) are > in cyan not red. drawing the radar first and the > hw second yields inverse radar colors. In what order are you layering the images? According to [1] they are layered left to right

Re: [9fans] radar for plan 9, and two draw funnies.

2009-12-12 Thread Russ Cox
On Sat, Dec 12, 2009 at 8:09 AM, erik quanstrom wrote: > i'm sure this could be smaller, but i've got to run. When you get back, please look into cutting it down to a smaller case. For example, you could use crop to isolate the small regions that it takes to reproduce the problem. Even better,

Re: [9fans] radar for plan 9, and two draw funnies.

2009-12-12 Thread erik quanstrom
i'm sure this could be smaller, but i've got to run. the images are here: /n/sources/contrib/quanstro/drawfunny/images/ ; 8.out <{jpg -t9 /lib/radar/*.jpg} <{gif -t9 /lib/radar/hw.gif} <{gif -t9 /lib/radar/radar.gif}|page #include #include #include #include #include #include enum {

Re: [9fans] radar for plan 9, and two draw funnies.

2009-12-12 Thread Russ Cox
> still, why is red getting turned to cyan? post a tiny program that demonstrates the bug and i'll look into it. you pointed at a directory with a complex program in it, and i don't have time to dig through it. russ

Re: [9fans] radar for plan 9, and two draw funnies.

2009-12-12 Thread erik quanstrom
On Sat Dec 12 09:59:41 EST 2009, r...@swtch.com wrote: > > why would m8 != r8g8b8? > > m8 is approximately r2g2b2. > you don't have nearly enough > precision to do image compositing > and get useful results. that makes sense. > a better question would be why > you are using m8. jpg without -t d

Re: [9fans] radar for plan 9, and two draw funnies.

2009-12-12 Thread Russ Cox
> why would m8 != r8g8b8? m8 is approximately r2g2b2. you don't have nearly enough precision to do image compositing and get useful results. a better question would be why you are using m8. russ

[9fans] radar for plan 9, and two draw funnies.

2009-12-11 Thread erik quanstrom
once upon a time, it was pretty easy to get a radar image on the web. these days, they're fancy. the one i use is http://radar.weather.gov/ridge which consists of a number of transparent images that need to be overlaid. this can be done with page, but it's pretty painful without double-buffering,