public interface from_file
Subroutine for reading an external file of uniform numeric data type and format into an array.
For a user reference, see from_file.
Subroutines
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
character(len=*),
|
intent(in) |
|
|
:: |
file |
|
complex(kind=r128),
|
intent(out), |
|
allocatable
|
:: |
into(..) |
|
logical,
|
intent(in), |
optional, |
target
|
:: |
header |
|
character(len=*),
|
intent(in), |
optional, |
target
|
:: |
locale |
|
character(len=*),
|
intent(in), |
optional, |
target
|
:: |
delim |
|
character(len=*),
|
intent(in), |
optional, |
target
|
:: |
fmt |
|
character(len=*),
|
intent(in), |
optional, |
target
|
:: |
im |
|
integer,
|
intent(out), |
optional, |
target
|
:: |
stat |
|
character(len=*),
|
intent(out), |
optional, |
target
|
:: |
errmsg |
|
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
character(len=*),
|
intent(in) |
|
|
:: |
file |
|
complex(kind=r64),
|
intent(out), |
|
allocatable
|
:: |
into(..) |
|
logical,
|
intent(in), |
optional, |
target
|
:: |
header |
|
character(len=*),
|
intent(in), |
optional, |
target
|
:: |
locale |
|
character(len=*),
|
intent(in), |
optional, |
target
|
:: |
delim |
|
character(len=*),
|
intent(in), |
optional, |
target
|
:: |
fmt |
|
character(len=*),
|
intent(in), |
optional, |
target
|
:: |
im |
|
integer,
|
intent(out), |
optional, |
target
|
:: |
stat |
|
character(len=*),
|
intent(out), |
optional, |
target
|
:: |
errmsg |
|
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
character(len=*),
|
intent(in) |
|
|
:: |
file |
|
complex(kind=r32),
|
intent(out), |
|
allocatable
|
:: |
into(..) |
|
logical,
|
intent(in), |
optional, |
target
|
:: |
header |
|
character(len=*),
|
intent(in), |
optional, |
target
|
:: |
locale |
|
character(len=*),
|
intent(in), |
optional, |
target
|
:: |
delim |
|
character(len=*),
|
intent(in), |
optional, |
target
|
:: |
fmt |
|
character(len=*),
|
intent(in), |
optional, |
target
|
:: |
im |
|
integer,
|
intent(out), |
optional, |
target
|
:: |
stat |
|
character(len=*),
|
intent(out), |
optional, |
target
|
:: |
errmsg |
|
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
character(len=*),
|
intent(in) |
|
|
:: |
file |
|
complex(kind=r128),
|
intent(out), |
|
allocatable
|
:: |
into(..) |
|
integer,
|
intent(in) |
|
|
:: |
data_shape(:) |
|
integer,
|
intent(out), |
optional, |
target
|
:: |
stat |
|
character(len=*),
|
intent(out), |
optional, |
target
|
:: |
errmsg |
|
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
character(len=*),
|
intent(in) |
|
|
:: |
file |
|
complex(kind=r64),
|
intent(out), |
|
allocatable
|
:: |
into(..) |
|
integer,
|
intent(in) |
|
|
:: |
data_shape(:) |
|
integer,
|
intent(out), |
optional, |
target
|
:: |
stat |
|
character(len=*),
|
intent(out), |
optional, |
target
|
:: |
errmsg |
|
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
character(len=*),
|
intent(in) |
|
|
:: |
file |
|
complex(kind=r32),
|
intent(out), |
|
allocatable
|
:: |
into(..) |
|
integer,
|
intent(in) |
|
|
:: |
data_shape(:) |
|
integer,
|
intent(out), |
optional, |
target
|
:: |
stat |
|
character(len=*),
|
intent(out), |
optional, |
target
|
:: |
errmsg |
|
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
character(len=*),
|
intent(in) |
|
|
:: |
file |
|
real(kind=r128),
|
intent(out), |
|
allocatable
|
:: |
into(..) |
|
logical,
|
intent(in), |
optional, |
target
|
:: |
header |
|
character(len=*),
|
intent(in), |
optional, |
target
|
:: |
locale |
|
character(len=*),
|
intent(in), |
optional, |
target
|
:: |
delim |
|
character(len=*),
|
intent(in), |
optional, |
target
|
:: |
fmt |
|
integer,
|
intent(out), |
optional, |
target
|
:: |
stat |
|
character(len=*),
|
intent(out), |
optional, |
target
|
:: |
errmsg |
|
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
character(len=*),
|
intent(in) |
|
|
:: |
file |
|
real(kind=r64),
|
intent(out), |
|
allocatable
|
:: |
into(..) |
|
logical,
|
intent(in), |
optional, |
target
|
:: |
header |
|
character(len=*),
|
intent(in), |
optional, |
target
|
:: |
locale |
|
character(len=*),
|
intent(in), |
optional, |
target
|
:: |
delim |
|
character(len=*),
|
intent(in), |
optional, |
target
|
:: |
fmt |
|
integer,
|
intent(out), |
optional, |
target
|
:: |
stat |
|
character(len=*),
|
intent(out), |
optional, |
target
|
:: |
errmsg |
|
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
character(len=*),
|
intent(in) |
|
|
:: |
file |
|
real(kind=r32),
|
intent(out), |
|
allocatable
|
:: |
into(..) |
|
logical,
|
intent(in), |
optional, |
target
|
:: |
header |
|
character(len=*),
|
intent(in), |
optional, |
target
|
:: |
locale |
|
character(len=*),
|
intent(in), |
optional, |
target
|
:: |
delim |
|
character(len=*),
|
intent(in), |
optional, |
target
|
:: |
fmt |
|
integer,
|
intent(out), |
optional, |
target
|
:: |
stat |
|
character(len=*),
|
intent(out), |
optional, |
target
|
:: |
errmsg |
|
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
character(len=*),
|
intent(in) |
|
|
:: |
file |
|
real(kind=r128),
|
intent(out), |
|
allocatable
|
:: |
into(..) |
|
integer,
|
intent(in) |
|
|
:: |
data_shape(:) |
|
integer,
|
intent(out), |
optional, |
target
|
:: |
stat |
|
character(len=*),
|
intent(out), |
optional, |
target
|
:: |
errmsg |
|
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
character(len=*),
|
intent(in) |
|
|
:: |
file |
|
real(kind=r64),
|
intent(out), |
|
allocatable
|
:: |
into(..) |
|
integer,
|
intent(in) |
|
|
:: |
data_shape(:) |
|
integer,
|
intent(out), |
optional, |
target
|
:: |
stat |
|
character(len=*),
|
intent(out), |
optional, |
target
|
:: |
errmsg |
|
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
character(len=*),
|
intent(in) |
|
|
:: |
file |
|
real(kind=r32),
|
intent(out), |
|
allocatable
|
:: |
into(..) |
|
integer,
|
intent(in) |
|
|
:: |
data_shape(:) |
|
integer,
|
intent(out), |
optional, |
target
|
:: |
stat |
|
character(len=*),
|
intent(out), |
optional, |
target
|
:: |
errmsg |
|
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
character(len=*),
|
intent(in) |
|
|
:: |
file |
|
integer(kind=i64),
|
intent(out), |
|
allocatable
|
:: |
into(..) |
|
logical,
|
intent(in), |
optional, |
target
|
:: |
header |
|
character(len=*),
|
intent(in), |
optional, |
target
|
:: |
delim |
|
character(len=*),
|
intent(in), |
optional, |
target
|
:: |
fmt |
|
integer,
|
intent(out), |
optional, |
target
|
:: |
stat |
|
character(len=*),
|
intent(out), |
optional, |
target
|
:: |
errmsg |
|
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
character(len=*),
|
intent(in) |
|
|
:: |
file |
|
integer(kind=i32),
|
intent(out), |
|
allocatable
|
:: |
into(..) |
|
logical,
|
intent(in), |
optional, |
target
|
:: |
header |
|
character(len=*),
|
intent(in), |
optional, |
target
|
:: |
delim |
|
character(len=*),
|
intent(in), |
optional, |
target
|
:: |
fmt |
|
integer,
|
intent(out), |
optional, |
target
|
:: |
stat |
|
character(len=*),
|
intent(out), |
optional, |
target
|
:: |
errmsg |
|
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
character(len=*),
|
intent(in) |
|
|
:: |
file |
|
integer(kind=i16),
|
intent(out), |
|
allocatable
|
:: |
into(..) |
|
logical,
|
intent(in), |
optional, |
target
|
:: |
header |
|
character(len=*),
|
intent(in), |
optional, |
target
|
:: |
delim |
|
character(len=*),
|
intent(in), |
optional, |
target
|
:: |
fmt |
|
integer,
|
intent(out), |
optional, |
target
|
:: |
stat |
|
character(len=*),
|
intent(out), |
optional, |
target
|
:: |
errmsg |
|
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
character(len=*),
|
intent(in) |
|
|
:: |
file |
|
integer(kind=i8),
|
intent(out), |
|
allocatable
|
:: |
into(..) |
|
logical,
|
intent(in), |
optional, |
target
|
:: |
header |
|
character(len=*),
|
intent(in), |
optional, |
target
|
:: |
delim |
|
character(len=*),
|
intent(in), |
optional, |
target
|
:: |
fmt |
|
integer,
|
intent(out), |
optional, |
target
|
:: |
stat |
|
character(len=*),
|
intent(out), |
optional, |
target
|
:: |
errmsg |
|
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
character(len=*),
|
intent(in) |
|
|
:: |
file |
|
integer(kind=i64),
|
intent(out), |
|
allocatable
|
:: |
into(..) |
|
integer,
|
intent(in) |
|
|
:: |
data_shape(:) |
|
integer,
|
intent(out), |
optional, |
target
|
:: |
stat |
|
character(len=*),
|
intent(out), |
optional, |
target
|
:: |
errmsg |
|
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
character(len=*),
|
intent(in) |
|
|
:: |
file |
|
integer(kind=i32),
|
intent(out), |
|
allocatable
|
:: |
into(..) |
|
integer,
|
intent(in) |
|
|
:: |
data_shape(:) |
|
integer,
|
intent(out), |
optional, |
target
|
:: |
stat |
|
character(len=*),
|
intent(out), |
optional, |
target
|
:: |
errmsg |
|
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
character(len=*),
|
intent(in) |
|
|
:: |
file |
|
integer(kind=i16),
|
intent(out), |
|
allocatable
|
:: |
into(..) |
|
integer,
|
intent(in) |
|
|
:: |
data_shape(:) |
|
integer,
|
intent(out), |
optional, |
target
|
:: |
stat |
|
character(len=*),
|
intent(out), |
optional, |
target
|
:: |
errmsg |
|
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
character(len=*),
|
intent(in) |
|
|
:: |
file |
|
integer(kind=i8),
|
intent(out), |
|
allocatable
|
:: |
into(..) |
|
integer,
|
intent(in) |
|
|
:: |
data_shape(:) |
|
integer,
|
intent(out), |
optional, |
target
|
:: |
stat |
|
character(len=*),
|
intent(out), |
optional, |
target
|
:: |
errmsg |
|