miscellaneous (original) sep 96 1 1.implicit clear? 2.image combo? 3.get inventory 4.time matching...

18
Miscellaneous (original) Sep 96 1 1. implicit clear? 2. image combo? 3. get inventory 4. time matching routine (special time matching routines for graphics) inventory and preferred frame count 5. create sequence object: IRSeq (dynamic first) MAPSeq (static follow) 6. adjust frames – create three additional frame objects (one for each data time) identified by frame time 7. create IR tuple for each time (four) – also creates depictable object 8. put tuples into frames 9. next load METAR (repeat steps 1 – 8) IRSeq SAOSeq MAPSeq create two METAR tuples for 23:00 and 00:00 – also graphic depictable object Miscellaneous 23:00 23:15 23:30 23:45 VIS 23:00 23:15 NullTime 23:45 IR 21:00 22:00 23:00 0:00 METAR stipple fill – transparent stipple map depictable server – instantiates depictable objects depictable does replication once zoom gets past 1:1 with data resolution ID Combo Graphic Depict Image Depict Depictable GrDPV Meta } load order list

Upload: princess-cleverley

Post on 29-Jan-2016

218 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Miscellaneous (original) Sep 96 1 1.implicit clear? 2.image combo? 3.get inventory 4.time matching routine (special time matching routines for graphics)

Miscellaneous (original) Sep 961

1. implicit clear?2. image combo?3. get inventory4. time matching routine (special time matching routines for graphics) inventory

and preferred frame count5. create sequence object: IRSeq (dynamic first)

MAPSeq (static follow)6. adjust frames – create three additional frame objects (one for each data time)

identified by frame time7. create IR tuple for each time (four) – also creates depictable object8. put tuples into frames9. next load METAR (repeat steps 1 – 8)

IRSeqSAOSeqMAPSeq

create two METAR tuples for 23:00 and 00:00 – also graphic depictable object

Miscellaneous

23:00 23:15 23:30 23:45 VIS23:00 23:15 NullTime 23:45 IR21:00 22:00 23:00 0:00 METAR

stipple fill – transparent stipple mapdepictable server – instantiates depictable objectsdepictable does replication once zoom gets past 1:1 with data resolution

IDCombo

GraphicDepict

ImageDepict

Depictable

GrDPVMeta

} load order list

Page 2: Miscellaneous (original) Sep 96 1 1.implicit clear? 2.image combo? 3.get inventory 4.time matching routine (special time matching routines for graphics)

Miscellaneous (original) Sep 962

9/17/96 - Technical Discussions (PRC)

• Map BackgroundsStored in FSL’s own format (BCD – Binary cartographic description). This consists of positions of extremes and lat/long points of vectors. Progressive disclosure number is in km.

• Data Acquisition

CommsRouter

SBNRadar

TCP/IP->DMQ

TCP/IP->DMQ

FSL/FD

Bridge RPC->DMQ

Sat. DataController

Grid DataCont.

TextContr

RadarContr

TextDB

DecoderRadarStorageSat

RaobDecoder

METARDecoder

CDoTDecoder

Informix

Notification to Workstation

Data XFR.Pipes ExecNotif only

Page 3: Miscellaneous (original) Sep 96 1 1.implicit clear? 2.image combo? 3.get inventory 4.time matching routine (special time matching routines for graphics)

Miscellaneous (original) Sep 963

9/17/96 - Technical Discussions (PRC) – cont.

• Data Acquisition – cont.

1. acqserver receives header for Sat. image2. written into file /data/fxa/goes/time.<fln>3. core product is finished4. 5.

CommsRouter

wfoapi

acqserver

LDM

CronLDADServer

FD

CP

Simpact(ethernet)

sockets

rpc

ftp

event

data/event

data/event

events

AFOSCommSrv

TermServer

9600DB25RS232

AFOS

Page 4: Miscellaneous (original) Sep 96 1 1.implicit clear? 2.image combo? 3.get inventory 4.time matching routine (special time matching routines for graphics)

Miscellaneous (original) Sep 964

9/17/96 - Technical Discussions (PRC) – cont.

• Satellite – Clipping, Remapping (Mapping Table) – netCDF• Text Decoder – WMO ID, Cross reference with AFOS Pils,

Creates AFOS 9 Char ID and stores using 9 Char ID• CDOT – Own Decoder• ALERT – Own Decoder Binary file• MESONET – Own Decoder• Profiler – Decode BUFR, profiler data, plot netCDF• Lightning (bin) – Decode proprietary (stored by lat/lon, flat file).

Bundled into one minute buckets by NWSTG (3 min delay from strike to display).

• Radar – Stored in raw format as received from RPG (flat file) in run-length encoded format. Radar graphics decoded by depictable on-fly. Paired radar products = text + graphics.

• RAOB – Decoding text. Compressed BUFR (decompression software from Canada), stored into netCDF and plotfile.

\/

