Question: Meteorology python programming (Gempak) assignment Assignment 9 1) The NAM output on the cat5 server contains a parameter named PO3M, which is the 3-hr liquid-equivalent

Meteorology python programming (Gempak) assignment

 Meteorology python programming (Gempak) assignment Assignment 9 1) The NAM output

on the cat5 server contains a parameter named PO3M, which is the

Assignment 9 1) The NAM output on the cat5 server contains a parameter named PO3M, which is the 3-hr liquid-equivalent precipitation accumulation [mm]. Note that forecast hour 0 does not contain this parameter since precipitation is yet to fall at that time. Here is your task: Write a Python program that asks the user which NAM run to analyze (e.g., 15040112; the program should add the appropriate prefix and suffix to generate a valid filename). Given this input, the program should display a map (including typical political boundaries) of the total precipitation accumulation for an entire 3.5-day NAM run (i.e., the sum of numerous 3-hr accumulations) in inches, along with a colorbar and a title. The program should also print out the maximum precipitation accumulation expected anywhere in the domain (numpy has an amax function you may find useful...). Example Session Which run of the NAM (8 digits) would you like? 17040512 A maximum of 6.04 inches of precipitation is expected to fallin the domain 8.00 170405/12Z NAM Total Precip (in) FO-F84 4.00 2.00 1.00 0.50 0.10 0.01 Assignment 9 1) The NAM output on the cat5 server contains a parameter named PO3M, which is the 3-hr liquid-equivalent precipitation accumulation [mm]. Note that forecast hour 0 does not contain this parameter since precipitation is yet to fall at that time. Here is your task: Write a Python program that asks the user which NAM run to analyze (e.g., 15040112; the program should add the appropriate prefix and suffix to generate a valid filename). Given this input, the program should display a map (including typical political boundaries) of the total precipitation accumulation for an entire 3.5-day NAM run (i.e., the sum of numerous 3-hr accumulations) in inches, along with a colorbar and a title. The program should also print out the maximum precipitation accumulation expected anywhere in the domain (numpy has an amax function you may find useful...). Example Session Which run of the NAM (8 digits) would you like? 17040512 A maximum of 6.04 inches of precipitation is expected to fallin the domain 8.00 170405/12Z NAM Total Precip (in) FO-F84 4.00 2.00 1.00 0.50 0.10 0.01

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!