regrid_sfc  1.13.0
utils.F90 File Reference

Error handling utilities for tile2tile. More...

Go to the source code of this file.

Functions/Subroutines

subroutine utilities::error_handler (string, rc)
 General error handler. More...
 
subroutine utilities::netcdf_err (err, string)
 Error handler for netcdf. More...
 

Detailed Description

Error handling utilities for tile2tile.

taken from UFS_UTILS/changeres.

Definition in file utils.F90.

Function/Subroutine Documentation

◆ error_handler()

subroutine utilities::error_handler ( character(len=*), intent(in)  string,
integer, intent(in)  rc 
)

General error handler.

Parameters
[in]stringerror message
[in]rcerror status code

Definition at line 14 of file utils.F90.

◆ netcdf_err()

subroutine utilities::netcdf_err ( integer, intent(in)  err,
character(len=*), intent(in)  string 
)

Error handler for netcdf.

Parameters
[in]errerror status code
[in]stringerror message

Definition at line 36 of file utils.F90.