handle_error_netcdf Subroutine

public subroutine handle_error_netcdf(istatus, line_number, file_name)

Wrapper of handle error for calls of NetCDF functions. Checks for NetCDF errors and prints a standardized error message.

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: istatus

Status integer returned by the NetCDF function

integer, intent(in) :: line_number

Line number where error or warning occured, i.e. LINE

character(len=*), intent(in) :: file_name

File name where error or warning occured, i.e. FILE