Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Computer Engineering Expert

Single Processer Component

This assignment assumes a hypothetical scenario of a task given to you by an employer. The hypothetical scenario is that you work for a company, Weather Inc (WINC) that runs weather models and generates weather graphics. WINC receives current meteorological grids from various observation stations daily. These data grids include relative humidity and temperature, which contain some random noise, so they need to be smoothed before they are used in computation and graph generation. Since there are many various current meteorological data sets arriving through network sources, all computation must be as The task give to you is to design and implement a program that will be run each day to generate dew point grids. First the relative humidity and temperature grids with the average of a NxN moving window over the data grid. Once these grids are smoothed, they are to be used to compute a dew point grid. All input data grids will be read in binary format. The input grids cover the globe at 0.125 degrees latitude and 0.156 degrees longitude which results in a 1440 row by 2304 column grid.

The task requires the development of a single processor program that can subsequently be converted into a multi processor program after the testing of the single processor program is complete. Specifically, it is required to read and smooth the 1440 row by 2304 column relative humidity and temperature grids. Due to memory limitations the grids will need to be read and process in 16 segments of 90 rows each.
Each segment is to be smoothed by a NxN moving window where N is initially equal to 9, but should be written flexible enough that it can be changed if needed. Once each of the relative humidity and temperature grids have been smoothed the dew point grid is to be Dewpoint = temperature - ((100 - relative_humidity) / 5)

Once the dew point is computed the 1440 row by 2304 column smoothed relative humidity,smoothed temperature and computed dew point grids are to be written in binary format to a. The user should be prompted for the input and output files. However, during testing the code
requesting this information from the user can be commented out and the filenames can be hardcoded to reduce the time needed to repeatedly type the requested data file names.

Once the output files have been written to disk, the assignment is finished. There is no need to create graphics of the generated data grids. Your program must be named "smooth_dwp_single.c" in a directory you make called "$HOME/src/smooth_dwp". Your code must include comments describing the purpose of each section of code. It also must be structured with all lines of a common block of code indented the same number of spaces or tabs.

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M9896072
  • Price:- $60

Priced at Now at $60, Verified Solution

Have any Question?


Related Questions in Computer Engineering

Generate a c program for fibonacci function using

Generate a C++ program for Fibonacci function using Stack Fibonacci function Fib(n) is given below. Fib(n)= Fib(n-1) + Fib(n-2) for n > 1 Fib(n)= 1 for n=1 Fib(n)= 0 for n=0 Using following initialization unsigned int *F ...

In the state of texas a person is legally intoxicated at 08

In the state of Texas a person is legally intoxicated at .08% BAC when operation a motor vehicle. In your opinion should the legally intoxicated percentage be lowered or raised to determine a persons intoxicated conditio ...

Let x denote the body temperature measured in degrees

Let x denote the body temperature (measured in degrees Fahrenheit) of a human being. Suppose that across all humans, x follows some unknown distribution with mean u and standard deviation o. You want to know u. You colle ...

State the required answer precisely and then provide proper

State the required answer precisely and then provide proper explanation. It is not enough to provide one- word or one-line answers. Provide examples and state precisely the meaning of the following features supported by ...

Compare remote authentication dial-in user service radius

Compare Remote Authentication Dial-In User Service (RADIUS) and Terminal Access Controller Access-Control System Plus (TACACS+).

What are impacts that flexible work schedules can have on a

What are impacts that flexible work schedules can have on a employee's productivity?

Bond a is a 1-year zero-coupon bond bond b is a 2-year

Bond A is a 1-year zero-coupon bond. Bond B is a 2-year zero-coupon bond. Bond C is a 2-year 10% coupon bond that pays annually. The yield to maturity (annually compounded) on bond A is 10%, and the price of bond B is $8 ...

These questions are for unix linuxselect the lines from

THESE QUESTIONS ARE FOR UNIX (LINUX) Select the lines from file file1 that have exactly three characters in them. Select the lines from file file1 that have at least three characters in them. Select the lines from file f ...

What is the lithium by mass in a sample of pure lithium

What is the % lithium by mass in a sample of pure lithium carbonate that has a sample size of 10.0g?

In linux what synchronization methods they use within the

In Linux what synchronization methods they use within the kernel, please dig into your findings for Linux.

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As