Answer to Question #39396 in Python for Jone Dagsland

Question #39396
I have a file where there is store wheater data for over 60 years in columns, like this:


Stnr Dato DD06- DD12- DD18 -FFM- FXM -POM - TAM -UUM
50540 07.01.1957 150 170 170 6.2 8.8 1010.6 6.99 94
50540 08.01.1957 160 160 200 7.2 9.8 1001.8 8.3 99
50540 09.01.1957 290 200 160 8.1 13.3 990.2 5.7 91

I want to write a function that reads data from my file above for one year,
where the year is determined by the user, and prints the average values for TAM
and FFM and a line of values for each month. The function should first read the filename to be
read, then read the filename it will write values to and, finally, what year is to be used.

How do I approach this?
0
Expert's answer

Answer in progress...

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS