Board index FlightGear Development Weather

AloftWx v0.9 Beta released

Everything related to weather simulation, visuals should be discussed in the shader subforum.

Re: AloftWx v0.9 Beta released

Postby V12 » Tue May 21, 2019 11:32 am

wkitty42 wrote in Mon May 20, 2019 10:49 pm:is there a linux flavor of wgrib2?

On live distro LUbuntu 19.04 64bit I was able compile wgrib2 from sources at https://www.cpc.ncep.noaa.gov/products/ ... tions.html. Before compilation I installed gfortran compiler.

EDIT :
Here is binary wgrib2 - https://github.com/BAWV12/FGFS201831-ME ... ter/wgrib2

Download and move to /usr/local/bin folder
Last edited by V12 on Tue May 21, 2019 12:32 pm, edited 1 time in total.
Fly high, fly fast - fly Concorde !
V12
 
Posts: 2757
Joined: Thu Jan 12, 2017 5:27 pm
Location: LZIB
Callsign: BAWV12

Re: AloftWx v0.9 Beta released

Postby legoboyvdlp » Tue May 21, 2019 12:01 pm

Isaak wrote in Tue May 21, 2019 11:29 am:I always use aloft waypoints because I had that error maybe 4-5 years ago for interpolated so assumed this was not implemented for live weather.)


I'll check which one I use when I get home ;)

Thanks for the report of the other bug. I'm not quite sure yet but it may be the import from flightgear via the aloft protocol thats the issue there
User avatar
legoboyvdlp
 
Posts: 7981
Joined: Sat Jul 26, 2014 2:28 am
Location: Northern Ireland
Callsign: G-LEGO
Version: next
OS: Windows 10 HP

Re: AloftWx v0.9 Beta released

Postby wkitty42 » Wed May 22, 2019 2:33 pm

V12 wrote in Tue May 21, 2019 10:04 am:
wkitty42 wrote in Mon May 20, 2019 10:49 pm:is there a linux flavor of wgrib2?

You can try wine. It should works.

not even with a weapon pointed at my head ;)
"You get more air close to the ground," said Angalo. "I read that in a book. You get lots of air low down, and not much when you go up."
"Why not?" said Gurder.
"Dunno. It's frightened of heights, I guess."
User avatar
wkitty42
 
Posts: 9123
Joined: Fri Feb 20, 2015 4:46 pm
Location: central NC, USA
Callsign: wk42
Version: git next
OS: Kubuntu 20.04

Re: AloftWx v0.9 Beta released

Postby legoboyvdlp » Wed May 22, 2019 4:34 pm

Isaak, I'm about to push a new version to git with my last few fixes. I don't see how the error you posted could possibly occur without something very wrong in the aloft.xml protocol file, but I pushed some code that will hopefully catch that error. Can you try it again?


I'll edit this post with a link to the release file shortly.

Edit - release:
https://github.com/legoboyvdlp/aloftWx/ ... 0.9.1-beta
User avatar
legoboyvdlp
 
Posts: 7981
Joined: Sat Jul 26, 2014 2:28 am
Location: Northern Ireland
Callsign: G-LEGO
Version: next
OS: Windows 10 HP

Re: AloftWx v0.9 Beta released

Postby Isaak » Wed May 22, 2019 4:49 pm

I don't have time today, but will test tomorrow evening (CET). Sorry for letting you wait!
Want to support medical research with your pc? Start Folding at Home and join team FlightGear!
Isaak
 
Posts: 767
Joined: Sat Jun 04, 2011 3:52 pm
Location: Hamme, Belgium
Pronouns: he, him
Callsign: OO-ISA
Version: next
OS: Windows 10

Re: AloftWx v0.9 Beta released

Postby legoboyvdlp » Wed May 22, 2019 5:31 pm

No worries - thanks for testing!
User avatar
legoboyvdlp
 
Posts: 7981
Joined: Sat Jul 26, 2014 2:28 am
Location: Northern Ireland
Callsign: G-LEGO
Version: next
OS: Windows 10 HP

Re: AloftWx v0.9 Beta released

Postby bugman » Wed May 22, 2019 10:59 pm

legoboyvdlp wrote in Mon May 20, 2019 6:31 pm:Then, install wgrib2 (not GPL or compatiable afaik so cannot distribute) - for windows:


According to https://www.cpc.ncep.noaa.gov/products/wesley/wgrib2/:

Distribution

The source code modules for wgrib2 are either in the public domain or under the GNU licence depending on the authors of the various modules. Wgrib2 uses libraries that are in the public domain, under various GNU licences, the Image Power JPEG-2000 Public Licence*, libpng licence*, the zlib licence*, the netcdf licence*, HDF5 licence*, MySQL licence* and perhaps others. How about one licence to rule them all?

