SURFEX v8.1
General documentation of Surfex
Data Types | Functions/Subroutines | Variables
bytes_io_mod Module Reference

Data Types

interface  bytes_io_read
 
interface  bytes_io_write
 

Functions/Subroutines

subroutine, public bytes_io_open (KFILE, CDPATH, CDMODE, KRET)
 
subroutine, public bytes_io_close (KFILE, KRET)
 
subroutine, public bytes_io_seek (KFILE, KOFFSET, KWHENCE, KRET)
 
subroutine, public bytes_io_tell (KFILE, KRET)
 
subroutine bytes_io_read_jpim_int (KFILE, KBUF, KBYTES, KRET)
 
subroutine bytes_io_read_jpim_int_array (KFILE, KBUF, KBYTES, KRET)
 
subroutine bytes_io_read_jpim_real4 (KFILE, PBUF, KBYTES, KRET)
 
subroutine bytes_io_read_jpim_real4_array (KFILE, PBUF, KBYTES, KRET)
 
subroutine bytes_io_read_jpim_real8 (KFILE, PBUF, KBYTES, KRET)
 
subroutine bytes_io_read_jpim_real8_array (KFILE, PBUF, KBYTES, KRET)
 
subroutine bytes_io_read_jpim_char_array (KFILE, CDBUF, KBYTES, KRET)
 
subroutine bytes_io_write_jpim_int (KFILE, PBUF, KBYTES, KRET)
 
subroutine bytes_io_write_jpim_int_array (KFILE, PBUF, KBYTES, KRET)
 
subroutine bytes_io_write_jpim_real4 (KFILE, PBUF, KBYTES, KRET)
 
subroutine bytes_io_write_jpim_real4_array (KFILE, PBUF, KBYTES, KRET)
 
subroutine bytes_io_write_jpim_real8 (KFILE, PBUF, KBYTES, KRET)
 
subroutine bytes_io_write_jpim_real8_array (KFILE, PBUF, KBYTES, KRET)
 
subroutine bytes_io_write_jpim_char_array (KFILE, CDBUF, KBYTES, KRET)
 
subroutine bytes_io_read_jpib_int (KFILE, KBUF, KBYTES, KRET)
 
subroutine bytes_io_read_jpib_int_array (KFILE, KBUF, KBYTES, KRET)
 
subroutine bytes_io_read_jpib_real4 (KFILE, PBUF, KBYTES, KRET)
 
subroutine bytes_io_read_jpib_real4_array (KFILE, PBUF, KBYTES, KRET)
 
subroutine bytes_io_read_jpib_real8 (KFILE, PBUF, KBYTES, KRET)
 
subroutine bytes_io_read_jpib_real8_array (KFILE, PBUF, KBYTES, KRET)
 
subroutine bytes_io_read_jpib_char_array (KFILE, CDBUF, KBYTES, KRET)
 
subroutine bytes_io_write_jpib_int (KFILE, PBUF, KBYTES, KRET)
 
subroutine bytes_io_write_jpib_int_array (KFILE, PBUF, KBYTES, KRET)
 
subroutine bytes_io_write_jpib_real4 (KFILE, PBUF, KBYTES, KRET)
 
subroutine bytes_io_write_jpib_real4_array (KFILE, PBUF, KBYTES, KRET)
 
subroutine bytes_io_write_jpib_real8 (KFILE, PBUF, KBYTES, KRET)
 
subroutine bytes_io_write_jpib_real8_array (KFILE, PBUF, KBYTES, KRET)
 
subroutine bytes_io_write_jpib_char_array (KFILE, CDBUF, KBYTES, KRET)
 

Variables

integer, parameter, public jpbytes_io_success =0
 
integer, parameter jpbytes_io_could_not_open_file =-1
 
integer, parameter jpbytes_io_could_not_close_file =-1
 
integer, parameter jpbytes_io_invalid_file_name =-2
 
integer, parameter jpbytes_io_invalid_open_mode =-3
 
integer, parameter jpbytes_io_end_of_file =-1
 
