SCALE-RM
Data Types | Functions/Subroutines | Variables
scale_file_h Module Reference

module file_h More...

Data Types

type  datainfo
 

Functions/Subroutines

character(:, c_char) function, allocatable, target, public cstr (str)
 

Variables

integer, parameter, public file_hshort = File_HSHORT
 
integer, parameter, public file_hmid = File_HMID
 
integer, parameter, public file_hlong = File_HLONG
 
integer, parameter, public file_real4 = File_REAL4
 
integer, parameter, public file_real8 = File_REAL8
 
integer, parameter, public file_integer2 = File_INTEGER2
 
integer, parameter, public file_integer4 = File_INTEGER4
 
integer, parameter, public file_integer8 = File_INTEGER8
 
integer, parameter, public file_text = File_TEXT
 
integer, parameter, public file_fread = File_FREAD
 
integer, parameter, public file_fwrite = File_FWRITE
 
integer, parameter, public file_fappend = File_FAPPEND
 
integer, parameter, public file_error_code = ERROR_CODE
 
integer, parameter, public file_success_code = SUCCESS_CODE
 
integer, parameter, public file_already_closed_code = ALREADY_CLOSED_CODE
 
integer, parameter, public file_already_existed_code = ALREADY_EXISTED_CODE
 
integer, parameter, public file_file_max = FILE_MAX
 
integer, parameter, public file_var_max = VAR_MAX
 
integer, parameter, public file_rank_max = RANK_MAX
 
real(dp), parameter, public file_rmiss = DBL(RMISS)_DP
 
integer, dimension(0:3), parameter, public file_preclist = (/ 4, 8, 4, 8 /)
 
character(len=file_hshort), dimension(0:4), public file_dtypelist
 

Detailed Description

module file_h

Description
header information for FILE module
Author
Team SCALE

Function/Subroutine Documentation

◆ cstr()

character(:,c_char) function, allocatable, target, public scale_file_h::cstr ( character(*), intent(in)  str)

Definition at line 94 of file scale_file_h.F90.

94  character(*), intent(in) :: str
95  character(:,c_char), allocatable, target :: cstr
96  cstr = trim(str) // c_null_char

Referenced by scale_file::file_add_associatedvariable(), scale_file::file_create(), scale_file::file_def_axis(), scale_file::file_get_dimlength(), and scale_file::file_set_option().

Here is the caller graph for this function:

Variable Documentation

◆ file_hshort

integer, parameter, public scale_file_h::file_hshort = File_HSHORT

Definition at line 21 of file scale_file_h.F90.

21  integer, public, parameter :: FILE_HSHORT = file_hshort

Referenced by scale_file_history_cartesc::file_history_cartesc_setup().

◆ file_hmid

integer, parameter, public scale_file_h::file_hmid = File_HMID

Definition at line 22 of file scale_file_h.F90.

22  integer, public, parameter :: FILE_HMID = file_hmid

◆ file_hlong

integer, parameter, public scale_file_h::file_hlong = File_HLONG

Definition at line 23 of file scale_file_h.F90.

23  integer, public, parameter :: FILE_HLONG = file_hlong

◆ file_real4

integer, parameter, public scale_file_h::file_real4 = File_REAL4

◆ file_real8

integer, parameter, public scale_file_h::file_real8 = File_REAL8

◆ file_integer2

integer, parameter, public scale_file_h::file_integer2 = File_INTEGER2

Definition at line 28 of file scale_file_h.F90.

28  integer, public, parameter :: FILE_INTEGER2 = file_integer2

◆ file_integer4

integer, parameter, public scale_file_h::file_integer4 = File_INTEGER4

Definition at line 29 of file scale_file_h.F90.

29  integer, public, parameter :: FILE_INTEGER4 = file_integer4

◆ file_integer8

integer, parameter, public scale_file_h::file_integer8 = File_INTEGER8

Definition at line 30 of file scale_file_h.F90.

30  integer, public, parameter :: FILE_INTEGER8 = file_integer8

◆ file_text

integer, parameter, public scale_file_h::file_text = File_TEXT

Definition at line 31 of file scale_file_h.F90.

31  integer, public, parameter :: FILE_TEXT = file_text

◆ file_fread

integer, parameter, public scale_file_h::file_fread = File_FREAD

◆ file_fwrite

integer, parameter, public scale_file_h::file_fwrite = File_FWRITE

Definition at line 35 of file scale_file_h.F90.

35  integer, public, parameter :: FILE_FWRITE = file_fwrite

Referenced by scale_file::file_create().

◆ file_fappend

integer, parameter, public scale_file_h::file_fappend = File_FAPPEND

Definition at line 36 of file scale_file_h.F90.

36  integer, public, parameter :: FILE_FAPPEND = file_fappend

Referenced by scale_file::file_create().

◆ file_error_code

integer, parameter, public scale_file_h::file_error_code = ERROR_CODE

Definition at line 39 of file scale_file_h.F90.

39  integer, public, parameter :: FILE_ERROR_CODE = error_code

◆ file_success_code

integer, parameter, public scale_file_h::file_success_code = SUCCESS_CODE

Definition at line 40 of file scale_file_h.F90.

40  integer, public, parameter :: FILE_SUCCESS_CODE = success_code

Referenced by scale_file::file_add_associatedvariable(), scale_file::file_create(), scale_file::file_def_axis(), scale_file::file_get_dimlength(), and scale_file::file_set_option().

◆ file_already_closed_code

integer, parameter, public scale_file_h::file_already_closed_code = ALREADY_CLOSED_CODE

Definition at line 41 of file scale_file_h.F90.

41  integer, public, parameter :: FILE_ALREADY_CLOSED_CODE = already_closed_code

◆ file_already_existed_code

integer, parameter, public scale_file_h::file_already_existed_code = ALREADY_EXISTED_CODE

Definition at line 42 of file scale_file_h.F90.

42  integer, public, parameter :: FILE_ALREADY_EXISTED_CODE = already_existed_code

Referenced by scale_file::file_add_associatedvariable(), scale_file::file_def_axis(), and scale_file::file_get_dimlength().

◆ file_file_max

integer, parameter, public scale_file_h::file_file_max = FILE_MAX

Definition at line 45 of file scale_file_h.F90.

45  integer, public, parameter :: FILE_FILE_MAX = file_max

Referenced by scale_file::file_setup().

◆ file_var_max

integer, parameter, public scale_file_h::file_var_max = VAR_MAX

Definition at line 46 of file scale_file_h.F90.

46  integer, public, parameter :: FILE_VAR_MAX = var_max

◆ file_rank_max

integer, parameter, public scale_file_h::file_rank_max = RANK_MAX

Definition at line 47 of file scale_file_h.F90.

47  integer, public, parameter :: FILE_RANK_MAX = rank_max

◆ file_rmiss

real(dp), parameter, public scale_file_h::file_rmiss = DBL(RMISS)_DP

◆ file_preclist

integer, dimension(0:3), parameter, public scale_file_h::file_preclist = (/ 4, 8, 4, 8 /)

Definition at line 76 of file scale_file_h.F90.

76  integer, public, parameter :: FILE_preclist(0:3) = (/ 4, 8, 4, 8 /)

◆ file_dtypelist

character(len=file_hshort), dimension(0:4), public scale_file_h::file_dtypelist

Definition at line 78 of file scale_file_h.F90.

78  character(len=FILE_HSHORT), public :: FILE_dtypelist(0:4)

Referenced by scale_file_history::file_history_finalize().

scale_file_h::file_fread
integer, parameter, public file_fread
Definition: scale_file_h.F90:34