IDL6 - ;HW6.pro - Make a contour plot of ozone mixing...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
;HW6.pro -- Make a contour plot of ozone mixing ratios in the NH and SH, and ; also plot out standard deviations at 20 km. ; restore,'cat_poam3_v4.0.2000' restore,'o3_poam3_v4.0.2000' bad=where(mask eq -99 or err gt 200) mix(bad)=-99 ;set bad data to -99 good=where(mix ne -99) mix(good)=1.e6*mix(good) ;convert mixing ratio to ppmv m ;The data are so variable (largely because of real longitudinal variability, not just noise) ; that contour plots are difficult to interpret if the data are plotted without ; any kind of smoothing or averaging. Using the IDL function "smooth", while easy, can ; cause problems if you don't know exactly what it is doing. I prefer to calculate ; my own "running averages" (this is actually what the IDL smooth function does, but here ; I have complete control over it). ;For example, a 7-day running average for day 11 would include an average of all measurements ; from day 8 through day 14. The 7-day running average for day 12 would include an average of ; all measurements from day 9 through day 15, etc. Thus the "daily" averages are not ; completely independent of one another, but this allows one to visualize the data easily. e ;Calculate the 7-day running averages of ozone mixing ratios for the entire year navg='7' ;# days to average. Define as string so we can use it as label on the
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 3

IDL6 - ;HW6.pro - Make a contour plot of ozone mixing...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online