integer, parameter jpbytes_io_seek_error =-2
 
integer, parameter jpbytes_io_read_jpim_error =-2
 
integer, parameter jpbytes_io_write_jpim_error =-1
 

Function/Subroutine Documentation

◆ bytes_io_close()

subroutine, public bytes_io_mod::bytes_io_close ( integer(kind=jpim), intent(in)  KFILE,
integer(kind=jpim), intent(out), optional  KRET 
)

Definition at line 109 of file bytes_io_mod.F90.

Here is the call graph for this function:

◆ bytes_io_open()

subroutine, public bytes_io_mod::bytes_io_open ( integer(kind=jpim), intent(out)  KFILE,
character(len=*), intent(in)  CDPATH,
character(len=1), intent(in)  CDMODE,
integer(kind=jpim), intent(out), optional  KRET 
)

Definition at line 89 of file bytes_io_mod.F90.

Here is the call graph for this function:

◆ bytes_io_read_jpib_char_array()

subroutine bytes_io_mod::bytes_io_read_jpib_char_array ( integer(kind=jpim), intent(in)  KFILE,
character(len=1), dimension(:), intent(out)  CDBUF,
integer(kind=jpib), intent(in)  KBYTES,
integer(kind=jpim), intent(out), optional  KRET 
)
private

Definition at line 596 of file bytes_io_mod.F90.

Here is the call graph for this function:

◆ bytes_io_read_jpib_int()

subroutine bytes_io_mod::bytes_io_read_jpib_int ( integer(kind=jpim), intent(in)  KFILE,
integer(kind=jpim), intent(out)  KBUF,
integer(kind=jpib), intent(in)  KBYTES,
integer(kind=jpim), intent(out), optional  KRET 
)
private

Definition at line 476 of file bytes_io_mod.F90.

Here is the call graph for this function:

◆ bytes_io_read_jpib_int_array()

subroutine bytes_io_mod::bytes_io_read_jpib_int_array ( integer(kind=jpim), intent(in)  KFILE,
integer(kind=jpim), dimension(:), intent(out)  KBUF,
integer(kind=jpib), intent(in)  KBYTES,
integer(kind=jpim), intent(out), optional  KRET 
)
private

Definition at line 496 of file bytes_io_mod.F90.

Here is the call graph for this function:

◆ bytes_io_read_jpib_real4()

subroutine bytes_io_mod::bytes_io_read_jpib_real4 ( integer(kind=jpim), intent(in)  KFILE,
real(kind=jprm), intent(out)  PBUF,
integer(kind=jpib), intent(in)  KBYTES,
integer(kind=jpim), intent(out), optional  KRET 
)
private

Definition at line 516 of file bytes_io_mod.F90.

Here is the call graph for this function:

◆ bytes_io_read_jpib_real4_array()

subroutine bytes_io_mod::bytes_io_read_jpib_real4_array ( integer(kind=jpim), intent(in)  KFILE,
real(kind=jprm), dimension(:), intent(out)  PBUF,
integer(kind=jpib), intent(in)  KBYTES,
integer(kind=jpim), intent(out), optional  KRET 
)
private

Definition at line 536 of file bytes_io_mod.F90.

Here is the call graph for this function:

◆ bytes_io_read_jpib_real8()

subroutine bytes_io_mod::bytes_io_read_jpib_real8 ( integer(kind=jpim), intent(in)  KFILE,
real(kind=jprd), intent(out)  PBUF,
integer(kind=jpib), intent(in)  KBYTES,
integer(kind=jpim), intent(out), optional  KRET 
)
private

Definition at line 556 of file bytes_io_mod.F90.

Here is the call graph for this function:

◆ bytes_io_read_jpib_real8_array()

subroutine bytes_io_mod::bytes_io_read_jpib_real8_array ( integer(kind=jpim), intent(in)  KFILE,
real(kind=jprd), dimension(:), intent(out)  PBUF,
integer(kind=jpib), intent(in)  KBYTES,
integer(kind=jpim), intent(out), optional  KRET 
)
private

Definition at line 576 of file bytes_io_mod.F90.

