For reading and storing boundary conditions.
This module handles the reading and storing of 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.
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| real, | public | :: | fmask(ix,il) | Original (fractional) land-sea mask  | 
  
|||
| real, | public | :: | phi0(ix,il) | Unfiltered surface geopotential  | 
  
|||
| real, | public | :: | phis0(ix,il) | Spectrally-filtered surface geopotential  | 
  
|||
| real, | public | :: | alb0(ix,il) | Bare-land annual-mean albedo  | 
  
Initialize boundary conditions (land-sea mask, surface geopotential and surface albedo).
Check consistency of surface fields with land-sea mask and set undefined values to a constant (to avoid over/underflow).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real, | intent(in) | :: | fmask(ix,il) | The fractional land-sea mask  | 
  
||
| integer, | intent(in) | :: | nf | The number of input 2D fields  | 
  
||
| real, | intent(in) | :: | fmin | The minimum allowable value  | 
  
||
| real, | intent(in) | :: | fmax | The maximum allowable value  | 
  
||
| real, | intent(in) | :: | fset | Replacement for undefined values  | 
  
||
| real, | intent(inout) | :: | field(ix,il,nf) | The output field  | 
  
Compute a spectrally-filtered grid-point field.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real, | intent(inout) | :: | fg1(ix,il) | Original grid-point field  | 
  
||
| real, | intent(inout) | :: | fg2(ix,il) | Filtered grid-point field  | 
  
Replace missing values in surface fields.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real, | intent(inout) | :: | sf(ix,il) | Field to replace missing values in  | 
  
||
| real, | intent(in) | :: | fmis | Replacement for missing values  |