SOCA
|
various utility functions More...
Functions/Subroutines | |
elemental real(kind=kind_real) function, public | soca_rho (sp, pt, p, lon, lat) |
calculate density from temp/salinity profile More... | |
real(kind=kind_real) function, public | soca_mld (sp, pt, p, lon, lat) |
calculate mixed layer depth from temp/salinity profile More... | |
subroutine, public | soca_diff (dvdz, v, h) |
subroutine, public | write2pe (vec, varname, filename, append) |
per-PE file output, used by soca_geom to write per-PE grid More... | |
subroutine, public | nc_check (status) |
wrapper for netcdf calls More... | |
elemental real(kind=kind_real) function, public | soca_adjust (std, minstd, maxstd) |
Apply bounds. More... | |
subroutine, public | soca_str2int (str, int) |
subroutine, public | soca_remap_idw (lon_src, lat_src, data_src, lon_dst, lat_dst, data_dst) |
inverse distance weighted remaping (modified Shepard's method) More... | |
various utility functions
subroutine, public soca_utils::nc_check | ( | integer(4), intent(in) | status | ) |
wrapper for netcdf calls
Definition at line 156 of file soca_utils.F90.
elemental real(kind=kind_real) function, public soca_utils::soca_adjust | ( | real(kind=kind_real), intent(in) | std, |
real(kind=kind_real), intent(in) | minstd, | ||
real(kind=kind_real), intent(in) | maxstd | ||
) |
Apply bounds.
Definition at line 168 of file soca_utils.F90.
subroutine, public soca_utils::soca_diff | ( | real(kind=kind_real), dimension(:), intent(out) | dvdz, |
real(kind=kind_real), dimension(:), intent(in) | v, | ||
real(kind=kind_real), dimension(:), intent(in) | h | ||
) |
real(kind=kind_real) function, public soca_utils::soca_mld | ( | real(kind=kind_real), dimension(:), intent(in) | sp, |
real(kind=kind_real), dimension(:), intent(in) | pt, | ||
real(kind=kind_real), dimension(:), intent(in) | p, | ||
real(kind=kind_real), intent(in) | lon, | ||
real(kind=kind_real), intent(in) | lat | ||
) |
calculate mixed layer depth from temp/salinity profile
pt | potential temperature profile |
sp | practical salinity profile |
p | pressure (depth) profile |
lon | longitude |
lat | latitude |
Definition at line 63 of file soca_utils.F90.
subroutine, public soca_utils::soca_remap_idw | ( | real(kind_real), dimension(:), intent(in) | lon_src, |
real(kind_real), dimension(:), intent(in) | lat_src, | ||
real(kind_real), dimension(:), intent(in) | data_src, | ||
real(kind_real), dimension(:,:), intent(in) | lon_dst, | ||
real(kind_real), dimension(:,:), intent(in) | lat_dst, | ||
real(kind_real), dimension(:,:), intent(inout) | data_dst | ||
) |
inverse distance weighted remaping (modified Shepard's method)
Definition at line 188 of file soca_utils.F90.
elemental real(kind=kind_real) function, public soca_utils::soca_rho | ( | real(kind=kind_real), intent(in) | sp, |
real(kind=kind_real), intent(in) | pt, | ||
real(kind=kind_real), intent(in) | p, | ||
real(kind=kind_real), intent(in) | lon, | ||
real(kind=kind_real), intent(in) | lat | ||
) |
calculate density from temp/salinity profile
sp | practical salinity profile |
pt | potential temperature profile |
p | pressure (depth) profile |
lon | longitude |
lat | latitude |
Definition at line 33 of file soca_utils.F90.
subroutine, public soca_utils::soca_str2int | ( | character(len=*), intent(in) | str, |
integer, intent(out) | int | ||
) |
subroutine, public soca_utils::write2pe | ( | real(kind=kind_real), dimension(:), intent(in) | vec, |
character(len=*), intent(in) | varname, | ||
character(len=256), intent(in) | filename, | ||
logical, intent(in) | append | ||
) |
per-PE file output, used by soca_geom to write per-PE grid
Definition at line 115 of file soca_utils.F90.