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

  Recursive factorial program

Write a class Array that encapsulates an array and provides bounds-checked access. Create a recursive factorial program that prompts the user for an integer N and writes out a series of equations representing the calculation of N!.

  Hunt the wumpus game

Reprot on Hunt the Wumpus Game has Source Code listing, screen captures and UML design here and also, may include Javadoc source here.

  Create a gui interface

Create GUI Interface in java programing with these function: Sort by last name and print all employees info, Sort by job title and print all employees info, Sort by weekly salary and print all employees info, search by job title and print that emp..

  Plot pois on a graph

Write a JAVA program that would get the locations of all the POIs from the file and plot them on a map.

  Write a university grading system in java

University grading system maintains number of tables to store, retrieve and manipulate student marks. Write a JAVA program that would simulate a number of cars.

  Wolves and sheep: design a game

This project is designed a game in java. you choose whether you'd like to write a wolf or a sheep agent. Then, you are assigned to either a "sheep" or a "wolf" team.

  Build a graphical user interface for displaying the image

Build a graphical user interface for displaying the image groups (= cluster) in JMJRST. Design and implement using a Swing interface.

  Determine the day of the week for new year''s day

This assignment contains a java project. Project evaluates the day of the week for New Year's Day.

  Write a java windowed application

Write a Java windowed application to do online quiz on general knowledge and the application also displays the quiz result.

  Input pairs of natural numbers

Java program to input pairs of natural numbers.

  Create classes implement java interface

Interface that contains a generic type. Create two classes that implement this interface.

  Java class, array, link list , generic class

These 14 questions covers java class, Array, link list , generic class.

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