Design and implement a program that will be run each day

Assignment Help Computer Engineering
Reference no: EM13316761

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.

Reference no: EM13316761

Questions Cloud

What is the thermal coefficient of linear expansion : At room temperature (20C) the area of a hole in a sheet of material is 5.505 cm2. What is the thermal coefficient of linear expansion for the material
What steps make up the product life cycle : What steps make up the product life cycle? Include examples of the activities that occur during each step. What is the importance of the system safety function to an organi- zation? What are the differences between system safety and industrial safety..
Determine the mass flow rate through the system : A Brayton cycle with a regenerator uses air as the working fluid. The air enters the compressor at 283K and 0.1 MPa. The highest temperature in the cycle is 1073K and the pressure ratio across the compressor is 8.
Discuss the risks of having a single root user : Discuss the risks of having a single root user and how more limited management abilities can be given to others users on Linux/UNIX systems. Include a sample generic policy for a limited user from which a configuration could be written.
Design and implement a program that will be run each day : 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.
Maximum deductible contribution : What is the maximum deductible contribution that can be made to one or more deductible IRAs in each of the following instances?
Define what stress will be necessary to the slip plane : Consider a metal single crystal oriented such that the normal to the slip plane and the slip direction are at angles of 42.1* and 48.9*, respectively, with the tensile axis.
What is the angular misclosure of a seven sided closed-loop : What is the angular misclosure of a seven sided closed-loop traverse with measured angles of G B=132°08’23”, A C=133°35’18”, B D=127°15’08”, C E=123°28’37”, D F=99°55’13”, E G =129°09’49”, and F A=154°26’57”. Adjust the angles to eliminate the misclo..
Determine the subsidence of the clay surface : groundwater is pumped for domestic use from an unconfined aquifer. the thickness of the clay is 40%. after 10 years of pumping, the porosity is reduced to 30%. determine the subsidence of the clay surface.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Write down the definitions for the member functions

Add a boolean process "contains" to class SList that returns true if its parameter is in the list and false otherwise. Use the binary search algorithm.

  Compute the entropy and clarity of each cluster

Compute the entropy and clarity of each cluster

  Definition of data mining

In the Data Mining the first step to address this question is to carry out the appropriate research through the Web. Utilizing what you have found on Web, address the following questions in detail. To receive the full credit, you should supply URL..

  Securing the company website

A local business is about to launch the website in order to boost the business. The website will also consist of the information related to the company and all products that are available.

  Write down a public static method named chunk25

Write down a public static method named chunk25 that takes a double and returns an integer that represents the number of chunks of 25 in that number. A chunk of 25 is 25, or any part thereof

  Access time and cache miss

Explain the access time when there is a cache miss? Suppose that the cache waits till the line has been fetched from the main memory and then re-executes for a hit.

  Modify a purchased software package

If the project team find out that the best alternative is to modify a purchased software package, then the team has several options to consider. What are they? What mus the project team take responsibility for in each case?

  Write down a program to test class rectangle

make a class Rectangle. The class has attributes length and width, each of which defaults to 1. It has methods that calculate the perimeter and the area of the rectangle

  Create testing cases with cartesian

My task for this exercise is to usage Equivalence Class partitioning and Boundary Value Analysis (which means to test the input at the boundary of the equivalence class partition) to analyze the valid and invalid inputs for Microsoft WinWord or an..

  Why organization that meets the company''s specifications

A software application has been delivered to your organization that meets the company's specifications. Using associated examples, describe problems which may arise when it is installed and used in your organization.

  Explain the actions you will take to correct

A user calls to report that she is unable to log on to email. You respond with a couple of quick questions. Because you know that no one else is using the network right now, you cannot find out whether the problem is unique to her machine or affec..

  Which would create a better product

Which would create a better product

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd