Interpolation of gridded data using Geostrophic Balance. Lennon O Naraigh *

Similar documents
13.1. Functions of Several Variables. Introduction to Functions of Several Variables. Functions of Several Variables. Objectives. Example 1 Solution

Three-Dimensional Oceanic Flows from Eulerian Velocity Data

University of Reading. Discretization On Non-uniform Meshes: Tests solving shallow-water equations

Regional Cooperation for Limited Area Modeling in Central Europe. Dynamics in LACE. Petra Smolíková thanks to many colleagues

CS205b/CME306. Lecture 9

3-D Wind Field Simulation over Complex Terrain

Mass-flux parameterization in the shallow convection gray zone

Functions. Copyright Cengage Learning. All rights reserved.

MATH 2400, Analytic Geometry and Calculus 3

System Design for Visualizing Scientific Computations

A finite-volume integration method for computing pressure gradient force in general vertical coordinates

ENGI Parametric & Polar Curves Page 2-01

2.2 Graphs Of Functions. Copyright Cengage Learning. All rights reserved.

Scalar Visualization

What you will learn today

f xx (x, y) = 6 + 6x f xy (x, y) = 0 f yy (x, y) = y In general, the quantity that we re interested in is

The diagram above shows a sketch of the curve C with parametric equations

Levenberg-Marquardt minimisation in ROPP

Solving a Two Dimensional Unsteady-State. Flow Problem by Meshless Method

Multi-Domain Pattern. I. Problem. II. Driving Forces. III. Solution

Gridded Data Speedwell Derived Gridded Products

REVIEW I MATH 254 Calculus IV. Exam I (Friday, April 29) will cover sections

Advanced Numerical Methods for NWP Models

Application of ray-tracing through the high resolution numerical weather model HIRLAM for the analysis of European VLBI data

HOUGH TRANSFORM CS 6350 C V

Outline. Visualization Discretization Sampling Quantization Representation Continuous Discrete. Noise

Surface effects in QG dynamics

Background for Surface Integration

Realistic Animation of Fluids

3. The domain of a function of 2 or 3 variables is a set of pts in the plane or space respectively.

Direction Fields; Euler s Method

Graphics and Interaction Transformation geometry and homogeneous coordinates

Accuracy analysis of mimetic finite volume operators on geodesic grids and a consistent alternative

COMP30019 Graphics and Interaction Transformation geometry and homogeneous coordinates

Math 5BI: Problem Set 2 The Chain Rule

The Differential df, the Gradient f, & the Directional Derivative Dû f sec 14.4 (cont), Goals. Warm-up: Differentiability. Notes. Notes.

Edge and local feature detection - 2. Importance of edge detection in computer vision

About the SPEEDY model (from Miyoshi PhD Thesis):

A mass-conservative version of the semi- Lagrangian semi-implicit HIRLAM using Lagrangian vertical coordinates

PART III: DYNAMICS AND NUMERICAL PROCEDURES

. Tutorial Class V 3-10/10/2012 First Order Partial Derivatives;...

Area and Volume. where x right and x left are written in terms of y.

SLICE-3D: A three-dimensional conservative semi-lagrangian scheme for transport problems. Mohamed Zerroukat. Met Office, Exeter, UK

CFD MODELING FOR PNEUMATIC CONVEYING

21. Efficient and fast numerical methods to compute fluid flows in the geophysical β plane

1. Suppose that the equation F (x, y, z) = 0 implicitly defines each of the three variables x, y, and z as functions of the other two:

6. Find the equation of the plane that passes through the point (-1,2,1) and contains the line x = y = z.

Magnetics. Introduction to Filtering using the Fourier Transform. Chuck Connor, Laura Connor. Potential Fields. Magnetics.

The ICON project: Design and performance of an unstructured grid approach for a global triangular grid model

Lecture 21: Shading. put your trust in my shadow. Judges 9:15

Impact of Consistent Semi-Lagrangian Trajectory Calculations on Numerical Weather Prediction Performance

2D Object Definition (1/3)

How to run OpenIFS as a shallow water model

Scalar Field Visualization I

MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.

Parallel Lines Investigation

IFS DOCUMENTATION CY28r1

Chapter 15 Vector Calculus

A Test Suite for GCMs: An Intercomparison of 11 Dynamical Cores

Multiple Integrals. max x i 0

