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

  What is coming singularity and exponential technology

what is coming singularity and exponential technology

  How to change the employee class

design a program, employe_data.cpp, with the Employee class that has two employees; sets their age, yearsOfService, and salary (rounded to the nearest thousands of dollars; and prints their values.

  Use to create a new ehr for your facility

choose a data model your team would use to build a new EHR for your facility.

  How is this achieved in your code

In order for the instance below to work, could you have a variable named "field"? How would the variables on either side of the MOVE statement need to be defined as.

  Write down an sql statement

Write down an SQL statement

  How to write a program to generate a table of factors

Write down a program to generate a table of factors used to compute monthly payments for the money borrowed.

  Pros and cons of each with a focus on it investments

Total Cost of Ownership (TCO) and 2) Return on Investment (ROI). Describe each of these approaches, state your preference, and analyze the pros and cons of each with a focus on IT investments

  Regarding the national defence authorization act

Cyber security Act of 2012, National Defence Authorization Act (NDAA), and Library Services and Technology Act are the three recent laws dealing with computer crimes.

  Design verilog model-hardware and software driver

Design the Verilog model, hardware, and the software driver that will implement a byte-wide bidirectional data transfer between your processor and four different peripheral devices.

  Create a security policy company explaining network security

Sunica Music and Movies is the local multimedia chain with four locations. Each store has been acting independently of one another and has difficulty coordinating customer sales from one store to another based on inventory.

  Express a mechanism to access the telephone customer

express a mechanism to access the telephone customer.describe your selection and discuss the speed of the search operation. Keep in mind that a million records cannot be kept in one array. There is no need to code in C++.

  Program to find smaller between num1 and num2 to output

Program to find smaller between num1 and num2 to output

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