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 10:32 am

wkitty42 wrote in Mon May 20, 2019 9: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 11:32 am, edited 1 time in total.
Fly high, fly fast - fly Concorde !
User avatar
V12
 
Posts: 1637
Joined: Thu Jan 12, 2017 4:27 pm
Location: LZIB
Callsign: BAWV12

Re: AloftWx v0.9 Beta released

Postby legoboyvdlp » Tue May 21, 2019 11:01 am

Isaak wrote in Tue May 21, 2019 10: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: 7280
Joined: Sat Jul 26, 2014 1:28 am
Callsign: YV-LEGO
Version: next
OS: Windows 10 HP

Re: AloftWx v0.9 Beta released

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

V12 wrote in Tue May 21, 2019 9:04 am:
wkitty42 wrote in Mon May 20, 2019 9: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: 5911
Joined: Fri Feb 20, 2015 3:46 pm
Location: central NC, USA
Callsign: wk42
Version: git next
OS: Kubuntu 14.04.5

Re: AloftWx v0.9 Beta released

Postby legoboyvdlp » Wed May 22, 2019 3: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: 7280
Joined: Sat Jul 26, 2014 1:28 am
Callsign: YV-LEGO
Version: next
OS: Windows 10 HP

Re: AloftWx v0.9 Beta released

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

I don't have time today, but will test tomorrow evening (CET). Sorry for letting you wait!
Isaak
 
Posts: 488
Joined: Sat Jun 04, 2011 2:52 pm
Location: Leuven, Belgium
Callsign: OO-ISA
Version: 2019.1.1
OS: Windows 10

Re: AloftWx v0.9 Beta released

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

No worries - thanks for testing!
User avatar
legoboyvdlp
 
Posts: 7280
Joined: Sat Jul 26, 2014 1:28 am
Callsign: YV-LEGO
Version: next
OS: Windows 10 HP

Re: AloftWx v0.9 Beta released

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

legoboyvdlp wrote in Mon May 20, 2019 5: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: 1726
Joined: Thu Mar 19, 2015 9:01 am
Version: next

Re: AloftWx v0.9 Beta released

Postby Isaak » Thu May 23, 2019 7: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
Isaak
 
Posts: 488
Joined: Sat Jun 04, 2011 2:52 pm
Location: Leuven, Belgium
Callsign: OO-ISA
Version: 2019.1.1
OS: Windows 10

Re: AloftWx v0.9 Beta released

Postby legoboyvdlp » Thu May 23, 2019 10: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: 7280
Joined: Sat Jul 26, 2014 1:28 am
Callsign: YV-LEGO
Version: next
OS: Windows 10 HP

Re: AloftWx v0.9 Beta released

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

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

Re: AloftWx v0.9 Beta released

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

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

Re: AloftWx v0.9 Beta released

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

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

Re: AloftWx v0.9 Beta released

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

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: 7280
Joined: Sat Jul 26, 2014 1:28 am
Callsign: YV-LEGO
Version: next
OS: Windows 10 HP

Re: AloftWx v0.9 Beta released

Postby Isaak » Fri May 24, 2019 3: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 :/
Isaak
 
Posts: 488
Joined: Sat Jun 04, 2011 2:52 pm
Location: Leuven, Belgium
Callsign: OO-ISA
Version: 2019.1.1
OS: Windows 10

Re: AloftWx v0.9 Beta released

Postby legoboyvdlp » Fri May 24, 2019 4: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: 7280
Joined: Sat Jul 26, 2014 1:28 am
Callsign: YV-LEGO
Version: next
OS: Windows 10 HP

PreviousNext

Return to Weather

Who is online

Users browsing this forum: No registered users and 1 guest