* optional package


The GNU licence appears to be the GPLv2 (I haven't checked all sources yet though). So it does seem compatible and redistributable.

Regards,
Edward
bugman
Moderator
 
Posts: 1808
Joined: Thu Mar 19, 2015 10:01 am
Version: next

Re: AloftWx v0.9 Beta released

Postby Isaak » Thu May 23, 2019 8:41 am

Hi Jonathan,

I found a little bit of time to test already this morning. I still get no working aloft winds. The exact error I get inside FlightGear: Local weather: Wind model currently not supported with live weather. Aborting.

In AloftWx.exe I get everything running (both bars proceed to 100% and the connection to FG gets opened successful). But I still get the error below:

Image

I use the 777 in Windows 10 with FG 2019.2.0, build 3363, revision 2266c279302d1affaa6a4a58834e1c36ea83d643
Want to support medical research with your pc? Start Folding at Home and join team FlightGear!
Isaak
 
Posts: 767
Joined: Sat Jun 04, 2011 3:52 pm
Location: Hamme, Belgium
Pronouns: he, him
Callsign: OO-ISA
Version: next
OS: Windows 10

Re: AloftWx v0.9 Beta released

Postby legoboyvdlp » Thu May 23, 2019 11:02 am

As for the first error,
You would need to use the mode: aloft waypoints

(which I think was what you initially said! :oops: )

Sorry for the confusion on that :oops:

As for the second, would you mind confirming the two ports in the options menu, and the commandline used for the protocol?

Bugman, thanks very much; I'll push the windows binaries now, then.
User avatar
legoboyvdlp
 
Posts: 7981
Joined: Sat Jul 26, 2014 2:28 am
Location: Northern Ireland
Callsign: G-LEGO
Version: next
OS: Windows 10 HP

Re: AloftWx v0.9 Beta released

Postby V12 » Thu May 23, 2019 11:30 am

What about linux binaries of AloftWx ? I can try Wine, but native mode is far better.
Fly high, fly fast - fly Concorde !
V12
 
Posts: 2757
Joined: Thu Jan 12, 2017 5:27 pm
Location: LZIB
Callsign: BAWV12

Re: AloftWx v0.9 Beta released

Postby legoboyvdlp » Thu May 23, 2019 11:49 am

If I do not have Linux I have no idea how I am supposed to produce Linux binaries.
User avatar
legoboyvdlp
 
Posts: 7981
Joined: Sat Jul 26, 2014 2:28 am
Location: Northern Ireland
Callsign: G-LEGO
Version: next
OS: Windows 10 HP

Re: AloftWx v0.9 Beta released

Postby V12 » Thu May 23, 2019 12:12 pm

OK, thx, will try wine.
Fly high, fly fast - fly Concorde !
V12
 
Posts: 2757
Joined: Thu Jan 12, 2017 5:27 pm
Location: LZIB
Callsign: BAWV12

Re: AloftWx v0.9 Beta released

Postby legoboyvdlp » Thu May 23, 2019 12:32 pm

If you can compile it and send me them I can add the Linux binaries to the repository if you wish?
User avatar
legoboyvdlp
 
Posts: 7981
Joined: Sat Jul 26, 2014 2:28 am
Location: Northern Ireland
Callsign: G-LEGO
Version: next
OS: Windows 10 HP

Re: AloftWx v0.9 Beta released

Postby Isaak » Fri May 24, 2019 4:08 pm

Hi Jonathan,

I changed back to aloft waypoint, no worries ;)

For the ports:

AloftWx.exe: out: 5554, in: 5553
FlightGear:
--generic=socket,out,1,localhost,5554,udp,aloft
--generic=socket,in,1,localhost,5553,udp,aloft

Still no working aloft winds :/
Want to support medical research with your pc? Start Folding at Home and join team FlightGear!
Isaak
 
Posts: 767
Joined: Sat Jun 04, 2011 3:52 pm
Location: Hamme, Belgium
Pronouns: he, him
Callsign: OO-ISA
Version: next
OS: Windows 10

Re: AloftWx v0.9 Beta released

Postby legoboyvdlp » Fri May 24, 2019 5:15 pm

Ok. I'm sorry, I'm not really sure what could be wrong. :s
Make sure the ports are unoccupied maybe?

Maybe 5554 is used by something else. I think now that I remember that may be why I changed to 5550 from 5554.
User avatar
legoboyvdlp
 
Posts: 7981
Joined: Sat Jul 26, 2014 2:28 am
Location: Northern Ireland
Callsign: G-LEGO
Version: next
OS: Windows 10 HP

PreviousNext

Return to Weather

Who is online

Users browsing this forum: No registered users and 2 guests