Answered step by step
Verified Expert Solution
Question
1 Approved Answer
University of Wollongong School of Computing and Information Technology CSCI 2 5 1 Advanced Programming APPENDIX A Processing Configuration File Info Upon startup, program should
University of Wollongong
School of Computing and Information Technology
CSCI Advanced Programming
APPENDIX A
Processing Configuration File Info
Upon startup, program should prompt user for the following
Please enter config filename : config.txt
When user presses 'Enter', the program should perform File IO to read in the contents in the stated filename eg in this case 'config.txt
The config.txt contains data like size of gridmap area indicated by indexranges as well as a series of filenames, which your program should further access, in order to read in the various relevant weather data provided by the Meteorological Station. Figure A below provides a sample of the actual contents within this configuration file.
The range of 'horizontal' indices, inclusive
Eg if the range is then the indices are
GridXIdxRange
The range of 'vertical' indices, inclusive
Eg if the range is then the indices are
GridYIdxRange
xy gridareas which are occupied by cities
citylocation.txt
"next day" forecasted cloud coverage for
each gridarea
cloudcover.txt
"next day" forecasted atmospheric pressure intensity for
each gridarea
pressure.txt
Fig. A
Note : The ranges for both 'GridXIdxRange' and 'GridYIdxRange will determine the size of the display map. The ranges' values are editable!
Regarding the interpretation of each input files' data format, please refer to subsequent Appendices.
Page of
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started