SLIDE 12 12
Weather station description
A weather station is a package of software controlled instruments which collects data, performs some data processing and transmits this data for further processing. The instruments include air and ground thermometers, an anemometer, a wind vane, a barometer and a rain gauge. Data is collected every five minutes. When a command is issued to transmit the weather data, the weather station processes and summarizes the collected data. The summarized data is transmitted to the mapping computer when a request is received.
Layered architecture
<<subsystem>> Data display <<subsystem>> Data display <<subsystem>> Data archiving <<subsystem>> Data archiving <<subsystem>> Data processing <<subsystem>> Data processing <<subsystem>> Data collection <<subsystem>> Data collection
Dat a display layer wher e obj ect s ar e concer ned wit h pr epar ing and pr esent ing t he dat a in human-r eadable f or m Dat a ar chiving layer wher e obj ect s ar e concer ned wit h st or ing t he dat a f or f ut ur e pr ocessing Dat a pr ocessing layer wher e obj ect s ar e concer ned wit h checking and int egr at ing t he collect ed dat a Dat a collect ion layer wher e obj ect s ar e concer ned wit h acquiring dat a f r om r emot e sour ces
System context and models of use
- Develop an understanding of t he
relationships between the sof t ware being designed and its ext ernal environment
– A static model that describes other systems in the environment. Use a subsystem model to show other systems. Following slide shows the systems around the weather station system.
– A dynamic model that describes how the system interacts with its environment. Use use- cases to show interactions
<<subsystem>> Data collection <<subsystem>> Data collection
Subsystems in the weather mapping system
Weather station Weather station Comms. Comms. Satellite Satellite Balloon Balloon <<subsystem>> Data display <<subsystem>> Data display Map Map User interf ace User interf ace Map display Map display Map printer Map printer <<subsystem>> Data processing <<subsystem>> Data processing Data checking Data checking Data integration Data integration <<subsystem>> Data archiving <<subsystem>> Data archiving Map store Map store Data storage Data storage Data store Data store
Use- cases f or the weather station
Startup Startup Shutdown Shutdown Report Report Calibrate Calibrate Test Test
Use- case description
– Weather station
– Report
– Weather data collection system, Weather station
– The weather station sends a summary of the weather data that has been collected from the instruments in the collection period to the weather data collection system. The data sent are the maximum minimum and average ground and air temperatures, the maximum, minimum and average air pressures, the maximum, minimum and average wind speeds, the total rainfall and the wind direction as sampled at 5 minute intervals.
– The weather data collection system establishes a modem link with the weather station and requests transmission of the data.
– The summarized data is sent to the weather data collection system
– Weather stations are usually asked to report once per hour but this frequency may differ from one station to the other and may be modified in future.