New toy available online.

A place to converse about the general aspects of flight simulation in New Zealand

Postby greaneyr » Sun Dec 30, 2007 8:14 pm

Hi all

I've had this thing in action for a while now but haven't really publicised it.

The weather that FS9 and FSX download (and likewise for any add-ons I've seen) is limited to Auckland, Wellington and Christchurch. These are the only three airports that report around-the-clock METARs and are the only airports acknowledged by the WMS (World Meteorlological Society) as 'true' International airports. If you want to fly to airports outside these locations, you have to either live with their weather or settle for the FS defaults.

A few years ago, I wrote a personal app to try and break this limit, which took NZ Synop weather data from NOAA (originally from Metservice weather stations around the country) and wrote it all into a .WX file for use by FS9. For those who don't know, Synop data is 3-hourly observational data that Metservice stations record. It includes things like wind, temperature, dewpoint, QNH and, in the case of the more spoilt locations, visibility and the height of the lowest detected cloud layer. This data makes up the bulk of what FS classes as 'weather'. The information for NZ airports is mostly out there already, it's just not in a format that FS understands. What my app does is process the latest weather data and write it into a format that fs DOES understand.

It's not a realtime downloader in the same league as Active Sky, although it does include a lot more stations and also shares the ActiveSky phenomenon of smoothing the weather between airports rather than using the SquawkBox style 'sudden change in weather' as you get close to a new station. What it does is creates a .wx file to accompany an existing saved .flt file. If you save a flight in FS, it saves a .flt (the flight) and a .wx (the weather). My app will help you with the second part.



How do you use it?
    *Go to FS and save a default flight. Take note of the filename. I call mine 'nzwx'. Close FS. (You only have to do this step once)
    Before you fly:
    *Go to http://flightsimnz.freehostia.com/ You should see a whole lot of METARs on the screen (if you don't, you've probably come on at just the wrong time. Come back in about 15 mins and try again).
    *Click on the link at the bottom of the page called "Download FS9 .WX file"
    *Save it to your "My Documents\Flight Simulator Files" folder, and name it the same as the default flight you saved. Note that the extension is important and should always be .WX
    *You will be prompted to overwrite the existing file. Say yes.
    *Start FS9 and load the flight you just saved.
    *Enjoy weather for all of NZ


How does it work?
The script writes a .WX file which is the weather associated with a saved flight on FS. Every flight you save will have a corresponding weather file associated with it. In this case, the .WX file happens to include weather for most significant NZ airports.

What's wrong with just using the online weather from VATSIM?
What if you don't fly online? What if you don't own ActiveSky? I wrote this program years ago because I was getting fed up with the way many weather add-ons for FS worked. They loaded the weather for an airport only once you got close to it which made for some very sudden changes in weather.

This also gives you a 'takeaway weather file' which can be used on machines without a permanent connection.

Why use SYNOP data and why not use METARs?
Because METARs aren't available around the clock. Synop data is.

Does it work with FSX?
I don't know, you tell me! I hope so anyway.
I don't yet know if Microsoft have changed the weather theme/weather file binary format in the latest flight simulator. I'd be keen to hear from FSX users who may have tested this script out.

Bugs? Problems? Limitations?
The biggest limitations are on weather in between airports. The weather for all non-airport places has to be the same for the entire country. So this makes it a bit weak for use in cross country flights, but if enroute weather isn't important then that shouldn't matter.


Just so you can see what this gives, here's the weather you'll get before you use it (using FS's built-in weather downloading)

NZAA NZWN NZCH

And with the autowx from the website:

NZKK NZWR NZAA NZAR NZWP NZTG NZAP NZRO NZGS NZNP NZNR NZPM NZWU NZOH NZPP NZWN NZWS NZNS NZWB NZHK NZKI NZHT NZTU NZCH NZQN NZNV NZDN NZCI

Note, you'll also need to download the 'wxstationlist.BIN' file just the once if you want to get airports like NZKK, NZWR and NZAR into FS.

I've done a bit of borrowing so OH and WU will always have PM's weather, AR and WP always has AA's and RO always has AP's. I could very easily add more.

I'll look forward to some feedback from those who give it a go.

Richard
User avatar
greaneyr
Forum Addict
 
Topic author
Joined: Fri Nov 16, 2007 9:53 pm
Posts: 459
Location: Palmerston North

Postby Jimmy » Sun Dec 30, 2007 10:16 pm

What is the possibility of a system to keep a record of daily weather, such as a libuary of past weather files? In what time periods does it update, is it constantly the most current weather information? Or is there a cycle system updateing after a certain amount of time? Would it be possible to get weather files for a particular date, if there was some interesting weather that occured on that particular date and time?

This isn't something I would use, but I can see how it could fill a bit of a gap, something I may once have utilised.

Thanks
James
Jimmy
 

Postby AlisterC » Mon Dec 31, 2007 8:27 am

I'm an Activesky user, and not likely to change since it's what I am used to using and what I know best. But, I just wanted to say that this is a pretty incredible thing you've done! Very impressive :)
Image
User avatar
AlisterC
NZFF Pro
 
Joined: Thu Jul 20, 2006 11:13 am
Posts: 2543
Location: Nelson, NZ

Postby greaneyr » Mon Dec 31, 2007 8:42 am

Jimmy wrote:
QUOTE (Jimmy @ Dec 30 2007, 11:16 PM) <{POST_SNAPBACK}>
What is the possibility of a system to keep a record of daily weather, such as a libuary of past weather files? In what time periods does it update, is it constantly the most current weather information? Or is there a cycle system updateing after a certain amount of time? Would it be possible to get weather files for a particular date, if there was some interesting weather that occured on that particular date and time?

All good questions. It uses a rather crude mechanism for determining which weather file to use at present. Basically, it's "look for weather now, and work back in time until you find something resembling NZ weather". In other words, you always end up with the latest.

The trouble with getting it to keep past weather files is 1) Storage; and (more importantly) 2) Getting it to actually bring in each weather bulletin without a regular scheduled job. At the moment, if nobody goes to the page, then nothing happens. It only 'does' things if someone downloads it. Both these are a problem since I don't own the web server and can't set automatic jobs to happen, say, every hour, for example.