To graph the point (r, θ), simply go out r units along the initial ray, then rotate through the angle θ. The point (1, 5π 6

Here are some of the more basic curves that we ll need to know how to do as well as limits on the parameter if they are required.

An Orthogonal Curvilinear Terrain-Following Coordinate for Atmospheric Models!

Vector Integration : Surface Integrals

Chapter 3. Sukhwinder Singh

PA2 Introduction to Tracking. Connected Components. Moving Object Detection. Pixel Grouping. After Pixel Grouping 2/19/17. Any questions?

WAVE PATTERNS, WAVE INDUCED FORCES AND MOMENTS FOR A GRAVITY BASED STRUCTURE PREDICTED USING CFD

ATM 298, Spring 2013 Lecture 4 Numerical Methods: Horizontal DiscreDzaDons April 10, Paul A. Ullrich (HH 251)

Assignment 4: Mesh Parametrization

MA 243 Calculus III Fall Assignment 1. Reading assignments are found in James Stewart s Calculus (Early Transcendentals)

Sensitivity of resolved and parameterized surface drag to changes in resolution and parameterization

HPC Performance Advances for Existing US Navy NWP Systems

State Plane Coordinates and Computations using them GISC Spring 2013

f(x) = C. (1) f(x,y) = C implies that x 2 + y 2 = C 0. (2)

Map Projection, Model Grid Setup and Grid Nesting

Tuesday 22 January 2008 Afternoon Time: 1 hour 30 minutes

16.7 Surface Integrals

5/27/12. Objectives 7.1. Area of a Region Between Two Curves. Find the area of a region between two curves using integration.

Use of isopycnic-coordinate ocean models in long-term global simulations

weighted minimal surface model for surface reconstruction from scattered points, curves, and/or pieces of surfaces.

Grad operator, triple and line integrals. Notice: this material must not be used as a substitute for attending the lectures

Chapter 5 Partial Differentiation

EVALUATION STUDY ON WIND RETRIEVAL METHODS

Asymptotic Error Analysis

Chapter 6 Some Applications of the Integral

Vectors and the Geometry of Space

Ecography. Supplementary material

Scalar Field Visualization I

Junhong Wei Goethe University of Frankfurt. Other contributor: Prof. Dr. Ulrich Achatz, Dr. Gergely Bölöni

14.1. It s very difficult to visualize a function f of three variables by its graph, since that

Driven Cavity Example

The Immersed Interface Method

Finite Element Analysis Prof. Dr. B. N. Rao Department of Civil Engineering Indian Institute of Technology, Madras. Lecture - 36

Edge and corner detection

Topic 5.1: Line Elements and Scalar Line Integrals. Textbook: Section 16.2

Inverse and Implicit functions

Two dynamical core formulation flaws exposed by a. baroclinic instability test case

Block-structured Adaptive Meshes and Reduced Grids for Atmospheric General Circulation Models

Anno accademico 2006/2007. Davide Migliore

The base of a solid is the region in the first quadrant bounded above by the line y = 2, below by

Transcription:

Interpolation of gridded data using Geostrophic Balance Lennon O Naraigh * Date: 6 th September 2004 Abstract: In this report, a method of interpolating data from the grid of a global climate model (GCM) to that of a regional climate model (RCM) is outlined. This method forces the wind fields into geostrophic balance, so that the actual balance between the pressure field and the wind fields in the atmosphere is respected. This geostrophic forcing is thus a means of intializing the data so that the RCM can be integrated forward in time. Initialization is important in eliminating spurious gravity waves, and geostrophic balance could in fact be an efficient way of providing this initialization. * Lennon O Naraigh: www.maths.tcd.ie/~tkachev E-mail: tkachev@maths.tcd.ie

1. Introduction When modelling the atmosphere using the primitive Shallow Water Equations (SWEs), we are faced with the challenge of refining the initial conditions so that they do not support gravity waves. For, the high-frequency gravity wave solutions are not the determinant of atmospheric conditions; these being determined by low-freqency or Rossby waves. The initial conditions for the RCM are provided by a GCM. The fields defined at the global gridpoints are interpolated to the RCM gridpoints. At present, dataassimilation cycles ensure that the initial conditions do not produce noisy foreward integrations (i.e. those supporting gravity waves). A more efficient (less timeconsuming) means of initialization might be to force geostrophic balance. The geostrophic interpolation scheme is explained below and some results are presented. It would be desirable to compare these results with current interpolation schemes; progress towars this aim is outlined too. 2. The Model Grid and the Momentum Equation Models such as the HIRLAM model use as coordinates latitude, longitude and eta. For, any monotone function of the height, z, can be used as a vertical coordinate, and eta is such a function. It is defined by the relation p,, z=ab p s, (1) Where p s is the surface pressure at latitude φ and longitude λ. Surfaces of constant eta follow the orography: at small heights they hug the surface and in the upper reaches of the atmosphere they are planar. The functions A and B are defined such that at the surface, A = 0 and B = 1 and at the top of the model domain, A = 1 and B = 0. It is convenient to introdue a rotating Cartesian frame, fixed to the earth's surface. With respect to this frame, the elements of length dx and dy are given by the following formulas: dx=ad dy=acos d (2) Where a is a suitable value of the earth's radius. Relative to this frame, the Euler momentum equation (together with the Coriolis force) in the horizontal direction is d v dt = f k v R d T V ln p (3) Where R d is the gas constant for dry air, T V =T 0.61q is the virtual temperature, q is the specific humidity, f =2sin is the Coriolis parameter and

the gradient is at constant eta. The vector v is a two-vector: v=u,v. The geopotential is =gz. If the pressure gradient and the Coriolis forces balance, then the total time derivative d v vanishes. This provides a diagnostic relation for the wind fields (geostrophic dt balance): u= 1 f R d T V y fp v= 1 f R d T V x fp p y p x (4) The geopotential at any eta level can be computed by hydrostatic balance. For, in the vertical direction, the pressure difference across an infinitesimally thin column of air is equal to the gravitational force on that column, so that the atmosphere is in hydrostatic balance. In symbols, p= g z p= (5) Thus, on integration, p = s dp p s = s p s p p dp R d T V p = s R d T 0.61q dp p s p (6) Indexing the N eta levels like 0, 1,, N 1, with 0 at the surface and N 1 in the upper reaches of the atmosphere, we may replace equation (6) by a finite sum, incurring an error ~max i=0,1,2, N 1 p i1 p i. n n = s i=0 R d T i 0.61q i p i1/2 p i 1/2 p i1/2 p i 1/2 (7) Equation (7) gives the geopotential on the nth eta level in terms of the pressure on the half-levels. The pressure is known on the half-levels because the A's and B's are defined for the half levels in models like the HIRLAM model: p i1/2 = A i1/2 B i1/2 p s, (8)

The pressure on the full levels is then obtained by a simple average: p i = 1 2 p i1/2 p i 1/2 i=1,2,, N 1 (9) 3. The Interpolation We now have sufficient information to carry out the interpolation. We imagine a Cartesian grid, where each grid point is determined uniquely by a latitude and longitude. The domain of the RCM is contained within the domain the domain of the GCM. We carry out the interpolation in the following steps: 1. Interpolate the surface fields p s and s to the RCM grid (RCMG) using bilinear interpolation. 2. Get the values of pressure on the RCMG and the GCM grid (GCMG) using equations (1) and (9), now that the surface pressure on the RCMG is known. 3. Get the value of the geopotential gradients and pressure gradients on the GCMG. 4. Get the values of geopotential on the GCMG using the finite sum in equation (7). 5. Define a grid with the spatial resolution of the GCM and with the eta levels of the RCM. Interpolate temperature (T), specific humidity (q) and each of the gradients from the GCMG to this new grid in the vertical direction only. We use the value of pressure on the eta levels as a coordinate because this is known exactly. 6. Now interpolate the fields T, q,,, p, x p, from the y x y new grid to the RCMG in the horizontal direction. 7. T and q are now known on the RCMG and so the geopotential on said grid can now be obtained. 8. Using the fields in (6), now defined on the GCMG, we can compute the geostrophic wind components u and v from the equations in section 2. Note the order of the interpolation: vertical first, then horizontal. The gradients of pressure and geopotential are computed using centred differences for the interior of the GCM domain and using left / right hand differences on the boundary. In general, if x i, y i is a grid point described in terms of our Cartesian system, x i, y i1 and x i1, y i are adjacent grid points, and x, y, is any scalar field, then we have the following gradients: = x i1, y i x i 1, y i o x 2, x 2 x = x i1, y i x i, y i o x x x x=a in the domain, for x i, y i on the boundary.

= x i, y i1 x i, y i 1 o y 2, y 2 y &c. y=acos inside the domain (10) Bilinear interpolation is used for the interpolation in the horizontal direction. Suppose that a continuous function f(x,y) is known at the adjacent grid points x 1, y 1, x 2, y 2, x 3, y 3, x 4, y 4 so that f i f x i, y i for i = 1, 2, 3, 4. The significance of the labelling is shown in figure 1. If the point (x,y) lies in the grid square, the value f(x,y) of the function at this point is got as follows: t= x x 1 x 2 x 1 u= y y 1 y 2 y 1 (11) f x, y=1 t 1 u f x 1, y 1 t 1 u f x 2, y 2 tuf x 3, y 3 1 t uf x 4, y 4 (12) Figure 1: The grid square. The labelling of the grid points corresponds to the indices in equations (11) and (12).

This method has one disadvantage however: if the field f is C 1 field is only C 0 then the interpolated 1 : in any grid square the derivatives of the field exist. However, they vary discontinuously as one wanders from grid square to grid square. Thus, in our interpolation scheme, we compute the GCMG field gradients first, and then interpolate these gradients to the RCMG, rather than interpolating fields and then computing gradients. In reality, we have a commutative diagram (figure 2); the noncommutativity implied in this discussion is merely an artifice of the bilinear interpolation. GCM, p GCM GCM, pgcm interpolation interpolation RCM, p RCM GCM, pgcm Figure 2: The commutative diagram for the interpolation. The piecewise linear interpolation in the vertical direction is the one-dimensional analogue of the bilinear interpolation. Given a continuous function g(x) defined at two distinct points such that g x 1 =g 1, g x 2 =g 2 and a point x [ x 1, x 2 ], we compute g(x) in the following manner: gx=g x 1 g ' x 1 x x 1 o x x 1 g' x 1 g x 2 g x 1 x 2 x 1 (13) Again, this method fails to preserve the C 1 -ness of C 1 functions, but this does not present a problem for us here. 4. Code: The interpolation scheme is written in C. The source and a readme document can be obtained at www.maths.tcd.ie/~tkachev/meteorology.html 1 C 0 : A continuous function. C 1 : A continuous function with continuous first derivative.

5. Results: The results of the interpolation are presented for input data (GCM) coming from ECMWF analysis valid 1 st Jan 1993, 00UTC. The RCM uses the HIRLAM eta levels. The interpolation is performed over the sea (negligible orography). The assumption of geostrophic balance is especially valid here, since the pressure and geopotential gradients over the sea have orders of magnitude which produce a geostrophic wind whose magnitude is of the correct order: p ~0.003 ~0.0003 f ~0.001 v ~10 (14) In SI units, at middle latitudes in the Northern Hemisphere, near the earth's surface. The domain chosen for the RCM is -50 W to -40W, 30 N to 40 N (mid-atlantic). Some results are presented in graphical form. Figure 3: The interpolated field of surface pressure (green) compared with the GCM temperature (red), for the model domain chosen.

Figure 4: The interpolated field of surface temperature (green) compared with the GCM temperature (red), for the model domain chosen. The geostrophic wind components were obtained by the method outlined above. However, the wind fields were also interpolated in the conventional way, by first interpolating piecewise linearly in the vertical direction and then by interpolating bilinearly in the horizontal direction. We therefore have two wind fields, which differ by up to 20%. The wind fields to be used as initial conditions in the forward integration of the SWEs are then a weighted average of these two wind fields: v i =w i v i CH 1 w i v i GB (15) Where, in an obvious notation, CH refers to the conventional horizontal interpolation and GB refers to the geostrophic wind. The label i indexes the eta levels. weight, chosen so that on the surface, GB v top =v top v s =v s CH. Thus, we chose the following weight: w i is a while at the top of the domain, i w i =cos 2N 1 (16)

The vertical profile of the wind speed u 2 v 2 presented below. for the coordinate (-50W,30N) is Figure 5: Vertical Profile of speed u 2 v 2 for grid point (-50W, 30N). The red curve is the geostrophic wind, the green curve is the ageostrophic wind while the blue curve represents the weighted average. Note that the red curve is smooth while the others are not; this is a consequence of the piecewise linear interpolation used in the vertical interpolation.

6. Further Investigations Having devised a successful interpolation scheme for the GCM-RCM interpolation, it would be interesting to compare this new scheme with previous method, such as that used in the HIRLAM model. It will be necessary to write C code to call the FORTRAN routines of the HIRLAM model. This program will read input data from the command line and will output data to files whose content will be plotted. This is being attempted at present. Finally, the forward integrations produced by the new scheme should be compared to those produced by the HIRLAM interpolations. This is a bigger task, although given the three hours needed for data assimilation in HIRLAM operational forecasts, it is a worthy undertaking. The scheme proposed here has one physical condition in the horisontal, viz. geostophic balance. Further conditions might be added: for example, the C 1 -ness of the fields in the vertical direction could be forced by using a more sophisticated method of vertical interpolation, or by forcing the fields to satisfy continuous lapserate conditions, e.g. T z = z T =T s z surf dz (17) 7. Conclusion The geostrophic forcing of the wind fields in the atmosphere was investigated to produce a novel means of interpolating data from a GCMG to a RCMG. The resulting discretized fields were plotted and were found to coincide with the GCM fields. A profile of the geostrophic wind for a certain RCM grid point was compared with the other fields of wind speed, obtained by conventional interpolation and by weighted averaging. Since the trends in this profile agrees, the forcing of geostophic balance is a reasonable assumption. The practical usefulness of this forcing, however, can only be ascertained when forward integrations of the SWEs arising from the new scheme are compared with previous methods of assimilation.