chgres_cube  1.13.0
All Data Structures Namespaces Files Functions Variables Pages
surface.F90 File Reference

Process land, sea/lake ice, open water/Near Sea Surface Temperature (NSST) fields. More...

Go to the source code of this file.

Data Types

type  surface::realptr_2d
 
type  surface::realptr_3d
 

Modules

module  surface
 Process surface and nst fields.
 

Functions/Subroutines

subroutine surface::adjust_soil_levels (localpet)
 Adjust soil levels of the input grid if there is a mismatch between input and target grids. More...
 
subroutine surface::adjust_soilt_for_terrain
 Adjust soil temperature for changes in terrain height between the input and target grids. More...
 
subroutine surface::calc_liq_soil_moisture
 Compute liquid portion of the total soil moisture. More...
 
subroutine surface::cleanup_all_target_sfc_data
 Free up memory once the target grid surface fields are no longer needed. More...
 
subroutine, public surface::create_nst_esmf_fields
 Create ESMF fields for the target grid nst variables. More...
 
subroutine, public surface::create_surface_esmf_fields
 Create ESMF fields for the target grid surface variables. More...
 
real function surface::frh2o (TKELV, SMC, SH2O, SMCMAX, BEXP, PSIS)
 Calculate supercooled soil moisture. More...
 
subroutine surface::ij_to_i_j (ij, itile, jtile, i, j)
 Convert 1d index to 2d indices. More...
 
subroutine, public surface::interp (localpet)
 Horizontally interpolate surface fields from input to target FV3 grid using esmf routines. More...
 
subroutine, public surface::nst_land_fill
 nst is not active at land or sea ice points. More...
 
subroutine surface::qc_check
 Perform some quality control checks and set flag values at non-active points. More...
 
subroutine, public surface::regrid_many (bundle_pre, bundle_post, num_field, route, dozero, unmapped_ptr, resetifd)
 Regrid multiple ESMF fields from input to target grid. More...
 
subroutine surface::rescale_soil_moisture
 Adjust soil moisture for changes in soil type between the input and target grids. More...
 
subroutine surface::roughness
 Set roughness length at points with some sea ice to 1 cm. More...
 
subroutine, public surface::search_many (num_field, bundle_target, tile, search_nums, localpet, latitude, terrain_land, soilt_climo, mask)
 Execute the search function for multple fields. More...
 
subroutine, public surface::surface_driver (localpet)
 Driver routine to process surface/nst data. More...
 
subroutine surface::update_landmask
 Update landmask for sea ice. More...
 

Variables

real, parameter, private surface::blim = 5.5
 soil 'b' parameter limit More...
 
real, parameter, private surface::frz_h2o = 273.15
 melting pt water More...
 
real, parameter, private surface::frz_ice = 271.21
 melting pt sea ice More...
 
real, parameter, private surface::grav = 9.81
 gravity More...
 
real, parameter, private surface::hlice = 3.335E5
 latent heat of fusion More...
 
real(esmf_kind_r8), parameter, private surface::missing = -1.e20_esmf_kind_r8
 flag for non-active points. More...
 
type(esmf_field) surface::soil_type_from_input_grid
 soil type interpolated from input grid More...
 
type(esmf_field) surface::terrain_from_input_grid
 terrain height interpolated from input grid More...
 
type(esmf_field) surface::terrain_from_input_grid_land
 terrain height interpolated from input grid at all land points More...
 
integer, parameter surface::veg_type_landice_target = 15
 Vegetation type category that defines permanent land ice points. More...
 

Detailed Description

Process land, sea/lake ice, open water/Near Sea Surface Temperature (NSST) fields.

Author
George Gayno NCEP/EMC

Definition in file surface.F90.