PIO  2.5.4
Functions/Subroutines
Read to Distributed Arrays

The overloaded PIO_read_darray function reads a distributed array from disk in Fortran. More...

Functions/Subroutines

subroutine piodarray::read_darray_2d_real (File, varDesc, ioDesc, array, iostat)
 
subroutine piodarray::read_darray_3d_real (File, varDesc, ioDesc, array, iostat)
 
subroutine piodarray::read_darray_4d_real (File, varDesc, ioDesc, array, iostat)
 
subroutine piodarray::read_darray_5d_real (File, varDesc, ioDesc, array, iostat)
 
subroutine piodarray::read_darray_6d_real (File, varDesc, ioDesc, array, iostat)
 
subroutine piodarray::read_darray_7d_real (File, varDesc, ioDesc, array, iostat)
 
subroutine piodarray::read_darray_1d_int (File, varDesc, ioDesc, array, iostat)
 
subroutine piodarray::read_darray_2d_int (File, varDesc, ioDesc, array, iostat)
 
subroutine piodarray::read_darray_3d_int (File, varDesc, ioDesc, array, iostat)
 
subroutine piodarray::read_darray_4d_int (File, varDesc, ioDesc, array, iostat)
 
subroutine piodarray::read_darray_5d_int (File, varDesc, ioDesc, array, iostat)
 
subroutine piodarray::read_darray_6d_int (File, varDesc, ioDesc, array, iostat)
 
subroutine piodarray::read_darray_7d_int (File, varDesc, ioDesc, array, iostat)
 
subroutine piodarray::read_darray_1d_double (File, varDesc, ioDesc, array, iostat)
 
subroutine piodarray::read_darray_2d_double (File, varDesc, ioDesc, array, iostat)
 
subroutine piodarray::read_darray_3d_double (File, varDesc, ioDesc, array, iostat)
 
subroutine piodarray::read_darray_4d_double (File, varDesc, ioDesc, array, iostat)
 
subroutine piodarray::read_darray_5d_double (File, varDesc, ioDesc, array, iostat)
 
subroutine piodarray::read_darray_6d_double (File, varDesc, ioDesc, array, iostat)
 
subroutine piodarray::read_darray_7d_double (File, varDesc, ioDesc, array, iostat)
 
subroutine piodarray::read_darray_1d_short (File, varDesc, ioDesc, array, iostat)
 
subroutine piodarray::read_darray_2d_short (File, varDesc, ioDesc, array, iostat)
 
subroutine piodarray::read_darray_3d_short (File, varDesc, ioDesc, array, iostat)
 
subroutine piodarray::read_darray_4d_short (File, varDesc, ioDesc, array, iostat)
 
subroutine piodarray::read_darray_5d_short (File, varDesc, ioDesc, array, iostat)
 
subroutine piodarray::read_darray_6d_short (File, varDesc, ioDesc, array, iostat)
 
subroutine piodarray::read_darray_7d_short (File, varDesc, ioDesc, array, iostat)
 

Detailed Description

The overloaded PIO_read_darray function reads a distributed array from disk in Fortran.

Function/Subroutine Documentation

◆ read_darray_1d_double()

subroutine piodarray::read_darray_1d_double ( type (file_desc_t), intent(inout)  File,
type (var_desc_t), intent(inout)  varDesc,
type (io_desc_t), intent(inout)  ioDesc,
real(r8), dimension(:), intent(out)  array,
integer(i4), intent(out)  iostat 
)

Read distributed array of type double from a netCDF variable of 1 dimension(s).

Parameters
Filefile_desc_t
varDescvar_desc_t
ioDescio_desc_t
array: The read data
iostat: The status returned from this routine (see Error Handling for Fortran for details)
Author
Jim Edwards

◆ read_darray_1d_int()

subroutine piodarray::read_darray_1d_int ( type (file_desc_t), intent(inout)  File,
type (var_desc_t), intent(inout)  varDesc,
type (io_desc_t), intent(inout)  ioDesc,
integer(i4), dimension(:), intent(out)  array,
integer(i4), intent(out)  iostat 
)

