On 07/27/16, KenDB3 said the following...ã > ã > Ke> For reference, I am trying to grab the data found here:ã > Ke> http://www.hamqsl.com/solarxml.phpãã > I didn't do this with java, but I thought you might get a kick out of theã > output:ãã > .---------------------------------------------------------------------------ã > --. | Current Solar-Terrestrial Data, Updated: 28 Jul 2016 1424 GMTã > | +-------------------------------------------------------------------------ã > ----+ | Solar Flux Index : 71 Electron Flux :ã > 4.41e+01 | | A Index : 4 Auroraã > : 1/n=1.99 | | K Index : 2 Mag. Field (Bz)ã > : 1.8 | | X-ray : A5.8 Solar Windã > : 393.8 | | Sunspot Number : 0 Geomagnetic Fieldã > : QUIET | | Helium Line (304A) : 110.6 @ SEM Signal Noiseã > : S1-S2 | | Proton Flux : 2.10e-01 MUF @ Boulder, COã > : 11.01 | +-----------------------------.----------------------------ã > .------------------+ | HF Conditions | VHF Conditionsã > |`. \ ' / .'| | --------------------------- |ã > | `. .-*""*-. .' | | Bands Day Night | Aurora Lat : 67.5ã > |-._ /.*. .*.\ _.-| | --------------------------- | Aurora : Bandã > Closed | : <x> <x> ; __| | 80m - 40m Fair Good | 6m EsEU :ã > 50MHz ES |""': .. ; | | 30m - 20m Fair Fair | 4m EsEUã > : Band Closed |-*" \ ____ / "*-| | 17m - 15m Poor Poor | 2m EsEUã > : High MUF | .' `-.__.-' `. | | 12m - 10m Poor Poor | 2m EsNAã > : Band Closed |.hamqsl.com/solar.| `-----------------------------^---------ã > -------------------^------------------'ã > ALCO-SOLAR v. 1.0 / by zERO rEADER / data fromã > N0NBHãã > Everything is colorized "Amiga" style. The band conditions are colorizedã > the exact same way you see them on hamqsl.com. The sun graphic in the bottomã > right corner goes from "sad" to "happy" depending on the SFI. You can seeã > right now he's "dead" as the flux is very low.ãã > The basic idea was to get the data from the feed, and just append it to theã > bottom of the template. ANSI positional codes (in this case, Mystic's MCIã > codes) are used to move the data to the right place in the template.ããAha! So, you are the one who wrote that! Someone showed me a screen shot of itãand asked if I could do something like it for Synchronet. I'm honestly not sureãI can, lol. ããYou did a really great job, I wanted to say kudos. Would you mind if I tried toãemulate what you did? Or, if your work is open source, would you mind if triedãto rewrite the whole thing from Python into Javascript and credit you with theãmodule? ããMy post was basically because I was tinkering around to see if I could evenãplay with the data before I started attempting to write anything else. ãã~KenDB3ãã---ã þ Synchronet þ KD3net-Rhode Island's only BBS about nothing. http://bbs.kd3.usã
On 07/28/16, KenDB3 said the following...ã > ã > Ke> You did a really great job, I wanted to say kudos. Would you mind if Iã > Ke> tried to emulate what you did? Or, if your work is open source, wouldã > Ke> you mind if tried to rewrite the whole thing from Python intoã > Ke> Javascript and credit you with the module? ãã > Thanks! I'm not a coder or anything and this was the first thing I ever didã > in Python. It started out just outputting the data like a list, and then Iã > just started adding onto it, making that template for it, etc. I originallyã > wrote it for DayDream BBS, but I re-did it and started using mystic's MCIã > codes rather than ANSI positioning.ãã > I run the script as a door from the BBS, or it could be a timed event, andã > it just generates a text file which is then displayed to the user.ãã > The module that does the heavy lifting is xmltodict, which I'm told is veryã > similar to JSON. I use it for some other stuff like a Top 10 Box Officeã > listing, and I had a Summits on the Air spot lister once upon a time also.ãã > You're free to use whatever you like. I was basically just riffing off theã > solar widgets from hamqsl. I actually sent him a screenshot of it in actionã > and he loved it.ãã > Ke> My post was basically because I was tinkering around to see if I couldã > Ke> even play with the data before I started attempting to write anythingã > Ke> else.ãã > Good luck with it! Let me know if you want to see the Python and I'll try toã > figure out a way to make it available. I never really released anythingã > because my code is so bad I didn't want to get ridiculed for it, heheh.ãã > In the meantime, I hope this solar flux index goes back up. I can't make anyã > magic happen on the airwaves...ãããThanks Man! I really appreciate it! ãã~KenDB3ãã---ã þ Synchronet þ KD3net-Rhode Island's only BBS about nothing. http://bbs.kd3.usã
Sysop: | Karloch |
---|---|
Location: | Madrid, Spain |
Users: | 78 |
Nodes: | 8 (0 / 8) |
Uptime: | 63:10:04 |
Calls: | 1,390 |
Calls today: | 1 |
Files: | 17,895 |
D/L today: |
8 files (174K bytes) |
Messages: | 66,281 |