Here is the call graph for this function:

◆ bytes_io_read_jpim_char_array()

subroutine bytes_io_mod::bytes_io_read_jpim_char_array ( integer(kind=jpim), intent(in)  KFILE,
character(len=1), dimension(:), intent(out)  CDBUF,
integer(kind=jpim), intent(inout)  KBYTES,
integer(kind=jpim), intent(out), optional  KRET 
)
private

Definition at line 290 of file bytes_io_mod.F90.

Here is the call graph for this function:

◆ bytes_io_read_jpim_int()

subroutine bytes_io_mod::bytes_io_read_jpim_int ( integer(kind=jpim), intent(in)  KFILE,
integer(kind=jpim), intent(out)  KBUF,
integer(kind=jpim), intent(in)  KBYTES,
integer(kind=jpim), intent(out), optional  KRET 
)
private

Definition at line 170 of file bytes_io_mod.F90.

Here is the call graph for this function:

◆ bytes_io_read_jpim_int_array()

subroutine bytes_io_mod::bytes_io_read_jpim_int_array ( integer(kind=jpim), intent(in)  KFILE,
integer(kind=jpim), dimension(:), intent(out)  KBUF,
integer(kind=jpim), intent(in)  KBYTES,
integer(kind=jpim), intent(out), optional  KRET 
)
private

Definition at line 190 of file bytes_io_mod.F90.

Here is the call graph for this function:

◆ bytes_io_read_jpim_real4()

subroutine bytes_io_mod::bytes_io_read_jpim_real4 ( integer(kind=jpim), intent(in)  KFILE,
real(kind=jprm), intent(out)  PBUF,
integer(kind=jpim), intent(in)  KBYTES,
integer(kind=jpim), intent(out), optional  KRET 
)
private

Definition at line 210 of file bytes_io_mod.F90.

Here is the call graph for this function:

◆ bytes_io_read_jpim_real4_array()

subroutine bytes_io_mod::bytes_io_read_jpim_real4_array ( integer(kind=jpim), intent(in)  KFILE,
real(kind=jprm), dimension(:), intent(out)  PBUF,
integer(kind=jpim), intent(in)  KBYTES,
integer(kind=jpim), intent(out), optional  KRET 
)
private

Definition at line 230 of file bytes_io_mod.F90.

Here is the call graph for this function:

◆ bytes_io_read_jpim_real8()

subroutine bytes_io_mod::bytes_io_read_jpim_real8 ( integer(kind=jpim), intent(in)  KFILE,
real(kind=jprd), intent(out)  PBUF,
integer(kind=jpim), intent(in)  KBYTES,
integer(kind=jpim), intent(out), optional  KRET 
)
private

Definition at line 250 of file bytes_io_mod.F90.

Here is the call graph for this function:

◆ bytes_io_read_jpim_real8_array()

subroutine bytes_io_mod::bytes_io_read_jpim_real8_array ( integer(kind=jpim), intent(in)  KFILE,
real(kind=jprd), dimension(:), intent(out)  PBUF,
integer(kind=jpim), intent(in)  KBYTES,
integer(kind=jpim), intent(out), optional  KRET 
)
private

Definition at line 270 of file bytes_io_mod.F90.

Here is the call graph for this function:

◆ bytes_io_seek()

subroutine, public bytes_io_mod::bytes_io_seek ( integer(kind=jpim), intent(in)  KFILE,
integer(kind=jpim), intent(in)  KOFFSET,
integer(kind=jpim), intent(in)  KWHENCE,
integer(kind=jpim), intent(out), optional  KRET 
)

Definition at line 128 of file bytes_io_mod.F90.

Here is the call graph for this function:

◆ bytes_io_tell()

subroutine, public bytes_io_mod::bytes_io_tell ( integer(kind=jpim), intent(in)  KFILE,
integer(kind=jpim), intent(out), optional  KRET 
)

Definition at line 149 of file bytes_io_mod.F90.

Here is the call graph for this function:

◆ bytes_io_write_jpib_char_array()

