|
sfc_climo_gen
1.10.0
|
Replace undefined values on the model grid with a valid value at a nearby neighbor. More...
Go to the source code of this file.
Functions/Subroutines | |
| subroutine | search (field, mask, idim, jdim, tile, field_name) |
| Replace undefined values on the model grid with a valid value at a nearby neighbor. More... | |
Replace undefined values on the model grid with a valid value at a nearby neighbor.
Definition in file search.f90.
| subroutine search | ( | real(esmf_kind_r4), dimension(idim,jdim), intent(inout) | field, |
| integer(esmf_kind_i4), dimension(idim,jdim), intent(in) | mask, | ||
| integer, intent(in) | idim, | ||
| integer, intent(in) | jdim, | ||
| integer, intent(in) | tile, | ||
| character(len=*) | field_name | ||
| ) |
Replace undefined values on the model grid with a valid value at a nearby neighbor.
Undefined values are typically associated with isolated islands where there is no source data. Routine searches a neighborhood with a radius of 100 grid points. If no valid value is found, a default value is used. This routine works for one tile of a cubed sphere grid. It does not consider valid values at adjacent faces. That is a future upgrade.
| [in,out] | field | - input: field before missing values are replaced
|
| [in] | mask | field bitmap. Field defined where mask=1 |
| [in,out] | idim | i dimension of tile |
| [in,out] | jdim | j dimension of tile |
| [in] | tile | tile number |
| [in] | field_name | field name |
Definition at line 24 of file search.f90.
Referenced by interp().