wiki:Create_scenario_from_SAR

TOC

Create non-radar scenario injections from ERAM SAR

  • Extract the non-radar messages from ERAM SAR using esar2sdrr
  • Convert E2E messages in ERAM SAR into Host messages using esarIfa
  • Add beacon amendments from ERAM SAR using esarBcnChanges
  • Dump CS commands to sdrr message file using esarSectorPlan
  • Merge products into single time-sorted sdrr message file using sdrrmerge
  • Adjust scenario start time using sdrrSetStarttime*# Make acids in a scenario unique using sdrrUniqueify (run on final 'merged' product)
  • Convert sdrr msg file to atcoach format using sdrr2atc
  • (optional) Pull out host injections produced by esarIfa into a separate rsi (to be used only when running in 'standalone' mode)

example:

zlc:
     grep "IFDT. ZSE,ZLC" atc.out > zlc.rsi1
     grep -v "IFDT. ZSE,ZLC" atc.out > zlc.main

zse:
     grep "IFDT. ZLC,ZSE" atc.out > zse.rsi1
     grep -v "IFDT. ZLC,ZSE" atc.out > zse.main</pre>

Create SGET scenario (for ATCoach export shell)

  • create new SGET scenario using adaptation that will be run in lab
  • set starttime / runtime / prefs, save
  • export scenario to SIME/ATCoach format
  • fix up export:
    • if exported from GUI, need to disable radars in export manually (remove test targets etc, and change CARB to CXIRA)
    • if exported from command line with -r -t -i copy in acmodels dir and add ACMODELS line to control file
    • set startdate/time in control file
    • add EMULATION lines for other channel
    • copy in sepadapt files for other channel
    • check wxscen (may want to make sure times are correct after talking to jack miller/ufa)
  • import final product of non-radar scenario from ERAM SAR step 9) - i.e., zxx.main,into targets section of main scenario export file

Convert ERAM neighbor inputs to Host inputs

  1. Convert E2E messages in ERAM SAR into Host messages using esarIfa
  2. Adjust scenario start time using sdrrSetStarttime

#:example:

sdrrSetStarttime -s 12:45:00 -S 13:00:00 -d 00:00:02 ifa.out > ifa_setstart.out
  1. Make acids in a scenario unique using sdrrUniqueify - (still TBD)
    • may need to merge ifa output with main output and uniquify together
    • could still separate ifa inputs back out fairly easily by script (possibly simple grep)
  1. Convert sdrr msg file to atcoach format using sdrr2atc example:
    #:sdrr2atc -s 12:45:00 -h zlc -r "BQU_K2 DLN_K1 ->D" ifa_setstart.out > ifa_atc.out
    
    then edit the resulting ifa_atc.out file:
    • save a copy of ifa_atc.out file first (for acid-mapping questions that might come up)
      cp ifa_atc.out ifa_atc.out.w_acidmap
      
  • trim out acid map
  • trim out CI lines
  • save file and rename to scenario_name-0.ZXX.rsi1

Radar

  1. Convert ERAM radar SAR data to SDRR .srv radar files per radar site using esar2srv
  2. Convert SDRR .srv radar files to ATCoach radar hex format using srv2rm

Weather

  • extract RUC from ERAM SAR (eopd/narcl report is easiest - but may also be able to use JVN 'dumpruc' util)
  • build wx shell scen containing desired hour slices, save, quit
  • copy RUC files into ./ruc subdir of wx scen (remove whatever is there first)
  • remove whatever is in ./precip dir
  • remove precip= line from wx*.xml files
  • edit ruc= line in wx*.xml files to point to new ruc files
  • open wx scen and view time slices
Last modified 11 years ago Last modified on 2013-05-23T14:59:52-04:00