Australian Radar Network circa 2010

Moderator: MOD_Command

Post Reply
coolum001
Posts: 7
Joined: Thu Aug 03, 2017 1:46 am

Australian Radar Network circa 2010

Post by coolum001 »

Hi

Data and Lua code to add the fixed Australian Defence and Civil radars as at about 2010; recent RASSP [Radar Sensor Procurement Programme] upgrades may require changes to this to be accurate as at 2017.

Lua code designed to be run in the Lua Console at scenario edit time (i.e. not linked to any event)

Notes:

- the 'side' assumed is 'ADF', change as needed (decided not to distinguish between Civil and ADF sites, as not needed in my draft scenarios)

- all radars are created with altitude=0ft, but they seem to conform to the topography OK

- all radars are set Active, as most are civil radars, and the rest are at known static locations
Attachments
OzRadars.txt
(3.86 KiB) Downloaded 32 times
Rory Noonan
Posts: 2418
Joined: Thu Dec 18, 2014 1:53 am
Location: Brooklyn, NY

RE: Australian Radar Network circa 2010

Post by Rory Noonan »

Great, thanks!

Look forward to your scenario!
Image
thewood1
Posts: 10091
Joined: Sun Nov 27, 2005 6:24 pm
Location: Boston

RE: Australian Radar Network circa 2010

Post by thewood1 »

Just curious why this wasn't done as a simple export/import. I am just wondering what the lua does.
coolum001
Posts: 7
Joined: Thu Aug 03, 2017 1:46 am

RE: Australian Radar Network circa 2010

Post by coolum001 »

Well, I'm a CMANO newbie with a software engineering background, so to me any CMANO problem is a nail asking to be hit with a Lua for-loop hammer :)

Seriously, my thought was that automatic creation and placement of radar facilities with Lua, meant that it would be easier to edit the Lua text files:
- to use a different generic facility from the database (that better matches the real-world capabilities) in the future;
- to adjust the orientation for each facility;
- to set the side for each facility
- to rename the facilities
comparing to using the map User Interface after an import.

As to what the Lua does:

For each radar in my table of radars, I call

Code: Select all

ScenEdit_AddUnit({type = 'Facility', ...)

to create the radar, and then call

Code: Select all

ScenEdit_SetEMCON('Unit', OzRadars[i].name, ...) 

to set it to be active.

Cheers
Rory Noonan
Posts: 2418
Joined: Thu Dec 18, 2014 1:53 am
Location: Brooklyn, NY

RE: Australian Radar Network circa 2010

Post by Rory Noonan »

Hey coolum01,

I added your data to an .inst file, hope you don't mind. The work is attributed to you.
Attachments
Aus_Radar_2010.zip
(2.19 KiB) Downloaded 26 times
Image
Post Reply

Return to “Useful Material”