Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Hello everyone! I am using Linux Bash and I have a catalogue of seismic events -------8 lines of header---------------------- (to get rid of this header

Hello everyone!

I am using Linux Bash and I have a catalogue of seismic events

-------8 lines of header---------------------- (to get rid of this header I suppose i have to use sed 'sed '1,8d'

yyyy-mo-dd hh:mm:ss.ss lat lon Depth mag(ML) 1995-01-01 05:20:59.02 39.500 24.150 17.00 2.6 1995-01-01 09:47:28.31 40.820 22.940 1.00 2.5 1995-01-01 09:50:58.27 39.230 22.910 17.00 2.4 1995-01-01 10:03:20.57 39.220 22.930 17.00 2.4 1995-01-01 10:04:14.59 39.220 22.970 13.00 3.1 1995-01-01 11:38:50.55 41.870 23.010 5.00 2.8

So now I have to ask the user to put the range of the Latitude and Longitude of the region of interest (for instance from latitude: 39.5 & longitude: 22.5 to latitude: 41.5 & longitude: 24.5) and then the minimum value of magnitude (ML) the user is interested and then based on the above criteria, create an output file with the same format as the original sorted by the magnitude (from the smallest one(min) to the maximum)

Some help please

Thank you so much in advance!!!!

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Intelligent Information And Database Systems Third International Conference Achids 2011 Daegu Korea April 2011 Proceedings Part 2 Lnai 6592

Authors: Ngoc Thanh Nguyen ,Chong-Gun Kim ,Adam Janiak

2011th Edition

3642200419, 978-3642200410

More Books

Students also viewed these Databases questions

Question

What is a mixed-mode expression?

Answered: 1 week ago