subroutine bytes_io_mod::bytes_io_write_jpib_char_array ( integer(kind=jpim), intent(in)  KFILE,
character(len=1), dimension(:), intent(in)  CDBUF,
integer(kind=jpib), intent(in)  KBYTES,
integer(kind=jpim), intent(out), optional  KRET 
)
private

Definition at line 759 of file bytes_io_mod.F90.

Here is the call graph for this function:

◆ bytes_io_write_jpib_int()

subroutine bytes_io_mod::bytes_io_write_jpib_int ( integer(kind=jpim), intent(in)  KFILE,
integer(kind=jpim), intent(in)  PBUF,
integer(kind=jpib), intent(in)  KBYTES,
integer(kind=jpim), intent(out), optional  KRET 
)
private

Definition at line 620 of file bytes_io_mod.F90.

Here is the call graph for this function:

◆ bytes_io_write_jpib_int_array()

subroutine bytes_io_mod::bytes_io_write_jpib_int_array ( integer(kind=jpim), intent(in)  KFILE,
integer(kind=jpim), dimension(:), intent(in)  PBUF,
integer(kind=jpib), intent(in)  KBYTES,
integer(kind=jpim), intent(out), optional  KRET 
)
private

Definition at line 644 of file bytes_io_mod.F90.

Here is the call graph for this function:

◆ bytes_io_write_jpib_real4()

subroutine bytes_io_mod::bytes_io_write_jpib_real4 ( integer(kind=jpim), intent(in)  KFILE,
real(kind=jprm), intent(in)  PBUF,
integer(kind=jpib), intent(in)  KBYTES,
integer(kind=jpim), intent(out), optional  KRET 
)
private

Definition at line 668 of file bytes_io_mod.F90.

Here is the call graph for this function:

◆ bytes_io_write_jpib_real4_array()

subroutine bytes_io_mod::bytes_io_write_jpib_real4_array ( integer(kind=jpim), intent(in)  KFILE,
real(kind=jprm), dimension(:), intent(in)  PBUF,
integer(kind=jpib), intent(in)  KBYTES,
integer(kind=jpim), intent(out), optional  KRET 
)
private

Definition at line 692 of file bytes_io_mod.F90.

Here is the call graph for this function:

◆ bytes_io_write_jpib_real8()

subroutine bytes_io_mod::bytes_io_write_jpib_real8 ( integer(kind=jpim), intent(in)  KFILE,
real(kind=jprd), intent(in)  PBUF,
integer(kind=jpib), intent(in)  KBYTES,
integer(kind=jpim), intent(out), optional  KRET 
)
private

Definition at line 715 of file bytes_io_mod.F90.

Here is the call graph for this function:

◆ bytes_io_write_jpib_real8_array()

subroutine bytes_io_mod::bytes_io_write_jpib_real8_array ( integer(kind=jpim), intent(in)  KFILE,
real(kind=jprd), dimension(:), intent(in)  PBUF,
integer(kind=jpib), intent(in)  KBYTES,
integer(kind=jpim), intent(out), optional  KRET 
)
private

Definition at line 737 of file bytes_io_mod.F90.

Here is the call graph for this function:

◆ bytes_io_write_jpim_char_array()

subroutine bytes_io_mod::bytes_io_write_jpim_char_array ( integer(kind=jpim), intent(in)  KFILE,
character(len=1), dimension(:), intent(in)  CDBUF,
integer(kind=jpim), intent(inout)  KBYTES,
integer(kind=jpim), intent(out), optional  KRET 
)
private

Definition at line 453 of file bytes_io_mod.F90.

Here is the call graph for this function:

◆ bytes_io_write_jpim_int()

subroutine bytes_io_mod::bytes_io_write_jpim_int ( integer(kind=jpim), intent(in)  KFILE,
integer(kind=jpim), intent(in)  PBUF,
integer(kind=jpim), intent(in)  KBYTES,
integer(kind=jpim), intent(out), optional  KRET 
)
private

Definition at line 314 of file bytes_io_mod.F90.

Here is the call graph for this function:

