Go to the documentation of this file.
18 #include "scale_file_const.h"
62 integer :: dim_size(rank_max)
64 logical(c_bool) :: has_tdim
65 real(
dp) :: time_start
71 integer :: att_type(att_max)
72 integer :: att_len (att_max)
80 data file_dtypelist /
"REAL4",
"REAL8",
"INTEGER2",
"INTEGER4",
"INTEGER8" /
86 module procedure fstr1
87 module procedure fstr2
94 character(*),
intent(in) :: str
95 character(:,c_char),
allocatable,
target ::
cstr
96 cstr = trim(str) // c_null_char
100 character(len=*),
intent(inout) :: str
103 if ( str(i:i) == c_null_char )
exit
111 subroutine fstr2(fstr, cstr)
112 character(len=*),
intent(out) :: fstr
113 character(c_char),
intent(in) ::
cstr(:)
116 if (
cstr(i) == c_null_char )
exit
integer, parameter, public file_real4
integer, parameter, public file_integer8
integer, parameter, public file_hlong
integer, parameter, public file_already_closed_code
integer, parameter, public file_integer2
character(len=file_hshort), dimension(0:4), public file_dtypelist
integer, parameter, public file_hmid
real(dp), parameter, public file_rmiss
integer, dimension(0:3), parameter, public file_preclist
integer, parameter, public file_hshort
integer, parameter, public file_rank_max
integer, parameter, public file_already_existed_code
integer, parameter, public file_text
integer, parameter, public dp
integer, parameter, public file_fappend
integer, parameter, public file_error_code
integer, parameter, public file_fread
integer, parameter, public file_success_code
integer, parameter, public file_var_max
character(:, c_char) function, allocatable, target, public cstr(str)
integer, parameter, public file_integer4
integer, parameter, public file_file_max
integer, parameter, public file_real8
integer, parameter, public file_fwrite