boundaries Module

contributor: Andres Perez Hortal

This module initialize the land-sea mask, the surface geopotential (i.e. the orography), the filtered surface geopotential (i.e. the smoothed orography) and the bare-land annual-mean albedo.


Uses

  • module~~boundaries~~UsesGraph module~boundaries boundaries module~types types module~boundaries->module~types module~params params module~boundaries->module~params iso_fortran_env iso_fortran_env module~types->iso_fortran_env module~params->module~types

Used by

  • module~~boundaries~~UsedByGraph module~boundaries boundaries proc~land_model_init land_model_init proc~land_model_init->module~boundaries proc~sea_model_init sea_model_init proc~sea_model_init->module~boundaries proc~initialize_state initialize_state proc~initialize_state->module~boundaries

Contents


Subroutines

public subroutine initialize_boundaries(state)

Initialize boundary conditions (land-sea mask, surface geopotential and surface albedo).

Arguments

Type IntentOptional AttributesName
type(ModelState_t), intent(inout) :: state

public subroutine check_surface_fields(fmask, nf, fmin, fmax, fset, field)

Check consistency of surface fields with land-sea mask and set undefined values to a constant (to avoid over/underflow).

Arguments

Type IntentOptional AttributesName
real(kind=p), intent(in) :: fmask(ix,il)

The fractional land-sea mask

integer, intent(in) :: nf

The number of input 2D fields

real(kind=p), intent(in) :: fmin

The minimum allowable value

real(kind=p), intent(in) :: fmax

The maximum allowable value

real(kind=p), intent(in) :: fset

Replacement for undefined values

real(kind=p), intent(inout) :: field(ix,il,nf)

The output field

public subroutine fill_missing_values(sf, fmis)

Replace missing values in surface fields.

Read more…

Arguments

Type IntentOptional AttributesName
real(kind=p), intent(inout) :: sf(ix,il)

Field to replace missing values in

real(kind=p), intent(in) :: fmis

Replacement for missing values