However, these questions have raised some good ideas. I like in particular the idea of going back through time to get interesting weather that occurred on a particular date.
QUOTE
This isn't something I would use, but I can see how it could fill a bit of a gap, something I may once have utilised.[/quote]

This is why I put it on here - to get a feel for who would actually use such a tool and whether it was worth improving or adding functionality to.
User avatar
greaneyr
Forum Addict
 
Topic author
Joined: Fri Nov 16, 2007 9:53 pm
Posts: 459
Location: Palmerston North

Postby greaneyr » Mon Dec 31, 2007 8:53 am

Albatross wrote:
QUOTE (Albatross @ Dec 31 2007, 09:27 AM) <{POST_SNAPBACK}>
I'm an Activesky user, and not likely to change since it's what I am used to using and what I know best. But, I just wanted to say that this is a pretty incredible thing you've done! Very impressive :)

Thanks for the kind words.

This concept came up back in 2004 when I originally wrote it to try and circumvent the need for people to use ActiveSky. I've never really had a 'user base' because people either 1) Use ActiveSky; 2) mostly fly online using SquawkBox; or 3) use something like FSMETAR. The best of these three options is obviously Activesky, since it downloads all weather in advance and you get nice smooth transitions between weather areas.

I didn't ENTIRELY lose the battle against ActiveSky, since if you plug it into the VATSIM network, it uses NZ METARs from Airways first, then if the tower or Unicom goes home and stops issuing METARs, the METAR source changes to use my SYNOP to METAR converter (another project from way back). Airports like NZWS who don't issue METARs at all are always represented in VATSIM thanks to that script, so I at least know I've made a difference somewhere!
User avatar
greaneyr
Forum Addict
 
Topic author
Joined: Fri Nov 16, 2007 9:53 pm
Posts: 459
Location: Palmerston North

Postby Alex » Mon Dec 31, 2007 11:43 am

Yea, I've stumbled across that before, and wondered how it all worked (although had 'seen it in action' from reading stuff at VATSIM). It's pretty cool how you've taken it from the Metservice as well. :)

Alex
Alex
NZFF Pro
 
Joined: Fri Jul 14, 2006 3:39 pm
Posts: 3620

Postby NZ255 » Mon Dec 31, 2007 7:25 pm

Can this work if I'm online on Vatsim?

Nick
Nick
User avatar
NZ255
NZFF Pro
 
Joined: Wed Jun 20, 2007 12:57 pm
Posts: 2475

Postby greaneyr » Mon Dec 31, 2007 9:30 pm

NZ255 wrote:
QUOTE (NZ255 @ Dec 31 2007, 08:25 PM) <{POST_SNAPBACK}>
Can this work if I'm online on Vatsim?

Nick


Well... it could if you turned off SB weather downloading. The thing to be cautious of there is that you could well be using weather that is out of sync with that used by the rest of the VATSIM network. There is a bit of a gap between flying online with ActiveSky at one extreme, and flying offline using my fs weather app. Somewhere in the middle, you have SB weather which gives access to the same reports, except loads suddenly as you approach the airport and can result in some sudden altitude and wind changes to deal with.

I had wanted to write it to load weather into FS on the fly, but that would have meant a much more complex program plus the complications with getting it approved for use on the VATSIM network.

Richard
User avatar
greaneyr
Forum Addict
 
Topic author
Joined: Fri Nov 16, 2007 9:53 pm
Posts: 459
Location: Palmerston North

Postby NZ255 » Mon Dec 31, 2007 11:20 pm

greaneyr wrote:
QUOTE (greaneyr @ Dec 31 2007, 10:30 PM) <{POST_SNAPBACK}>
SB weather which gives access to the same reports, except loads suddenly as you approach the airport and can result in some sudden altitude and wind changes to deal with


I HATE that!!
Nick
User avatar
NZ255
NZFF Pro
 
Joined: Wed Jun 20, 2007 12:57 pm
Posts: 2475


Return to General

Who is online

Users browsing this forum: No registered users and 2 guests