Read distributed array of type int from a netCDF variable of 1 dimension(s).

Parameters
Filefile_desc_t
varDescvar_desc_t
ioDescio_desc_t
array: The read data
iostat: The status returned from this routine (see Error Handling for Fortran for details)
Author
Jim Edwards

◆ read_darray_1d_short()

subroutine piodarray::read_darray_1d_short ( type (file_desc_t), intent(inout)  File,
type (var_desc_t), intent(inout)  varDesc,
type (io_desc_t), intent(inout)  ioDesc,
integer(i2), dimension(:), intent(out)  array,
integer(i4), intent(out)  iostat 
)

Read distributed array of type short from a netCDF variable of 1 dimension(s).

Parameters
Filefile_desc_t
varDescvar_desc_t
ioDescio_desc_t
array: The read data
iostat: The status returned from this routine (see Error Handling for Fortran for details)
Author
Jim Edwards

◆ read_darray_2d_double()

subroutine piodarray::read_darray_2d_double ( type (file_desc_t), intent(inout)  File,
type (var_desc_t), intent(inout)  varDesc,
type (io_desc_t), intent(inout)  ioDesc,
real(r8), dimension(:,:), intent(out)  array,
integer(i4), intent(out)  iostat 
)

Read distributed array of type double from a netCDF variable of 2 dimension(s).

Parameters
Filefile_desc_t
varDescvar_desc_t
ioDescio_desc_t
array: The read data
iostat: The status returned from this routine (see Error Handling for Fortran for details)
Author
Jim Edwards

◆ read_darray_2d_int()

subroutine piodarray::read_darray_2d_int ( type (file_desc_t), intent(inout)  File,
type (var_desc_t), intent(inout)  varDesc,
type (io_desc_t), intent(inout)  ioDesc,
integer(i4), dimension(:,:), intent(out)  array,
integer(i4), intent(out)  iostat 
)

Read distributed array of type int from a netCDF variable of 2 dimension(s).

Parameters
Filefile_desc_t
varDescvar_desc_t
ioDescio_desc_t
array: The read data
iostat: The status returned from this routine (see Error Handling for Fortran for details)
Author
Jim Edwards

◆ read_darray_2d_real()

subroutine piodarray::read_darray_2d_real ( type (file_desc_t), intent(inout)  File,
type (var_desc_t), intent(inout)  varDesc,
type (io_desc_t), intent(inout)  ioDesc,
real(r4), dimension(:,:), intent(out)  array,
integer(i4), intent(out)  iostat 
)

Read distributed array of type real from a netCDF variable of 2 dimension(s).

Parameters
Filefile_desc_t
varDescvar_desc_t
ioDescio_desc_t
array: The read data
iostat: The status returned from this routine (see Error Handling for Fortran for details)
Author
Jim Edwards

◆ read_darray_2d_short()

subroutine piodarray::read_darray_2d_short ( type (file_desc_t), intent(inout)  File,
type (var_desc_t), intent(inout)  varDesc,
type (io_desc_t), intent(inout)  ioDesc,
integer(i2), dimension(:,:), intent(out)  array,
integer(i4), intent(out)  iostat 
)

Read distributed array of type short from a netCDF variable of 2 dimension(s).

Parameters
Filefile_desc_t
varDescvar_desc_t
ioDescio_desc_t
array: The read data
iostat: The status returned from this routine (see Error Handling for Fortran for details)
Author
Jim Edwards

◆ read_darray_3d_double()

subroutine piodarray::read_darray_3d_double ( type (file_desc_t), intent(inout)  File,
type (var_desc_t), intent(inout)  varDesc,
type (io_desc_t), intent(inout)  ioDesc,
real(r8), dimension(:,:,:), intent(out)  array,
integer(i4), intent(out)  iostat 
)

Read distributed array of type double from a netCDF variable of 3 dimension(s).

Parameters
Filefile_desc_t
varDescvar_desc_t
ioDescio_desc_t
array: The read data
iostat: The status returned from this routine (see Error Handling for Fortran for details)
Author
Jim Edwards

◆ read_darray_3d_int()