• Data Acquisition – cont.

Page 5: Miscellaneous (original) Sep 96 1 1.implicit clear? 2.image combo? 3.get inventory 4.time matching routine (special time matching routines for graphics)

Miscellaneous (original) Sep 965

9/17/96 - Technical Discussions (PRC) – cont.

• SHEF Encoder/Decoder – Hydro• METAR – Plotfile and netCDF (for LAPS) hourly. (Plotfile is

a binary file which conatins only some of the METAR fields/parameters.)

• Grid – GRIB decoder. Stored in netCDF by src/scale/model type/model run. (After 3D volume is in, then grids are also converted to theta coordinates and stored in same netCDF file.) A file per model run.

• Redbook Graphics – Graphics decoding on-the-fly (TDL now has Redbook graphics decoder – 8 graphic types)

NOTE: Data key is used to create path name (less time – which is added later)

C-envelope around grid accessors

• Data Acquisition – cont.

Page 6: Miscellaneous (original) Sep 96 1 1.implicit clear? 2.image combo? 3.get inventory 4.time matching routine (special time matching routines for graphics)

Miscellaneous (original) Sep 966

9/17/96 - Technical Discussions (PRC) – cont.

• Purger – Runs every ½ hour by number of files (display-usable files). Raw data is stored in temp. files before stored in “usable” files, then deleted unless error.Scour – Used to delete log files and some temp. data filesArchive of Informix text db daily (for backup)

• Notification

Data Acq.Client

Register (Depict Key)

1Notification

Server

Depict Notification

(Depict Key, Data Time)

2 DisplayClient

Unregister (Depict Key)

Data Notification

(Data Key, Data Time)

Data ListData Key

Client ListDepict Key->{IPC target}

Notification ListDepict Key

Check notification listUpdate notification list

Page 7: Miscellaneous (original) Sep 96 1 1.implicit clear? 2.image combo? 3.get inventory 4.time matching routine (special time matching routines for graphics)

Miscellaneous (original) Sep 967

9/17/96 - Technical Discussions (PRC) – cont.

• InventoryTwo concepts of time1. Abs Time – Single point in time

2. Data Time – Reference TimeForecast TimeValid PeriodAccess TimeData Key

Two types of inventory1. Data Inventory2. Depictable InventoryInventory Methods1. By file name (radar, raster images, profiler, RAOBs, lightning, METAR plots, and Redbook)2. By file inspection (RAOBs, profiler time/height, grids, local data)3. By Informix (text)

Caveats to Inventory

approximate receipt time for Redbooklightning over file valid periodrecursive for grids (can go fairly deep) e.g. temp. advection depends on temp, u, and v

Page 8: Miscellaneous (original) Sep 96 1 1.implicit clear? 2.image combo? 3.get inventory 4.time matching routine (special time matching routines for graphics)

Miscellaneous (original) Sep 968

9/17/96 - Technical Discussions (PRC) – cont.

• Data Accessor

GridAccessor

GridSlice

Accessor

NetCDF

Grid Accessor [ Depictable

e.g. wind wind (incl. u and v)

w = u + v

Grid Slice AccessorUses virtual field table

(ASCII file)

u, v u, v

Grid accessor gets the desired field that was asked for. In case of vectors, it is vector components.

Page 9: Miscellaneous (original) Sep 96 1 1.implicit clear? 2.image combo? 3.get inventory 4.time matching routine (special time matching routines for graphics)

Miscellaneous (original) Sep 969

9/17/96 - Technical Discussions (PRC) – cont.

• UI Library (Class Library)1) Hide OI2) Pre-Defined Layouts

(Geometry Layouts)

Pane UI Device

Menu Pane Paned Pane UI Device Pane Button Gauge Text Entry Field

* Menu TJ – T to B

TJ – T to B

LJ – L to R

LJ – L to R• DisplayTuple Table – is a hash table used by (pict?)

Page 10: Miscellaneous (original) Sep 96 1 1.implicit clear? 2.image combo? 3.get inventory 4.time matching routine (special time matching routines for graphics)

Miscellaneous (original) Sep 9610

9/17/96 - Technical Discussions (PRC) – cont.

• Depictable

Contains data and methods for turning data into a viewable display.::paint (graphics target*, depictor*, zoom and intensity info., extent) \ pointers /

Painter ClassAbstract class for drawing

Painter for X, Painter for images, Painter for Postscriptdrawing to screen multicolor graph printer

annotationcolor bar(character buffer?)

Using stroke fonts (resizable and rotation)IGC knows whether it needs X painter or image painter

Depictor ClassDescribes frame of reference for display and also for dataHandles: 1. geographic scales; 2. thermodynamic; 3. cross-section

Page 11: Miscellaneous (original) Sep 96 1 1.implicit clear? 2.image combo? 3.get inventory 4.time matching routine (special time matching routines for graphics)

Miscellaneous (original) Sep 9611

