Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Hello everyone! I am using Python And I have (as an input file) a catalogue of locations (latitude and Longitude) and the temperatures of every

Hello everyone!

I am using Python

And I have (as an input file) a catalogue of locations (latitude and Longitude) and the temperatures of every location.

Example of the input file:

lat lon temp

37.00 95.00 20

37.2 97.3 15

39.6 89.1 30

And I ask for the user to give the latitude and longitude of a location (for instance lat1=38.5 , lon1=93.0) , then give a distance (maximumDistance=60) and a temperature (minimumTemp=16).

And I want as an output file a catalogue of temperatures, that occur in a distance smaller than max_distance from the location (lat1 & lon1), with temperatures bigger that the minimum Temperatures. Also in the end I want to calculate the distance of the given location and the temperature.

Example of the output file

lat lon temp dist

38.7 93.10 18 23.8

38.62 92.82 19 20

38.8 93.0 27 34..

I am not sure that I have understand the question so any help would be appreciated!

Thank you 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

Step: 3

blur-text-image

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

Professional Visual Basic 6 Databases

Authors: Charles Williams

1st Edition

1861002025, 978-1861002020

More Books

Students also viewed these Databases questions

Question

Define cost driver.

Answered: 1 week ago