subroutine piodarray::read_darray_3d_int ( type (file_desc_t), intent(inout)  File,
type (var_desc_t), intent(inout)  varDesc,
type (io_desc_t), intent(inout)  ioDesc,
integer(i4), dimension(:,:,:), intent(out)  array,
integer(i4), intent(out)  iostat 
)

Read distributed array of type int from a netCDF variable of 3 dimension(s).

Parameters
Filefile_desc_t
varDescvar_desc_t
ioDescio_desc_t
array: The read data
iostat: The status returned from this routine (see Error Handling for Fortran for details)
Author
Jim Edwards

◆ read_darray_3d_real()

subroutine piodarray::read_darray_3d_real ( type (file_desc_t), intent(inout)  File,
type (var_desc_t), intent(inout)  varDesc,
type (io_desc_t), intent(inout)  ioDesc,
real(r4), dimension(:,:,:), intent(out)  array,
integer(i4), intent(out)  iostat 
)

Read distributed array of type real from a netCDF variable of 3 dimension(s).

Parameters
Filefile_desc_t
varDescvar_desc_t
ioDescio_desc_t
array: The read data
iostat: The status returned from this routine (see Error Handling for Fortran for details)
Author
Jim Edwards

◆ read_darray_3d_short()

subroutine piodarray::read_darray_3d_short ( type (file_desc_t), intent(inout)  File,
type (var_desc_t), intent(inout)  varDesc,
type (io_desc_t), intent(inout)  ioDesc,
integer(i2), dimension(:,:,:), intent(out)  array,
integer(i4), intent(out)  iostat 
)

Read distributed array of type short from a netCDF variable of 3 dimension(s).

Parameters
Filefile_desc_t
varDescvar_desc_t
ioDescio_desc_t
array: The read data
iostat: The status returned from this routine (see Error Handling for Fortran for details)
Author
Jim Edwards

◆ read_darray_4d_double()

subroutine piodarray::read_darray_4d_double ( type (file_desc_t), intent(inout)  File,
type (var_desc_t), intent(inout)  varDesc,
type (io_desc_t), intent(inout)  ioDesc,
real(r8), dimension(:,:,:,:), intent(out)  array,
integer(i4), intent(out)  iostat 
)

Read distributed array of type double from a netCDF variable of 4 dimension(s).

Parameters
Filefile_desc_t
varDescvar_desc_t
ioDescio_desc_t
array: The read data
iostat: The status returned from this routine (see Error Handling for Fortran for details)
Author
Jim Edwards

◆ read_darray_4d_int()

subroutine piodarray::read_darray_4d_int ( type (file_desc_t), intent(inout)  File,
type (var_desc_t), intent(inout)  varDesc,
type (io_desc_t), intent(inout)  ioDesc,
integer(i4), dimension(:,:,:,:), intent(out)  array,
integer(i4), intent(out)  iostat 
)

Read distributed array of type int from a netCDF variable of 4 dimension(s).

Parameters
Filefile_desc_t
varDescvar_desc_t
ioDescio_desc_t
array: The read data
iostat: The status returned from this routine (see Error Handling for Fortran for details)
Author
Jim Edwards

◆ read_darray_4d_real()

subroutine piodarray::read_darray_4d_real ( type (file_desc_t), intent(inout)  File,
type (var_desc_t), intent(inout)  varDesc,
type (io_desc_t), intent(inout)  ioDesc,
real(r4), dimension(:,:,:,:), intent(out)  array,
integer(i4), intent(out)  iostat 
)

Read distributed array of type real from a netCDF variable of 4 dimension(s).

Parameters
Filefile_desc_t
varDescvar_desc_t
ioDescio_desc_t
array: The read data
iostat: The status returned from this routine (see Error Handling for Fortran for details)
Author
Jim Edwards

◆ read_darray_4d_short()

subroutine piodarray::read_darray_4d_short ( type (file_desc_t), intent(inout)  File,
type (var_desc_t), intent(inout)  varDesc,
type (io_desc_t), intent(inout)  ioDesc,
integer(i2), dimension(:,:,:,:), intent(out)  array,
integer(i4), intent(out)  iostat 
)