9/17/96 - Technical Discussions (PRC) – cont.

• Depictable - continuedXform Class

Handles mapping from grid indexing (lat/lon) to arbitrary x,y

Can go both ways

Xform FunctionsCombines it with zoom or roam state

Remapping TablesChecks memory, if not found checks disk, if not found then creates table

FORTRAN InterfaceUsed only by depictable

67

1 75

0

920 920

Page 12: Miscellaneous (original) Sep 96 1 1.implicit clear? 2.image combo? 3.get inventory 4.time matching routine (special time matching routines for graphics)

Miscellaneous (original) Sep 9612

9/17/96 - Technical Discussions (PRC) – cont.

• Depictable - continued

FORTRAN Graphics ModuleGives FORTRAN graphics access to Xform and painter so they cando graphics similar to depictable

FXA process owns menu for graphics control (magnification anddensity) – not owned by depictable. However, depictable performs

- Magnification, density, and zoom- Interrogate, Home point (geo-reference)

Process for adding new depictables is well-definedCWB has created a CGM depictableMap depictor provides CGM

(Allows changing frame of reference)Do not have a time-series depictableBase class exists that contains code that is common to depictables

Page 13: Miscellaneous (original) Sep 96 1 1.implicit clear? 2.image combo? 3.get inventory 4.time matching routine (special time matching routines for graphics)

Miscellaneous (original) Sep 9613

9/17/96 - Technical Discussions (PRC) – cont.

• Applications

APP FXA

IGC #1

IGC #5

(pipe)stdin

stdout(pipe)

.

.

.

StartStop

App Mgr

Set <App>

Text Table

App

Page 14: Miscellaneous (original) Sep 96 1 1.implicit clear? 2.image combo? 3.get inventory 4.time matching routine (special time matching routines for graphics)

Miscellaneous (original) Sep 9614

9/17/96 - Technical Discussions (PRC) – cont.

• Applications - continued

Table contains info on:Key | Label | Exec | Argum. | Prestart | OneOnlyAllowed | Restart |

@@-Load {depictKey} e.g. 2916632@@-LoadMode set current load mode@@-ReqUserID what is user ID@@-Export export data into specified format

Depict key between 13000 & 13999 to read an external data file

Page 15: Miscellaneous (original) Sep 96 1 1.implicit clear? 2.image combo? 3.get inventory 4.time matching routine (special time matching routines for graphics)

Miscellaneous (original) Sep 9615

9/17/96 - Technical Discussions (PRC) – cont.

• Applications - continued

I/A Skew-T Application (ISP)

IGCFXA

list of file

names

APP @@-export

IGC::export()

exported

Keeps track of which application

has outstanding export requests

scale_changed <scale key>load_modechanged <key>exported <file>user_id <user_id>

http://www-sdd.fsl.noaa.gov/~kelly/wfo/app.html

Page 16: Miscellaneous (original) Sep 96 1 1.implicit clear? 2.image combo? 3.get inventory 4.time matching routine (special time matching routines for graphics)

Miscellaneous (original) Sep 9616

9/17/96 - Technical Discussions (PRC) – cont.

• Extension

IGC

Create

Extension

Ext

Process

Object

Example: Baseline

Baseline extension uses a file and file accessor to make baseline available universally on workstation (shared file).

Page 17: Miscellaneous (original) Sep 96 1 1.implicit clear? 2.image combo? 3.get inventory 4.time matching routine (special time matching routines for graphics)

Miscellaneous (original) Sep 9617

sec loadzoom

9/20/96 – WFO-Adv Timing Tests (J200)

OPT2=block OPT3 for J 256MB FSL#1

I State Scale: 1 Frame Radar Refl. ZV Combo

II State Scale: 8 Frames (First Frame)

III WFO Scale: 1 Frame

1.3 18.9 6:40 2.7 18.91.1 18.8 1.5 1.1 18.80.7 18.6 1.0 1.2 18.70.8 18.7 1.8 1.3 18.60.8 18.8 1.0 1.4

18.7 1.0 1.318.8 1.0 1.318.7 1.0 1.318.5 20:15 20.3

1.2 19.2 2.30.6 1.6 1.7

1.4 3.10.8 1.10.8 1.10.8 1.3

1.4 2.91.5 2.00.9 1.01.0 1.9

1.5

BA

A sec B

zoomsec pansec pansec pan

sec loadzoom

sec pan

sec loadzoom

sec pan

Page 18: Miscellaneous (original) Sep 96 1 1.implicit clear? 2.image combo? 3.get inventory 4.time matching routine (special time matching routines for graphics)

Miscellaneous (original) Sep 9618

End Notes

This document was created September 1996 by Herb Grote. The original is handwritten/drawn and is included in a spiral-bound document titled “WFO-Advanced Seminar.” The material was used for a presentation to the Taiwan CWB. It was recreated December 2005 by John Osborn, most recently edited March 2006 by Joe Wakefield.