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

This routine posts surface-based fields. More...

Go to the source code of this file.

Functions/Subroutines

subroutine qpf_comp (igetfld, compfile, fcst)
 qpf_comp() Read in QPF threshold for exceedance grid. More...
 
subroutine surfce
 SURFCE posts surface-based fields. More...
 

Detailed Description

This routine posts surface-based fields.

Program history log:

Date Programmer Comments
1992-12-21 RUSS TREADON Initial
1994-08-04 MICHAEL BALDWIN ADDED OUTPUT OF SFC FLUXES OF SENS AND LATENT HEAT AND THETA AT Z0
1994-11-04 MICHAEL BALDWIN ADDED INSTANTANEOUS PRECIP TYPE
1996-03-19 MICHAEL BALDWIN CHANGE SOIL PARAMETERS
1996-09-25 MICHAEL BALDWIN ADDED SNOW RATIO FROM EXPLICIT SCHEME
1996-10-17 MICHAEL BALDWIN CHANGED SFCEVP,POTEVP TO ACCUM. TOOK OUT -PTRACE FOR ACSNOW,SSROFF,BGROFF.
1997-04-23 MICHAEL BALDWIN TOOK OUT -PTRACE FOR ALL PRECIP FIELDS
1998-06-12 T BLACK CONVERSION FROM 1-D TO 2-D
1998-07-17 MIKE BALDWIN REMOVED LABL84
1998-08-18 MIKE BALDWIN COMPUTE RH OVER ICE
1998-12-22 MIKE BALDWIN BACK OUT RH OVER ICE
2000-01-04 JIM TUCCILLO MPI VERSION
2001-10-22 H CHUANG MODIFIED TO PROCESS HYBRID MODEL OUTPUT
2002-06-11 MIKE BALDWIN WRF VERSION ASSUMING ALL ACCUM VARS HAVE BUCKETS THAT FILL FROM T=00H ON
2002-08-28 H CHUANG COMPUTE FIELDS AT SHELTER LEVELS FOR WRF
2004-12-09 H CHUANG ADD ADDITIONAL LSM FIELDS
2005-07-07 BINBIN ZHOU ADD RSM MODEL
2005-08-24 GEOFF MANIKIN ADDED DOMINANT PRECIP TYPE
2011-02-06 JUN WANG ADDED GRIB2 OPTION
2013-08-05 S Moorthi Eliminate unnecessary arrays (reduce memory) and some cosmetic changes
2014-02-26 S Moorthi threading datapd assignment
2014-11-26 S Moorthi cleanup and some bug fix (may be?)
2020-03-25 J MENG remove grib1
2020-05-20 J MENG CALRH unification with NAM scheme
2020-11-10 J MENG USE UPP_PHYSICS MODULE
2021-03-11 B Cui change local arrays to dimension (im,jsta:jend)
2021-04-01 J MENG COMPUTATION ON DEFINED POINTS ONLY
2021-07-26 W Meng Restrict computation from undefined grids
2021-10-31 J MENG 2D DECOMPOSITION
2022-02-01 E JAMES Cleaning up GRIB2 encoding for six variables that cause issues with newer wgrib2 builds in RRFS system.
2022-11-16 E JAMES Adding dust from RRFS
2022-12-23 E Aligo Read six winter weather diagnostics from model.
2023-01-24 Sam Trahan store hourly accumulated precip for IFI and bucket time
2023-02-11 W Meng Add fix of time accumulation in bucket graupel for FV3 based models
2023-02-23 E James Adding coarse PM from RRFS
2023-03-22 S Trahan Fixed out-of-bounds access calling BOUND with wrong array dimensions
2023-04-21 E James Enabling GSL precip type for RRFS
Note
USAGE: CALL SURFCE
OUTPUT FILES: NONE
SUBPROGRAMS CALLED: UTILITIES:
  • BOUND - ENFORCE LOWER AND UPPER LIMITS ON ARRAY ELEMENTS.
  • DEWPOINT - COMPUTE DEWPOINT TEMPERATURE.
  • CALDRG - COMPUTE SURFACE LAYER DRAG COEFFICENT
  • CALTAU - COMPUTE SURFACE LAYER U AND V WIND STRESSES.
LIBRARY: COMMON -
  • CTLBLK
  • RQSTFLD

Definition in file SURFCE.f.

Function/Subroutine Documentation

subroutine qpf_comp ( integer, intent(in)  igetfld,
character(len=256), intent(in)  compfile,
integer, intent(in)  fcst 
)

qpf_comp() Read in QPF threshold for exceedance grid.

Calculate exceedance grid.

Parameters
[in]compfilecharacter File name for reference grid.
[in]fcstinteger Forecast length in hours.
[in]igetfldinteger ID of grib2 field.

Definition at line 6705 of file SURFCE.f.

Referenced by surfce().

subroutine surfce ( )

SURFCE posts surface-based fields.

Definition at line 64 of file SURFCE.f.

References bound(), caldrg(), upp_physics::calrh(), dewpoint(), upp_physics::fpvsnew(), and qpf_comp().