Read distributed array of type short from a netCDF variable of 4 dimension(s).

Parameters
Filefile_desc_t
varDescvar_desc_t
ioDescio_desc_t
array: The read data
iostat: The status returned from this routine (see Error Handling for Fortran for details)
Author
Jim Edwards

◆ read_darray_5d_double()

subroutine piodarray::read_darray_5d_double ( type (file_desc_t), intent(inout)  File,
type (var_desc_t), intent(inout)  varDesc,
type (io_desc_t), intent(inout)  ioDesc,
real(r8), dimension(:,:,:,:,:), intent(out)  array,
integer(i4), intent(out)  iostat 
)

Read distributed array of type double from a netCDF variable of 5 dimension(s).

Parameters
Filefile_desc_t
varDescvar_desc_t
ioDescio_desc_t
array: The read data
iostat: The status returned from this routine (see Error Handling for Fortran for details)
Author
Jim Edwards

◆ read_darray_5d_int()

subroutine piodarray::read_darray_5d_int ( type (file_desc_t), intent(inout)  File,
type (var_desc_t), intent(inout)  varDesc,
type (io_desc_t), intent(inout)  ioDesc,
integer(i4), dimension(:,:,:,:,:), intent(out)  array,
integer(i4), intent(out)  iostat 
)

Read distributed array of type int from a netCDF variable of 5 dimension(s).

Parameters
Filefile_desc_t
varDescvar_desc_t
ioDescio_desc_t
array: The read data
iostat: The status returned from this routine (see Error Handling for Fortran for details)
Author
Jim Edwards

◆ read_darray_5d_real()

subroutine piodarray::read_darray_5d_real ( type (file_desc_t), intent(inout)  File,
type (var_desc_t), intent(inout)  varDesc,
type (io_desc_t), intent(inout)  ioDesc,
real(r4), dimension(:,:,:,:,:), intent(out)  array,
integer(i4), intent(out)  iostat 
)

Read distributed array of type real from a netCDF variable of 5 dimension(s).

Parameters
Filefile_desc_t
varDescvar_desc_t
ioDescio_desc_t
array: The read data
iostat: The status returned from this routine (see Error Handling for Fortran for details)
Author
Jim Edwards

◆ read_darray_5d_short()

subroutine piodarray::read_darray_5d_short ( type (file_desc_t), intent(inout)  File,
type (var_desc_t), intent(inout)  varDesc,
type (io_desc_t), intent(inout)  ioDesc,
integer(i2), dimension(:,:,:,:,:), intent(out)  array,
integer(i4), intent(out)  iostat 
)

Read distributed array of type short from a netCDF variable of 5 dimension(s).

Parameters
Filefile_desc_t
varDescvar_desc_t
ioDescio_desc_t
array: The read data
iostat: The status returned from this routine (see Error Handling for Fortran for details)
Author
Jim Edwards

◆ read_darray_6d_double()

subroutine piodarray::read_darray_6d_double ( type (file_desc_t), intent(inout)  File,
type (var_desc_t), intent(inout)  varDesc,
type (io_desc_t), intent(inout)  ioDesc,
real(r8), dimension(:,:,:,:,:,:), intent(out)  array,
integer(i4), intent(out)  iostat 
)

Read distributed array of type double from a netCDF variable of 6 dimension(s).

Parameters
Filefile_desc_t
varDescvar_desc_t
ioDescio_desc_t
array: The read data
iostat: The status returned from this routine (see Error Handling for Fortran for details)
Author
Jim Edwards

◆ read_darray_6d_int()

subroutine piodarray::read_darray_6d_int ( type (file_desc_t), intent(inout)  File,
type (var_desc_t), intent(inout)  varDesc,
type (io_desc_t), intent(inout)  ioDesc,
integer(i4), dimension(:,:,:,:,:,:), intent(out)  array,
integer(i4), intent(out)  iostat 
)

Read distributed array of type int from a netCDF variable of 6 dimension(s).