◆ bytes_io_write_jpim_int_array()

subroutine bytes_io_mod::bytes_io_write_jpim_int_array ( integer(kind=jpim), intent(in)  KFILE,
integer(kind=jpim), dimension(:), intent(in)  PBUF,
integer(kind=jpim), intent(in)  KBYTES,
integer(kind=jpim), intent(out), optional  KRET 
)
private

Definition at line 338 of file bytes_io_mod.F90.

Here is the call graph for this function:

◆ bytes_io_write_jpim_real4()

subroutine bytes_io_mod::bytes_io_write_jpim_real4 ( integer(kind=jpim), intent(in)  KFILE,
real(kind=jprm), intent(in)  PBUF,
integer(kind=jpim), intent(in)  KBYTES,
integer(kind=jpim), intent(out), optional  KRET 
)
private

Definition at line 362 of file bytes_io_mod.F90.

Here is the call graph for this function:

◆ bytes_io_write_jpim_real4_array()

subroutine bytes_io_mod::bytes_io_write_jpim_real4_array ( integer(kind=jpim), intent(in)  KFILE,
real(kind=jprm), dimension(:), intent(in)  PBUF,
integer(kind=jpim), intent(in)  KBYTES,
integer(kind=jpim), intent(out), optional  KRET 
)
private

Definition at line 386 of file bytes_io_mod.F90.

Here is the call graph for this function:

◆ bytes_io_write_jpim_real8()

subroutine bytes_io_mod::bytes_io_write_jpim_real8 ( integer(kind=jpim), intent(in)  KFILE,
real(kind=jprd), intent(in)  PBUF,
integer(kind=jpim), intent(in)  KBYTES,
integer(kind=jpim), intent(out), optional  KRET 
)
private

Definition at line 409 of file bytes_io_mod.F90.

Here is the call graph for this function:

◆ bytes_io_write_jpim_real8_array()

subroutine bytes_io_mod::bytes_io_write_jpim_real8_array ( integer(kind=jpim), intent(in)  KFILE,
real(kind=jprd), dimension(:), intent(in)  PBUF,
integer(kind=jpim), intent(in)  KBYTES,
integer(kind=jpim), intent(out), optional  KRET 
)
private

Definition at line 431 of file bytes_io_mod.F90.

Here is the call graph for this function:

Variable Documentation

◆ jpbytes_io_could_not_close_file

integer, parameter bytes_io_mod::jpbytes_io_could_not_close_file =-1
private

Definition at line 77 of file bytes_io_mod.F90.

◆ jpbytes_io_could_not_open_file

integer, parameter bytes_io_mod::jpbytes_io_could_not_open_file =-1
private

Definition at line 76 of file bytes_io_mod.F90.

◆ jpbytes_io_end_of_file

integer, parameter bytes_io_mod::jpbytes_io_end_of_file =-1
private

Definition at line 80 of file bytes_io_mod.F90.

◆ jpbytes_io_invalid_file_name

integer, parameter bytes_io_mod::jpbytes_io_invalid_file_name =-2
private

Definition at line 78 of file bytes_io_mod.F90.

◆ jpbytes_io_invalid_open_mode

integer, parameter bytes_io_mod::jpbytes_io_invalid_open_mode =-3
private

Definition at line 79 of file bytes_io_mod.F90.

◆ jpbytes_io_read_jpim_error

integer, parameter bytes_io_mod::jpbytes_io_read_jpim_error =-2
private

Definition at line 82 of file bytes_io_mod.F90.

◆ jpbytes_io_seek_error

integer, parameter bytes_io_mod::jpbytes_io_seek_error =-2
private

Definition at line 81 of file bytes_io_mod.F90.

◆ jpbytes_io_success

integer, parameter, public bytes_io_mod::jpbytes_io_success =0

Definition at line 75 of file bytes_io_mod.F90.

◆ jpbytes_io_write_jpim_error

integer, parameter bytes_io_mod::jpbytes_io_write_jpim_error =-1
private

Definition at line 83 of file bytes_io_mod.F90.