UPP  11.0.0
 All Data Structures Files Functions Variables Pages
SMOOTH.f File Reference

smooth() smooths a meteorological field using Shapiro smoother. More...

Go to the source code of this file.

Functions/Subroutines

subroutine smooth (FIELD, HOLD, IX, IY, SMTH)
 smooth() smooths a meteorological field using Shapiro smoother. More...
 
subroutine smoothc (FIELD, HOLD, IX, IY, SMTH)
 smoothc() smooths a meteorological field using Shapiro smoother. More...
 

Detailed Description

smooth() smooths a meteorological field using Shapiro smoother.

Author
Stan Benjamin FSL/PROFS
Date
1990-06-15
Note
Reference: Shapiro, 1970: "Smoothing, filtering, and boundary effects", REV. GEOPHYS. SP. PHYS., 359-387. This filter is of the type
z(i) = (1-s)z(i) + s(z(i+1)+z(i-1))/2
For a filter which is supposed to damp 2DX waves completely but leave 4DX and longer with little damping, it should be run with 2 passes using SMTH (or s) of 0.5 and -0.5.
Parameters
[in,out]FIELDReal array FIELD(IX,IY) Meteorological field.
Note
FIELD is converted to smoothed meteorological field in this function.
Parameters
[in]HOLDReal array HOLD(IX,2) Holding the value for field.
[in]IXInteger X Coordinates of field.
[in]IYInteger Y Coordinates of field.
[in]SMTHReal.

Program history log:

Date Programmer Comments
1990-06-15 S. Benjamin Initial
2014-03-03 S. Moorthi Threading and slight cleanup
Author
Stan Benjamin FSL/PROFS
Date
1990-06-15

Definition in file SMOOTH.f.

Function/Subroutine Documentation

subroutine smooth ( real, dimension(ix,iy)  FIELD,
real, dimension (ix,2)  HOLD,
integer  IX,
integer  IY,
real  SMTH 
)

smooth() smooths a meteorological field using Shapiro smoother.

Parameters
[in,out]FIELDReal array FIELD(IX,IY) Meteorological field.
Note
FIELD is converted to smoothed meteorological field in this function.
Parameters
[in]HOLDReal array HOLD(IX,2) Holding the value for field.
[in]IXInteger X Coordinates of field.
[in]IYInteger Y Coordinates of field.
[in]SMTHReal.

Definition at line 42 of file SMOOTH.f.

Referenced by mdlfld().

subroutine smoothc ( real, dimension(ix,iy)  FIELD,
real, dimension (ix,2)  HOLD,
integer  IX,
integer  IY,
real  SMTH 
)

smoothc() smooths a meteorological field using Shapiro smoother.

Author
Stan Benjamin FSL/PROFS
Date
1990-06-15
Note
Reference: Shapiro, 1970: "Smoothing, filtering, and boundary effects", REV. GEOPHYS. SP. PHYS., 359-387. This filter is of the type
Z(I) = (1-S)Z(I) + S(Z(I+1)+Z(I-1))/2
For a filter which is supposed to damp 2DX waves completely but leave 4DX and longer with little damping, it should be run with 2 passes using SMTH (or s) of 0.5 and -0.5.
Parameters
[in,out]FIELDReal array FIELD(IX,IY) Meteorological field.
Note
FIELD is converted to smoothed meteorological field in this function.
Parameters
[in]HOLDReal array HOLD(IX,2) Holding the value for field.
[in]IXInteger X Coordinates of field.
[in]IYInteger Y Coordinates of field.
[in]SMTHReal.

Program history log:

Date Programmer Comments
1985-12-09 S. Benjamin Original version os smooth
2014-03-03 S. Moorthi Threading and slight cleanup
2016-08-08 S. Moorthi Modify for cyclic domain
Author
Stan Benjamin FSL/PROFS
Date
1990-06-15

Definition at line 134 of file SMOOTH.f.