Parameters
Filefile_desc_t
varDescvar_desc_t
ioDescio_desc_t
array: The read data
iostat: The status returned from this routine (see Error Handling for Fortran for details)
Author
Jim Edwards

◆ read_darray_6d_real()

subroutine piodarray::read_darray_6d_real ( type (file_desc_t), intent(inout)  File,
type (var_desc_t), intent(inout)  varDesc,
type (io_desc_t), intent(inout)  ioDesc,
real(r4), dimension(:,:,:,:,:,:), intent(out)  array,
integer(i4), intent(out)  iostat 
)

Read distributed array of type real from a netCDF variable of 6 dimension(s).

Parameters
Filefile_desc_t
varDescvar_desc_t
ioDescio_desc_t
array: The read data
iostat: The status returned from this routine (see Error Handling for Fortran for details)
Author
Jim Edwards

◆ read_darray_6d_short()

subroutine piodarray::read_darray_6d_short ( type (file_desc_t), intent(inout)  File,
type (var_desc_t), intent(inout)  varDesc,
type (io_desc_t), intent(inout)  ioDesc,
integer(i2), dimension(:,:,:,:,:,:), intent(out)  array,
integer(i4), intent(out)  iostat 
)

Read distributed array of type short from a netCDF variable of 6 dimension(s).

Parameters
Filefile_desc_t
varDescvar_desc_t
ioDescio_desc_t
array: The read data
iostat: The status returned from this routine (see Error Handling for Fortran for details)
Author
Jim Edwards

◆ read_darray_7d_double()

subroutine piodarray::read_darray_7d_double ( type (file_desc_t), intent(inout)  File,
type (var_desc_t), intent(inout)  varDesc,
type (io_desc_t), intent(inout)  ioDesc,
real(r8), dimension(:,:,:,:,:,:,:), intent(out)  array,
integer(i4), intent(out)  iostat 
)

Read distributed array of type double from a netCDF variable of 7 dimension(s).

Parameters
Filefile_desc_t
varDescvar_desc_t
ioDescio_desc_t
array: The read data
iostat: The status returned from this routine (see Error Handling for Fortran for details)
Author
Jim Edwards

◆ read_darray_7d_int()

subroutine piodarray::read_darray_7d_int ( type (file_desc_t), intent(inout)  File,
type (var_desc_t), intent(inout)  varDesc,
type (io_desc_t), intent(inout)  ioDesc,
integer(i4), dimension(:,:,:,:,:,:,:), intent(out)  array,
integer(i4), intent(out)  iostat 
)

Read distributed array of type int from a netCDF variable of 7 dimension(s).

Parameters
Filefile_desc_t
varDescvar_desc_t
ioDescio_desc_t
array: The read data
iostat: The status returned from this routine (see Error Handling for Fortran for details)
Author
Jim Edwards

◆ read_darray_7d_real()

subroutine piodarray::read_darray_7d_real ( type (file_desc_t), intent(inout)  File,
type (var_desc_t), intent(inout)  varDesc,
type (io_desc_t), intent(inout)  ioDesc,
real(r4), dimension(:,:,:,:,:,:,:), intent(out)  array,
integer(i4), intent(out)  iostat 
)

Read distributed array of type real from a netCDF variable of 7 dimension(s).

Parameters
Filefile_desc_t
varDescvar_desc_t
ioDescio_desc_t
array: The read data
iostat: The status returned from this routine (see Error Handling for Fortran for details)
Author
Jim Edwards

◆ read_darray_7d_short()

subroutine piodarray::read_darray_7d_short ( type (file_desc_t), intent(inout)  File,
type (var_desc_t), intent(inout)  varDesc,
type (io_desc_t), intent(inout)  ioDesc,
integer(i2), dimension(:,:,:,:,:,:,:), intent(out)  array,
integer(i4), intent(out)  iostat 
)

Read distributed array of type short from a netCDF variable of 7 dimension(s).

Parameters
Filefile_desc_t
varDescvar_desc_t
ioDescio_desc_t
array: The read data
iostat: The status returned from this routine (see Error Handling for Fortran for details)
Author
Jim Edwards