5.13.3-dev0
mHM
The mesoscale Hydrological Model
Loading...
Searching...
No Matches
mo_mpr_restart::unpack_field_and_write Interface Reference

unpack parameter fields and write them to file More...

Public Member Functions

subroutine unpack_field_and_write_1d_i4 (nc, var_name, var_dims, fill_value, data, mask, var_long_name)
 unpack parameter fields and write them to file
 
subroutine unpack_field_and_write_1d_dp (nc, var_name, var_dims, fill_value, data, mask, var_long_name)
 unpack parameter fields and write them to file
 
subroutine unpack_field_and_write_2d_dp (nc, var_name, var_dims, fill_value, data, mask, var_long_name)
 unpack parameter fields and write them to file
 
subroutine unpack_field_and_write_3d_dp (nc, var_name, var_dims, fill_value, data, mask, var_long_name)
 unpack parameter fields and write them to file
 

Detailed Description

unpack parameter fields and write them to file

Parameters
[in,out]type(NcDataset) :: ncNcDataset to add variable to
[in]character(*) :: var_namevariable name
[in]type(NcDimension), dimension(:) :: var_dimsvector of Variable dimensions
[in]integer(i4) :: fill_valuefill value used for missing values
[in]integer(i4/dp), dimension(...) :: datapacked data to be set to variable
[in]logical, dimension(:, :) :: maskmask used for unpacking
[in]character(*), optional :: var_long_namevariable long name attribute
Authors
Robert Schweppe
Date
Jun 2018

Definition at line 40 of file mo_mpr_restart.f90.

Member Function/Subroutine Documentation

◆ unpack_field_and_write_1d_dp()

subroutine mo_mpr_restart::unpack_field_and_write::unpack_field_and_write_1d_dp ( type(ncdataset), intent(inout) nc,
character(*), intent(in) var_name,
type(ncdimension), dimension(:), intent(in) var_dims,
real(dp), intent(in) fill_value,
real(dp), dimension(:), intent(in) data,
logical, dimension(:, :), intent(in) mask,
character(*), intent(in), optional var_long_name )

unpack parameter fields and write them to file

Parameters
[in,out]type(NcDataset) :: ncNcDataset to add variable to
[in]character(*) :: var_namevariable name
[in]type(NcDimension), dimension(:) :: var_dimsvector of Variable dimensions
[in]integer(i4) :: fill_valuefill value used for missing values
[in]integer(i4/dp), dimension(...) :: datapacked data to be set to variable
[in]logical, dimension(:, :) :: maskmask used for unpacking
[in]character(*), optional :: var_long_namevariable long name attribute
Authors
Robert Schweppe
Date
Jun 2018

Definition at line 393 of file mo_mpr_restart.f90.

◆ unpack_field_and_write_1d_i4()

subroutine mo_mpr_restart::unpack_field_and_write::unpack_field_and_write_1d_i4 ( type(ncdataset), intent(inout) nc,
character(*), intent(in) var_name,
type(ncdimension), dimension(:), intent(in) var_dims,
integer(i4), intent(in) fill_value,
integer(i4), dimension(:), intent(in) data,
logical, dimension(:, :), intent(in) mask,
character(*), intent(in), optional var_long_name )

unpack parameter fields and write them to file

Parameters
[in,out]type(NcDataset) :: ncNcDataset to add variable to
[in]character(*) :: var_namevariable name
[in]type(NcDimension), dimension(:) :: var_dimsvector of Variable dimensions
[in]integer(i4) :: fill_valuefill value used for missing values
[in]integer(i4/dp), dimension(...) :: datapacked data to be set to variable
[in]logical, dimension(:, :) :: maskmask used for unpacking
[in]character(*), optional :: var_long_namevariable long name attribute
Authors
Robert Schweppe
Date
Jun 2018

Definition at line 347 of file mo_mpr_restart.f90.

◆ unpack_field_and_write_2d_dp()

subroutine mo_mpr_restart::unpack_field_and_write::unpack_field_and_write_2d_dp ( type(ncdataset), intent(inout) nc,
character(*), intent(in) var_name,
type(ncdimension), dimension(:), intent(in) var_dims,
real(dp), intent(in) fill_value,
real(dp), dimension(:, :), intent(in) data,
logical, dimension(:, :), intent(in) mask,
character(*), intent(in), optional var_long_name )

unpack parameter fields and write them to file

Parameters
[in,out]type(NcDataset) :: ncNcDataset to add variable to
[in]character(*) :: var_namevariable name
[in]type(NcDimension), dimension(:) :: var_dimsvector of Variable dimensions
[in]integer(i4) :: fill_valuefill value used for missing values
[in]integer(i4/dp), dimension(...) :: datapacked data to be set to variable
[in]logical, dimension(:, :) :: maskmask used for unpacking
[in]character(*), optional :: var_long_namevariable long name attribute
Authors
Robert Schweppe
Date
Jun 2018

Definition at line 439 of file mo_mpr_restart.f90.

◆ unpack_field_and_write_3d_dp()

subroutine mo_mpr_restart::unpack_field_and_write::unpack_field_and_write_3d_dp ( type(ncdataset), intent(inout) nc,
character(*), intent(in) var_name,
type(ncdimension), dimension(:), intent(in) var_dims,
real(dp), intent(in) fill_value,
real(dp), dimension(:, :, :), intent(in) data,
logical, dimension(:, :), intent(in) mask,
character(*), intent(in), optional var_long_name )

unpack parameter fields and write them to file

Parameters
[in,out]type(NcDataset) :: ncNcDataset to add variable to
[in]character(*) :: var_namevariable name
[in]type(NcDimension), dimension(:) :: var_dimsvector of Variable dimensions
[in]integer(i4) :: fill_valuefill value used for missing values
[in]integer(i4/dp), dimension(...) :: datapacked data to be set to variable
[in]logical, dimension(:, :) :: maskmask used for unpacking
[in]character(*), optional :: var_long_namevariable long name attribute
Authors
Robert Schweppe
Date
Jun 2018

Definition at line 497 of file mo_mpr_restart.f90.


The documentation for this interface was generated from the following file: