Write programs to analyze large data files

Assignment Help JAVA Programming
Reference no: EM131732341

Analysis of Environment Canada Data Records

Often in industry it is common to write programs to analyze large data files that are created as a result of capturing data from the field (e.g. SCADA applications). This assignment is consistent with that industry pattern.

Environment Canada keeps daily records for all major cities in Canada. This data includes: date, maximum temperature and minimum temperature.

Write a Java program to generate a meteorology report for a city for a specific year. The following is a sample run, user input is shown in bold underline.

Use arrays to keep track of the ranges (min, max) and # of days within each range. By using arrays for the ranges it will be easier to change the ranges in the future.

Enter data filename: h:/temp/calgary2016.txt
Temperature report for Calgary for 2016
Hottest day was (mm/dd/yyyy) 6/6/2016, high temperature was 30.9
Coldest day was (mm/dd/yyyy) 12/8/2016, low temperature was -26.7

Maximum Temperature Statistics

      Min value      Max value # of days

    (Inclusive)    (Exclusive)          

             30            999         1

             25             30        27

             20             25        70

             10             20       129

              0             10        95

           -999              0        44

Minimum Temperature Statistics

      Min value      Max value # of days

    (Inclusive)    (Exclusive)         

             20            999         0

             10             20        60

              0             10       135

            -10              0       128

            -20            -10        28

            -30            -20        15

           -999            -30         0

Average Maximum was 12.06
Average Minimum was 0.28

Format of the Environment Canada data file is as follows:
CityName<space>Year
Year<tab> Month <tab> Day <tab> maxTemp<tab>minTemp
Year<tab> Month <tab> Day <tab> maxTemp<tab>minTemp
Year<tab> Month <tab> Day <tab> maxTemp<tab>minTemp

. . .
Run the program for both the Calgary and Edmonton datafiles. You will find the data files for Calgary and Edmonton in D2L.

Part A Source Code and Sample Run

- If you are having trouble with this assignment you may purchase the pseudocode FOR YOUR OWN USE for 20% of the final grade (e.g. the maximum you can then receive on the assignment is 80%)
- Java Code 80%
o Well Structured solution
o Indentation -should follow what is shown in the textbook
o Readability
- good meaningful variable names
- no redundant code (e.g .duplicate code in branches etc)
o Documentation/Comments
- Program level
• Name of program, Description of program function, Author, Date written, Date revised
o Block level (e.g. branch/loop level)
- Purpose of each block
- Test Results 20%
- Your Calgary summary report should match the output given

Attachment:- Data.zip

Reference no: EM131732341

Questions Cloud

Implementing change in the organization : Indicate how open communication channels are critical for successfully implementing change in the organization. Provide support for your prediction.
Evaluate the cash flow and depreciation : Cash Flow and Depreciation. "When evaluating projects, we're only concerned with the relevant incremental aftertax cash flows.
Indicate the organizational impact of decisions : Evaluate management's decision on its use of vendors and spokespersons. Indicate the organizational impact of these decisions.
Idea relate to the society : Please tell me, "How does this idea relate to the society in which we live? What happens in a society if the same freedoms are not accessible to everyone?"
Write programs to analyze large data files : Meteorology Report
How does produce an essentialized version : Capital Budgeting Considerations. A major college textbook publisher has an existing finance textbook. The publisher is debating whether or not to produce.
Name the mechanism whereby drugs are absorbed across : Name the Mechanism whereby drugs are absorbed across the intestinal wall and enter into the hepatic portal circulation.
Reflect on the analysis of the sin of suicide and thus : Reflect on the analysis of the sin of suicide and thus, euthanasia from the topic readings. Do you agree? Why or why not?
Intervention to improve team functioning : How does one determine if an intervention to improve team functioning has been successful?

Reviews

Write a Review

JAVA Programming Questions & Answers

  Develop a menu driven console java program

Develop a Menu Driven Console Java Program to demonstrate you can use Java constructs including input/output via GUI dialogs, Java primitive and built-in types, Java defined objects, arrays, selection and looping statements and various other Java ..

  Rogram that will accept input and then display values

The program should continue as long as the user enters any values, even if only spaces are entered. Figure 9-49 (attached to post) displays sample output from the program.

  Will the direction and magnitude be integers or doubles

Define a Physics_vector class which consists of a struct containing the direction and magnitude, and also define a function

  Design and construct a computer program

Design and construct a computer program in one of the approved languages (C, C++, Java, Pascal, etc.) that will illustrate the use of a third-order explicit Runge-Kutta method of your own design.

  Import the file into eclipse and work on all the tasks

Import the file into eclipse and work on all the tasks in that file and on eclipse - Download the latest version of CuttlefishDinner program

  Create an application that records employee salaries

Create an application that records employee salaries and adds salaries up to report monthly costs using JavaScript, and jQuery.

  How do i automatically set the input focus in my applet

How do I automatically set the input focus in my applet to a specific component/text field when the browser loads the page that contains the applet?

  Most of the companies use virtualization to make test

write a 200- to 300-word short-answer response to the following many companies use virtualization to create test

  Write a program in Java to check if a number is even

Write a program in Java to check if a number is even or odd in Java?

  Implementing line equations in a program

Implement a class Line with four constructors, corresponding to the four cases above.

  Write a client program to test your fraction class

Write a client program (eg FractionDemo.java) to test your fraction class. The program should loop around getting fractions from the user

  Construct 4 instances of your instrument

Create a Java test class that simulates using your MusicalInstrument class.  In your test class you should at a minimum construct 4 instances of your instrument,

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