WAVEWATCH III  beta 0.0.1
ww3_bounc.F90 File Reference

Contains the boundary condition program, W3BOUNC. More...

Go to the source code of this file.

Functions/Subroutines

program w3bounc
 Combines spectra files into a nest. ww3 file for boundary conditions. More...
 
subroutine check_err (IRET)
 Check input return status for error value. More...
 

Detailed Description

Contains the boundary condition program, W3BOUNC.

Author
F Ardhuin
M Accensi
Date
21-Jul-2020

Definition in file ww3_bounc.F90.

Function/Subroutine Documentation

◆ check_err()

subroutine check_err ( integer  IRET)

Check input return status for error value.

Parameters
IRETreturn status to check
Author
NA
Date
NA

Definition at line 856 of file ww3_bounc.F90.

856 
857  USE netcdf
858  USE w3odatmd, ONLY: ndse
859  USE w3servmd, ONLY: extcde
860 
861  IMPLICIT NONE
862 
863  INTEGER IRET
864 
865  IF (iret .NE. nf90_noerr) THEN
866  WRITE(ndse,*) ' *** WAVEWATCH III ERROR IN BOUNC :'
867  WRITE(ndse,*) ' NETCDF ERROR MESSAGE: '
868  WRITE(ndse,*) nf90_strerror(iret)
869  CALL extcde ( 59 )
870  END IF
871  RETURN
872 

References w3servmd::extcde(), and w3odatmd::ndse.

Referenced by w3bounc(), w3crnc(), w3exnc(), w3ounf(), w3ounp(), w3prnc(), and w3trnc().

◆ w3bounc()

w3odatmd::ndse
integer, pointer ndse
Definition: w3odatmd.F90:456
w3servmd
Definition: w3servmd.F90:3
w3odatmd
Definition: w3odatmd.F90:3
w3servmd::extcde
subroutine extcde(IEXIT, UNIT, MSG, FILE, LINE, COMM)
Definition: w3servmd.F90:736