NetCDF4_FileFormatter Derived Type

type, public :: NetCDF4_FileFormatter


Inherited by

type~~netcdf4_fileformatter~~InheritedByGraph type~netcdf4_fileformatter NetCDF4_FileFormatter type~extdatacollection ExtDataCollection type~extdatacollection->type~netcdf4_fileformatter formatter type~formatterptrvector FormatterPtrVector type~extdatacollection->type~formatterptrvector formatters type~formatterptrvector->type~netcdf4_fileformatter elements type~formatterptrvectoriterator FormatterPtrVectorIterator type~formatterptrvectoriterator->type~netcdf4_fileformatter elements type~formatterptrvectorriterator FormatterPtrVectorRIterator type~formatterptrvectorriterator->type~netcdf4_fileformatter elements type~masksamplergeosat MaskSamplerGeosat type~masksamplergeosat->type~netcdf4_fileformatter formatter type~obs_unit obs_unit type~obs_unit->type~netcdf4_fileformatter file_handle type~pair~11 pair type~pair~11->type~netcdf4_fileformatter value type~regridsupport RegridSupport type~regridsupport->type~netcdf4_fileformatter formatter_cubed_sphere, formatter_lat_lon type~stationsampler StationSampler type~stationsampler->type~netcdf4_fileformatter formatter type~extcollectionvector ExtCollectionVector type~extcollectionvector->type~extdatacollection elements type~extcollectionvectoriterator ExtCollectionVectorIterator type~extcollectionvectoriterator->type~extdatacollection elements type~extcollectionvectorriterator ExtCollectionVectorRIterator type~extcollectionvectorriterator->type~extdatacollection elements type~historycollection~2 HistoryCollection type~historycollection~2->type~masksamplergeosat mask_sampler type~historycollection~2->type~stationsampler station_sampler type~historytrajectory HistoryTrajectory type~historycollection~2->type~historytrajectory trajectory type~historytrajectory->type~obs_unit obs type~tvector~11 tVector type~tvector~11->type~pair~11 elements type~historycollectionvectoriterator~2 HistoryCollectionVectorIterator type~historycollectionvectoriterator~2->type~historycollection~2 elements type~historycollectionvectorriterator~2 HistoryCollectionVectorRIterator type~historycollectionvectorriterator~2->type~historycollection~2 elements type~historycollectionvector~2 HistoryCollectionVector type~historycollectionvector~2->type~historycollection~2 elements type~serverthread ServerThread type~serverthread->type~extcollectionvector ext_collections type~set2~12 set2 type~set2~12->type~tvector~11 items type~mockserverthread MockServerThread type~mockserverthread->type~serverthread type~s_iterator~12 s_iterator type~s_iterator~12->type~set2~12 reference type~stringnetcdf4_fileformattermap StringNetCDF4_FileFormatterMap type~stringnetcdf4_fileformattermap->type~set2~12 tree type~v_wrapper~12 v_Wrapper type~v_wrapper~12->type~serverthread item

Components

Type Visibility Attributes Name Initial
character(len=:), public, allocatable :: origin_file
integer, public :: comm = -1
integer, public :: info = -1
integer, public :: ncid = -1
logical, public :: parallel = .false.

Type-Bound Procedures

procedure, public :: add_variable

  • private subroutine add_variable(this, cf, varname, unusable, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(NetCDF4_FileFormatter), intent(inout) :: this
    type(FileMetadata), intent(in), target :: cf
    character(len=*), intent(in) :: varname
    class(KeywordEnforcer), intent(in), optional :: unusable
    integer, intent(out), optional :: rc

procedure, public :: close

  • private subroutine close(this, unusable, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(NetCDF4_FileFormatter), intent(inout) :: this
    class(KeywordEnforcer), intent(in), optional :: unusable
    integer, intent(out), optional :: rc

procedure, public :: create

  • private subroutine create(this, file, unusable, mode, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(NetCDF4_FileFormatter), intent(inout) :: this
    character(len=*), intent(in) :: file
    class(KeywordEnforcer), intent(in), optional :: unusable
    integer, intent(in), optional :: mode
    integer, intent(out), optional :: rc

procedure, public :: create_par

  • private subroutine create_par(this, file, unusable, mode, comm, info, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(NetCDF4_FileFormatter), intent(inout) :: this
    character(len=*), intent(in) :: file
    class(KeywordEnforcer), intent(in), optional :: unusable
    integer, intent(in), optional :: mode
    integer, intent(in), optional :: comm
    integer, intent(in), optional :: info
    integer, intent(out), optional :: rc

generic, public :: get_var => get_var_string_1

  • private subroutine get_var_string_1(this, var_name, values, unusable, group_name, start, count, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(NetCDF4_FileFormatter), intent(in) :: this
    character(len=*), intent(in) :: var_name
    character(len=*), intent(out) :: values(:)
    class(KeywordEnforcer), intent(in), optional :: unusable
    character(len=*), intent(in), optional :: group_name
    integer, intent(in), optional :: start(:)
    integer, intent(in), optional :: count(:)
    integer, intent(out), optional :: rc

generic, public :: get_var => get_var_int32_0

  • private subroutine get_var_int32_0(this, var_name, values, unusable, group_name, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(NetCDF4_FileFormatter), intent(in) :: this
    character(len=*), intent(in) :: var_name
    integer(kind=INT32), intent(out) :: values
    class(KeywordEnforcer), intent(in), optional :: unusable
    character(len=*), intent(in), optional :: group_name
    integer, intent(out), optional :: rc

generic, public :: get_var => get_var_int32_1

  • private subroutine get_var_int32_1(this, var_name, values, unusable, group_name, start, count, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(NetCDF4_FileFormatter), intent(in) :: this
    character(len=*), intent(in) :: var_name
    integer(kind=INT32), intent(out) :: values(:)
    class(KeywordEnforcer), intent(in), optional :: unusable
    character(len=*), intent(in), optional :: group_name
    integer, intent(in), optional :: start(:)
    integer, intent(in), optional :: count(:)
    integer, intent(out), optional :: rc

generic, public :: get_var => get_var_int32_2

  • private subroutine get_var_int32_2(this, var_name, values, unusable, group_name, start, count, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(NetCDF4_FileFormatter), intent(in) :: this
    character(len=*), intent(in) :: var_name
    integer(kind=INT32), intent(out) :: values(:,:)
    class(KeywordEnforcer), intent(in), optional :: unusable
    character(len=*), intent(in), optional :: group_name
    integer, intent(in), optional :: start(:)
    integer, intent(in), optional :: count(:)
    integer, intent(out), optional :: rc

generic, public :: get_var => get_var_int32_3

  • private subroutine get_var_int32_3(this, var_name, values, unusable, group_name, start, count, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(NetCDF4_FileFormatter), intent(in) :: this
    character(len=*), intent(in) :: var_name
    integer(kind=INT32), intent(out) :: values(:,:,:)
    class(KeywordEnforcer), intent(in), optional :: unusable
    character(len=*), intent(in), optional :: group_name
    integer, intent(in), optional :: start(:)
    integer, intent(in), optional :: count(:)
    integer, intent(out), optional :: rc

generic, public :: get_var => get_var_int32_4

  • private subroutine get_var_int32_4(this, var_name, values, unusable, group_name, start, count, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(NetCDF4_FileFormatter), intent(in) :: this
    character(len=*), intent(in) :: var_name
    integer(kind=INT32), intent(out) :: values(:,:,:,:)
    class(KeywordEnforcer), intent(in), optional :: unusable
    character(len=*), intent(in), optional :: group_name
    integer, intent(in), optional :: start(:)
    integer, intent(in), optional :: count(:)
    integer, intent(out), optional :: rc

generic, public :: get_var => get_var_int64_0

  • private subroutine get_var_int64_0(this, var_name, values, unusable, group_name, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(NetCDF4_FileFormatter), intent(in) :: this
    character(len=*), intent(in) :: var_name
    integer(kind=INT64), intent(out) :: values
    class(KeywordEnforcer), intent(in), optional :: unusable
    character(len=*), intent(in), optional :: group_name
    integer, intent(out), optional :: rc

generic, public :: get_var => get_var_int64_1

  • private subroutine get_var_int64_1(this, var_name, values, unusable, group_name, start, count, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(NetCDF4_FileFormatter), intent(in) :: this
    character(len=*), intent(in) :: var_name
    integer(kind=INT64), intent(out) :: values(:)
    class(KeywordEnforcer), intent(in), optional :: unusable
    character(len=*), intent(in), optional :: group_name
    integer, intent(in), optional :: start(:)
    integer, intent(in), optional :: count(:)
    integer, intent(out), optional :: rc

generic, public :: get_var => get_var_int64_2

  • private subroutine get_var_int64_2(this, var_name, values, unusable, group_name, start, count, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(NetCDF4_FileFormatter), intent(in) :: this
    character(len=*), intent(in) :: var_name
    integer(kind=INT64), intent(out) :: values(:,:)
    class(KeywordEnforcer), intent(in), optional :: unusable
    character(len=*), intent(in), optional :: group_name
    integer, intent(in), optional :: start(:)
    integer, intent(in), optional :: count(:)
    integer, intent(out), optional :: rc

generic, public :: get_var => get_var_int64_3

  • private subroutine get_var_int64_3(this, var_name, values, unusable, group_name, start, count, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(NetCDF4_FileFormatter), intent(in) :: this
    character(len=*), intent(in) :: var_name
    integer(kind=INT64), intent(out) :: values(:,:,:)
    class(KeywordEnforcer), intent(in), optional :: unusable
    character(len=*), intent(in), optional :: group_name
    integer, intent(in), optional :: start(:)
    integer, intent(in), optional :: count(:)
    integer, intent(out), optional :: rc

generic, public :: get_var => get_var_real32_0

  • private subroutine get_var_real32_0(this, var_name, values, unusable, group_name, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(NetCDF4_FileFormatter), intent(in) :: this
    character(len=*), intent(in) :: var_name
    real(kind=REAL32), intent(out) :: values
    class(KeywordEnforcer), intent(in), optional :: unusable
    character(len=*), intent(in), optional :: group_name
    integer, intent(out), optional :: rc

generic, public :: get_var => get_var_real32_1

  • private subroutine get_var_real32_1(this, var_name, values, unusable, group_name, start, count, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(NetCDF4_FileFormatter), intent(in) :: this
    character(len=*), intent(in) :: var_name
    real(kind=REAL32), intent(out) :: values(:)
    class(KeywordEnforcer), intent(in), optional :: unusable
    character(len=*), intent(in), optional :: group_name
    integer, intent(in), optional :: start(:)
    integer, intent(in), optional :: count(:)
    integer, intent(out), optional :: rc

generic, public :: get_var => get_var_real32_2

  • private subroutine get_var_real32_2(this, var_name, values, unusable, group_name, start, count, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(NetCDF4_FileFormatter), intent(in) :: this
    character(len=*), intent(in) :: var_name
    real(kind=REAL32), intent(out) :: values(:,:)
    class(KeywordEnforcer), intent(in), optional :: unusable
    character(len=*), intent(in), optional :: group_name
    integer, intent(in), optional :: start(:)
    integer, intent(in), optional :: count(:)
    integer, intent(out), optional :: rc

generic, public :: get_var => get_var_real32_3

  • private subroutine get_var_real32_3(this, var_name, values, unusable, group_name, start, count, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(NetCDF4_FileFormatter), intent(in) :: this
    character(len=*), intent(in) :: var_name
    real(kind=REAL32), intent(out) :: values(:,:,:)
    class(KeywordEnforcer), intent(in), optional :: unusable
    character(len=*), intent(in), optional :: group_name
    integer, intent(in), optional :: start(:)
    integer, intent(in), optional :: count(:)
    integer, intent(out), optional :: rc

generic, public :: get_var => get_var_real32_4

  • private subroutine get_var_real32_4(this, var_name, values, unusable, group_name, start, count, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(NetCDF4_FileFormatter), intent(in) :: this
    character(len=*), intent(in) :: var_name
    real(kind=REAL32), intent(out) :: values(:,:,:,:)
    class(KeywordEnforcer), intent(in), optional :: unusable
    character(len=*), intent(in), optional :: group_name
    integer, intent(in), optional :: start(:)
    integer, intent(in), optional :: count(:)
    integer, intent(out), optional :: rc

generic, public :: get_var => get_var_real32_5

  • private subroutine get_var_real32_5(this, var_name, values, unusable, group_name, start, count, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(NetCDF4_FileFormatter), intent(in) :: this
    character(len=*), intent(in) :: var_name
    real(kind=REAL32), intent(out) :: values(:,:,:,:,:)
    class(KeywordEnforcer), intent(in), optional :: unusable
    character(len=*), intent(in), optional :: group_name
    integer, intent(in), optional :: start(:)
    integer, intent(in), optional :: count(:)
    integer, intent(out), optional :: rc

generic, public :: get_var => get_var_real64_0

  • private subroutine get_var_real64_0(this, var_name, values, unusable, group_name, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(NetCDF4_FileFormatter), intent(in) :: this
    character(len=*), intent(in) :: var_name
    real(kind=REAL64), intent(out) :: values
    class(KeywordEnforcer), intent(in), optional :: unusable
    character(len=*), intent(in), optional :: group_name
    integer, intent(out), optional :: rc

generic, public :: get_var => get_var_real64_1

  • private subroutine get_var_real64_1(this, var_name, values, unusable, group_name, start, count, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(NetCDF4_FileFormatter), intent(in) :: this
    character(len=*), intent(in) :: var_name
    real(kind=REAL64), intent(out) :: values(:)
    class(KeywordEnforcer), intent(in), optional :: unusable
    character(len=*), intent(in), optional :: group_name
    integer, intent(in), optional :: start(:)
    integer, intent(in), optional :: count(:)
    integer, intent(out), optional :: rc

generic, public :: get_var => get_var_real64_2

  • private subroutine get_var_real64_2(this, var_name, values, unusable, group_name, start, count, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(NetCDF4_FileFormatter), intent(in) :: this
    character(len=*), intent(in) :: var_name
    real(kind=REAL64), intent(out) :: values(:,:)
    class(KeywordEnforcer), intent(in), optional :: unusable
    character(len=*), intent(in), optional :: group_name
    integer, intent(in), optional :: start(:)
    integer, intent(in), optional :: count(:)
    integer, intent(out), optional :: rc

generic, public :: get_var => get_var_real64_3

  • private subroutine get_var_real64_3(this, var_name, values, unusable, group_name, start, count, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(NetCDF4_FileFormatter), intent(in) :: this
    character(len=*), intent(in) :: var_name
    real(kind=REAL64), intent(out) :: values(:,:,:)
    class(KeywordEnforcer), intent(in), optional :: unusable
    character(len=*), intent(in), optional :: group_name
    integer, intent(in), optional :: start(:)
    integer, intent(in), optional :: count(:)
    integer, intent(out), optional :: rc

generic, public :: get_var => get_var_real64_4

  • private subroutine get_var_real64_4(this, var_name, values, unusable, group_name, start, count, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(NetCDF4_FileFormatter), intent(in) :: this
    character(len=*), intent(in) :: var_name
    real(kind=REAL64), intent(out) :: values(:,:,:,:)
    class(KeywordEnforcer), intent(in), optional :: unusable
    character(len=*), intent(in), optional :: group_name
    integer, intent(in), optional :: start(:)
    integer, intent(in), optional :: count(:)
    integer, intent(out), optional :: rc

procedure, public :: get_var_int32_0

  • private subroutine get_var_int32_0(this, var_name, values, unusable, group_name, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(NetCDF4_FileFormatter), intent(in) :: this
    character(len=*), intent(in) :: var_name
    integer(kind=INT32), intent(out) :: values
    class(KeywordEnforcer), intent(in), optional :: unusable
    character(len=*), intent(in), optional :: group_name
    integer, intent(out), optional :: rc

procedure, public :: get_var_int32_1

  • private subroutine get_var_int32_1(this, var_name, values, unusable, group_name, start, count, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(NetCDF4_FileFormatter), intent(in) :: this
    character(len=*), intent(in) :: var_name
    integer(kind=INT32), intent(out) :: values(:)
    class(KeywordEnforcer), intent(in), optional :: unusable
    character(len=*), intent(in), optional :: group_name
    integer, intent(in), optional :: start(:)
    integer, intent(in), optional :: count(:)
    integer, intent(out), optional :: rc

procedure, public :: get_var_int32_2

  • private subroutine get_var_int32_2(this, var_name, values, unusable, group_name, start, count, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(NetCDF4_FileFormatter), intent(in) :: this
    character(len=*), intent(in) :: var_name
    integer(kind=INT32), intent(out) :: values(:,:)
    class(KeywordEnforcer), intent(in), optional :: unusable
    character(len=*), intent(in), optional :: group_name
    integer, intent(in), optional :: start(:)
    integer, intent(in), optional :: count(:)
    integer, intent(out), optional :: rc

procedure, public :: get_var_int32_3

  • private subroutine get_var_int32_3(this, var_name, values, unusable, group_name, start, count, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(NetCDF4_FileFormatter), intent(in) :: this
    character(len=*), intent(in) :: var_name
    integer(kind=INT32), intent(out) :: values(:,:,:)
    class(KeywordEnforcer), intent(in), optional :: unusable
    character(len=*), intent(in), optional :: group_name
    integer, intent(in), optional :: start(:)
    integer, intent(in), optional :: count(:)
    integer, intent(out), optional :: rc

procedure, public :: get_var_int32_4

  • private subroutine get_var_int32_4(this, var_name, values, unusable, group_name, start, count, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(NetCDF4_FileFormatter), intent(in) :: this
    character(len=*), intent(in) :: var_name
    integer(kind=INT32), intent(out) :: values(:,:,:,:)
    class(KeywordEnforcer), intent(in), optional :: unusable
    character(len=*), intent(in), optional :: group_name
    integer, intent(in), optional :: start(:)
    integer, intent(in), optional :: count(:)
    integer, intent(out), optional :: rc

procedure, public :: get_var_int64_0

  • private subroutine get_var_int64_0(this, var_name, values, unusable, group_name, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(NetCDF4_FileFormatter), intent(in) :: this
    character(len=*), intent(in) :: var_name
    integer(kind=INT64), intent(out) :: values
    class(KeywordEnforcer), intent(in), optional :: unusable
    character(len=*), intent(in), optional :: group_name
    integer, intent(out), optional :: rc

procedure, public :: get_var_int64_1

  • private subroutine get_var_int64_1(this, var_name, values, unusable, group_name, start, count, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(NetCDF4_FileFormatter), intent(in) :: this
    character(len=*), intent(in) :: var_name
    integer(kind=INT64), intent(out) :: values(:)
    class(KeywordEnforcer), intent(in), optional :: unusable
    character(len=*), intent(in), optional :: group_name
    integer, intent(in), optional :: start(:)
    integer, intent(in), optional :: count(:)
    integer, intent(out), optional :: rc

procedure, public :: get_var_int64_2

  • private subroutine get_var_int64_2(this, var_name, values, unusable, group_name, start, count, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(NetCDF4_FileFormatter), intent(in) :: this
    character(len=*), intent(in) :: var_name
    integer(kind=INT64), intent(out) :: values(:,:)
    class(KeywordEnforcer), intent(in), optional :: unusable
    character(len=*), intent(in), optional :: group_name
    integer, intent(in), optional :: start(:)
    integer, intent(in), optional :: count(:)
    integer, intent(out), optional :: rc

procedure, public :: get_var_int64_3

  • private subroutine get_var_int64_3(this, var_name, values, unusable, group_name, start, count, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(NetCDF4_FileFormatter), intent(in) :: this
    character(len=*), intent(in) :: var_name
    integer(kind=INT64), intent(out) :: values(:,:,:)
    class(KeywordEnforcer), intent(in), optional :: unusable
    character(len=*), intent(in), optional :: group_name
    integer, intent(in), optional :: start(:)
    integer, intent(in), optional :: count(:)
    integer, intent(out), optional :: rc

procedure, public :: get_var_real32_0

  • private subroutine get_var_real32_0(this, var_name, values, unusable, group_name, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(NetCDF4_FileFormatter), intent(in) :: this
    character(len=*), intent(in) :: var_name
    real(kind=REAL32), intent(out) :: values
    class(KeywordEnforcer), intent(in), optional :: unusable
    character(len=*), intent(in), optional :: group_name
    integer, intent(out), optional :: rc

procedure, public :: get_var_real32_1

  • private subroutine get_var_real32_1(this, var_name, values, unusable, group_name, start, count, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(NetCDF4_FileFormatter), intent(in) :: this
    character(len=*), intent(in) :: var_name
    real(kind=REAL32), intent(out) :: values(:)
    class(KeywordEnforcer), intent(in), optional :: unusable
    character(len=*), intent(in), optional :: group_name
    integer, intent(in), optional :: start(:)
    integer, intent(in), optional :: count(:)
    integer, intent(out), optional :: rc

procedure, public :: get_var_real32_2

  • private subroutine get_var_real32_2(this, var_name, values, unusable, group_name, start, count, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(NetCDF4_FileFormatter), intent(in) :: this
    character(len=*), intent(in) :: var_name
    real(kind=REAL32), intent(out) :: values(:,:)
    class(KeywordEnforcer), intent(in), optional :: unusable
    character(len=*), intent(in), optional :: group_name
    integer, intent(in), optional :: start(:)
    integer, intent(in), optional :: count(:)
    integer, intent(out), optional :: rc

procedure, public :: get_var_real32_3

  • private subroutine get_var_real32_3(this, var_name, values, unusable, group_name, start, count, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(NetCDF4_FileFormatter), intent(in) :: this
    character(len=*), intent(in) :: var_name
    real(kind=REAL32), intent(out) :: values(:,:,:)
    class(KeywordEnforcer), intent(in), optional :: unusable
    character(len=*), intent(in), optional :: group_name
    integer, intent(in), optional :: start(:)
    integer, intent(in), optional :: count(:)
    integer, intent(out), optional :: rc

procedure, public :: get_var_real32_4

  • private subroutine get_var_real32_4(this, var_name, values, unusable, group_name, start, count, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(NetCDF4_FileFormatter), intent(in) :: this
    character(len=*), intent(in) :: var_name
    real(kind=REAL32), intent(out) :: values(:,:,:,:)
    class(KeywordEnforcer), intent(in), optional :: unusable
    character(len=*), intent(in), optional :: group_name
    integer, intent(in), optional :: start(:)
    integer, intent(in), optional :: count(:)
    integer, intent(out), optional :: rc

procedure, public :: get_var_real32_5

  • private subroutine get_var_real32_5(this, var_name, values, unusable, group_name, start, count, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(NetCDF4_FileFormatter), intent(in) :: this
    character(len=*), intent(in) :: var_name
    real(kind=REAL32), intent(out) :: values(:,:,:,:,:)
    class(KeywordEnforcer), intent(in), optional :: unusable
    character(len=*), intent(in), optional :: group_name
    integer, intent(in), optional :: start(:)
    integer, intent(in), optional :: count(:)
    integer, intent(out), optional :: rc

procedure, public :: get_var_real64_0

  • private subroutine get_var_real64_0(this, var_name, values, unusable, group_name, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(NetCDF4_FileFormatter), intent(in) :: this
    character(len=*), intent(in) :: var_name
    real(kind=REAL64), intent(out) :: values
    class(KeywordEnforcer), intent(in), optional :: unusable
    character(len=*), intent(in), optional :: group_name
    integer, intent(out), optional :: rc

procedure, public :: get_var_real64_1

  • private subroutine get_var_real64_1(this, var_name, values, unusable, group_name, start, count, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(NetCDF4_FileFormatter), intent(in) :: this
    character(len=*), intent(in) :: var_name
    real(kind=REAL64), intent(out) :: values(:)
    class(KeywordEnforcer), intent(in), optional :: unusable
    character(len=*), intent(in), optional :: group_name
    integer, intent(in), optional :: start(:)
    integer, intent(in), optional :: count(:)
    integer, intent(out), optional :: rc

procedure, public :: get_var_real64_2

  • private subroutine get_var_real64_2(this, var_name, values, unusable, group_name, start, count, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(NetCDF4_FileFormatter), intent(in) :: this
    character(len=*), intent(in) :: var_name
    real(kind=REAL64), intent(out) :: values(:,:)
    class(KeywordEnforcer), intent(in), optional :: unusable
    character(len=*), intent(in), optional :: group_name
    integer, intent(in), optional :: start(:)
    integer, intent(in), optional :: count(:)
    integer, intent(out), optional :: rc

procedure, public :: get_var_real64_3

  • private subroutine get_var_real64_3(this, var_name, values, unusable, group_name, start, count, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(NetCDF4_FileFormatter), intent(in) :: this
    character(len=*), intent(in) :: var_name
    real(kind=REAL64), intent(out) :: values(:,:,:)
    class(KeywordEnforcer), intent(in), optional :: unusable
    character(len=*), intent(in), optional :: group_name
    integer, intent(in), optional :: start(:)
    integer, intent(in), optional :: count(:)
    integer, intent(out), optional :: rc

procedure, public :: get_var_real64_4

  • private subroutine get_var_real64_4(this, var_name, values, unusable, group_name, start, count, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(NetCDF4_FileFormatter), intent(in) :: this
    character(len=*), intent(in) :: var_name
    real(kind=REAL64), intent(out) :: values(:,:,:,:)
    class(KeywordEnforcer), intent(in), optional :: unusable
    character(len=*), intent(in), optional :: group_name
    integer, intent(in), optional :: start(:)
    integer, intent(in), optional :: count(:)
    integer, intent(out), optional :: rc

procedure, public :: get_var_string_1

  • private subroutine get_var_string_1(this, var_name, values, unusable, group_name, start, count, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(NetCDF4_FileFormatter), intent(in) :: this
    character(len=*), intent(in) :: var_name
    character(len=*), intent(out) :: values(:)
    class(KeywordEnforcer), intent(in), optional :: unusable
    character(len=*), intent(in), optional :: group_name
    integer, intent(in), optional :: start(:)
    integer, intent(in), optional :: count(:)
    integer, intent(out), optional :: rc

procedure, public :: inq_dim

  • private function inq_dim(this, dim_name, unusable, rc) result(length)

    Arguments

    Type IntentOptional Attributes Name
    class(NetCDF4_FileFormatter), intent(in) :: this
    character(len=*), intent(in) :: dim_name
    class(KeywordEnforcer), intent(in), optional :: unusable
    integer, intent(out), optional :: rc

    Return Value integer

procedure, public :: inq_var_string_length

  • private subroutine inq_var_string_length(this, var_name, length, unusable, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(NetCDF4_FileFormatter), intent(inout) :: this
    character(len=*), intent(in) :: var_name
    integer, intent(out) :: length
    class(KeywordEnforcer), intent(in), optional :: unusable
    integer, intent(out), optional :: rc

procedure, public :: is_coordinate_dimension

  • private function is_coordinate_dimension(this, name)

    Arguments

    Type IntentOptional Attributes Name
    class(NetCDF4_FileFormatter), intent(in) :: this
    character(len=*), intent(in) :: name

    Return Value logical

procedure, public :: open

  • private subroutine open(this, file, mode, unusable, comm, info, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(NetCDF4_FileFormatter), intent(inout) :: this
    character(len=*), intent(in) :: file
    integer, intent(in) :: mode
    class(KeywordEnforcer), intent(in), optional :: unusable
    integer, intent(in), optional :: comm
    integer, intent(in), optional :: info
    integer, intent(out), optional :: rc

generic, public :: put_var => put_var_string_1

  • private subroutine put_var_string_1(this, var_name, values, unusable, start, count, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(NetCDF4_FileFormatter), intent(in) :: this
    character(len=*), intent(in) :: var_name
    character(len=*), intent(in) :: values(:)
    class(KeywordEnforcer), intent(in), optional :: unusable
    integer, intent(in), optional :: start(:)
    integer, intent(in), optional :: count(:)
    integer, intent(out), optional :: rc

generic, public :: put_var => put_var_int32_0

  • private subroutine put_var_int32_0(this, var_name, values, unusable, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(NetCDF4_FileFormatter), intent(in) :: this
    character(len=*), intent(in) :: var_name
    integer(kind=INT32), intent(in) :: values
    class(KeywordEnforcer), intent(in), optional :: unusable
    integer, intent(out), optional :: rc

generic, public :: put_var => put_var_int32_1

  • private subroutine put_var_int32_1(this, var_name, values, unusable, start, count, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(NetCDF4_FileFormatter), intent(in) :: this
    character(len=*), intent(in) :: var_name
    integer(kind=INT32), intent(in) :: values(:)
    class(KeywordEnforcer), intent(in), optional :: unusable
    integer, intent(in), optional :: start(:)
    integer, intent(in), optional :: count(:)
    integer, intent(out), optional :: rc

generic, public :: put_var => put_var_int32_2

  • private subroutine put_var_int32_2(this, var_name, values, unusable, start, count, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(NetCDF4_FileFormatter), intent(in) :: this
    character(len=*), intent(in) :: var_name
    integer(kind=INT32), intent(in) :: values(:,:)
    class(KeywordEnforcer), intent(in), optional :: unusable
    integer, intent(in), optional :: start(:)
    integer, intent(in), optional :: count(:)
    integer, intent(out), optional :: rc

generic, public :: put_var => put_var_int32_3

  • private subroutine put_var_int32_3(this, var_name, values, unusable, start, count, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(NetCDF4_FileFormatter), intent(in) :: this
    character(len=*), intent(in) :: var_name
    integer(kind=INT32), intent(in) :: values(:,:,:)
    class(KeywordEnforcer), intent(in), optional :: unusable
    integer, intent(in), optional :: start(:)
    integer, intent(in), optional :: count(:)
    integer, intent(out), optional :: rc

generic, public :: put_var => put_var_int32_4

  • private subroutine put_var_int32_4(this, var_name, values, unusable, start, count, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(NetCDF4_FileFormatter), intent(in) :: this
    character(len=*), intent(in) :: var_name
    integer(kind=INT32), intent(in) :: values(:,:,:,:)
    class(KeywordEnforcer), intent(in), optional :: unusable
    integer, intent(in), optional :: start(:)
    integer, intent(in), optional :: count(:)
    integer, intent(out), optional :: rc

generic, public :: put_var => put_var_int64_0

  • private subroutine put_var_int64_0(this, var_name, values, unusable, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(NetCDF4_FileFormatter), intent(in) :: this
    character(len=*), intent(in) :: var_name
    integer(kind=INT64), intent(in) :: values
    class(KeywordEnforcer), intent(in), optional :: unusable
    integer, intent(out), optional :: rc

generic, public :: put_var => put_var_int64_1

  • private subroutine put_var_int64_1(this, var_name, values, unusable, start, count, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(NetCDF4_FileFormatter), intent(in) :: this
    character(len=*), intent(in) :: var_name
    integer(kind=INT64), intent(in) :: values(:)
    class(KeywordEnforcer), intent(in), optional :: unusable
    integer, intent(in), optional :: start(:)
    integer, intent(in), optional :: count(:)
    integer, intent(out), optional :: rc

generic, public :: put_var => put_var_int64_2

  • private subroutine put_var_int64_2(this, var_name, values, unusable, start, count, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(NetCDF4_FileFormatter), intent(in) :: this
    character(len=*), intent(in) :: var_name
    integer(kind=INT64), intent(in) :: values(:,:)
    class(KeywordEnforcer), intent(in), optional :: unusable
    integer, intent(in), optional :: start(:)
    integer, intent(in), optional :: count(:)
    integer, intent(out), optional :: rc

generic, public :: put_var => put_var_int64_3

  • private subroutine put_var_int64_3(this, var_name, values, unusable, start, count, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(NetCDF4_FileFormatter), intent(in) :: this
    character(len=*), intent(in) :: var_name
    integer(kind=INT64), intent(in) :: values(:,:,:)
    class(KeywordEnforcer), intent(in), optional :: unusable
    integer, intent(in), optional :: start(:)
    integer, intent(in), optional :: count(:)
    integer, intent(out), optional :: rc

generic, public :: put_var => put_var_real32_0

  • private subroutine put_var_real32_0(this, var_name, values, unusable, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(NetCDF4_FileFormatter), intent(in) :: this
    character(len=*), intent(in) :: var_name
    real(kind=REAL32), intent(in) :: values
    class(KeywordEnforcer), intent(in), optional :: unusable
    integer, intent(out), optional :: rc

generic, public :: put_var => put_var_real32_1

  • private subroutine put_var_real32_1(this, var_name, values, unusable, start, count, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(NetCDF4_FileFormatter), intent(in) :: this
    character(len=*), intent(in) :: var_name
    real(kind=REAL32), intent(in) :: values(:)
    class(KeywordEnforcer), intent(in), optional :: unusable
    integer, intent(in), optional :: start(:)
    integer, intent(in), optional :: count(:)
    integer, intent(out), optional :: rc

generic, public :: put_var => put_var_real32_2

  • private subroutine put_var_real32_2(this, var_name, values, unusable, start, count, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(NetCDF4_FileFormatter), intent(in) :: this
    character(len=*), intent(in) :: var_name
    real(kind=REAL32), intent(in) :: values(:,:)
    class(KeywordEnforcer), intent(in), optional :: unusable
    integer, intent(in), optional :: start(:)
    integer, intent(in), optional :: count(:)
    integer, intent(out), optional :: rc

generic, public :: put_var => put_var_real32_3

  • private subroutine put_var_real32_3(this, var_name, values, unusable, start, count, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(NetCDF4_FileFormatter), intent(in) :: this
    character(len=*), intent(in) :: var_name
    real(kind=REAL32), intent(in) :: values(:,:,:)
    class(KeywordEnforcer), intent(in), optional :: unusable
    integer, intent(in), optional :: start(:)
    integer, intent(in), optional :: count(:)
    integer, intent(out), optional :: rc

generic, public :: put_var => put_var_real32_4

  • private subroutine put_var_real32_4(this, var_name, values, unusable, start, count, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(NetCDF4_FileFormatter), intent(in) :: this
    character(len=*), intent(in) :: var_name
    real(kind=REAL32), intent(in) :: values(:,:,:,:)
    class(KeywordEnforcer), intent(in), optional :: unusable
    integer, intent(in), optional :: start(:)
    integer, intent(in), optional :: count(:)
    integer, intent(out), optional :: rc

generic, public :: put_var => put_var_real32_5

  • private subroutine put_var_real32_5(this, var_name, values, unusable, start, count, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(NetCDF4_FileFormatter), intent(in) :: this
    character(len=*), intent(in) :: var_name
    real(kind=REAL32), intent(in) :: values(:,:,:,:,:)
    class(KeywordEnforcer), intent(in), optional :: unusable
    integer, intent(in), optional :: start(:)
    integer, intent(in), optional :: count(:)
    integer, intent(out), optional :: rc

generic, public :: put_var => put_var_real64_0

  • private subroutine put_var_real64_0(this, var_name, values, unusable, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(NetCDF4_FileFormatter), intent(in) :: this
    character(len=*), intent(in) :: var_name
    real(kind=REAL64), intent(in) :: values
    class(KeywordEnforcer), intent(in), optional :: unusable
    integer, intent(out), optional :: rc

generic, public :: put_var => put_var_real64_1

  • private subroutine put_var_real64_1(this, var_name, values, unusable, start, count, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(NetCDF4_FileFormatter), intent(in) :: this
    character(len=*), intent(in) :: var_name
    real(kind=REAL64), intent(in) :: values(:)
    class(KeywordEnforcer), intent(in), optional :: unusable
    integer, intent(in), optional :: start(:)
    integer, intent(in), optional :: count(:)
    integer, intent(out), optional :: rc

generic, public :: put_var => put_var_real64_2

  • private subroutine put_var_real64_2(this, var_name, values, unusable, start, count, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(NetCDF4_FileFormatter), intent(in) :: this
    character(len=*), intent(in) :: var_name
    real(kind=REAL64), intent(in) :: values(:,:)
    class(KeywordEnforcer), intent(in), optional :: unusable
    integer, intent(in), optional :: start(:)
    integer, intent(in), optional :: count(:)
    integer, intent(out), optional :: rc

generic, public :: put_var => put_var_real64_3

  • private subroutine put_var_real64_3(this, var_name, values, unusable, start, count, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(NetCDF4_FileFormatter), intent(in) :: this
    character(len=*), intent(in) :: var_name
    real(kind=REAL64), intent(in) :: values(:,:,:)
    class(KeywordEnforcer), intent(in), optional :: unusable
    integer, intent(in), optional :: start(:)
    integer, intent(in), optional :: count(:)
    integer, intent(out), optional :: rc

generic, public :: put_var => put_var_real64_4

  • private subroutine put_var_real64_4(this, var_name, values, unusable, start, count, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(NetCDF4_FileFormatter), intent(in) :: this
    character(len=*), intent(in) :: var_name
    real(kind=REAL64), intent(in) :: values(:,:,:,:)
    class(KeywordEnforcer), intent(in), optional :: unusable
    integer, intent(in), optional :: start(:)
    integer, intent(in), optional :: count(:)
    integer, intent(out), optional :: rc

procedure, public :: put_var_int32_0

  • private subroutine put_var_int32_0(this, var_name, values, unusable, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(NetCDF4_FileFormatter), intent(in) :: this
    character(len=*), intent(in) :: var_name
    integer(kind=INT32), intent(in) :: values
    class(KeywordEnforcer), intent(in), optional :: unusable
    integer, intent(out), optional :: rc

procedure, public :: put_var_int32_1

  • private subroutine put_var_int32_1(this, var_name, values, unusable, start, count, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(NetCDF4_FileFormatter), intent(in) :: this
    character(len=*), intent(in) :: var_name
    integer(kind=INT32), intent(in) :: values(:)
    class(KeywordEnforcer), intent(in), optional :: unusable
    integer, intent(in), optional :: start(:)
    integer, intent(in), optional :: count(:)
    integer, intent(out), optional :: rc

procedure, public :: put_var_int32_2

  • private subroutine put_var_int32_2(this, var_name, values, unusable, start, count, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(NetCDF4_FileFormatter), intent(in) :: this
    character(len=*), intent(in) :: var_name
    integer(kind=INT32), intent(in) :: values(:,:)
    class(KeywordEnforcer), intent(in), optional :: unusable
    integer, intent(in), optional :: start(:)
    integer, intent(in), optional :: count(:)
    integer, intent(out), optional :: rc

procedure, public :: put_var_int32_3

  • private subroutine put_var_int32_3(this, var_name, values, unusable, start, count, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(NetCDF4_FileFormatter), intent(in) :: this
    character(len=*), intent(in) :: var_name
    integer(kind=INT32), intent(in) :: values(:,:,:)
    class(KeywordEnforcer), intent(in), optional :: unusable
    integer, intent(in), optional :: start(:)
    integer, intent(in), optional :: count(:)
    integer, intent(out), optional :: rc

procedure, public :: put_var_int32_4

  • private subroutine put_var_int32_4(this, var_name, values, unusable, start, count, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(NetCDF4_FileFormatter), intent(in) :: this
    character(len=*), intent(in) :: var_name
    integer(kind=INT32), intent(in) :: values(:,:,:,:)
    class(KeywordEnforcer), intent(in), optional :: unusable
    integer, intent(in), optional :: start(:)
    integer, intent(in), optional :: count(:)
    integer, intent(out), optional :: rc

procedure, public :: put_var_int64_0

  • private subroutine put_var_int64_0(this, var_name, values, unusable, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(NetCDF4_FileFormatter), intent(in) :: this
    character(len=*), intent(in) :: var_name
    integer(kind=INT64), intent(in) :: values
    class(KeywordEnforcer), intent(in), optional :: unusable
    integer, intent(out), optional :: rc

procedure, public :: put_var_int64_1

  • private subroutine put_var_int64_1(this, var_name, values, unusable, start, count, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(NetCDF4_FileFormatter), intent(in) :: this
    character(len=*), intent(in) :: var_name
    integer(kind=INT64), intent(in) :: values(:)
    class(KeywordEnforcer), intent(in), optional :: unusable
    integer, intent(in), optional :: start(:)
    integer, intent(in), optional :: count(:)
    integer, intent(out), optional :: rc

procedure, public :: put_var_int64_2

  • private subroutine put_var_int64_2(this, var_name, values, unusable, start, count, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(NetCDF4_FileFormatter), intent(in) :: this
    character(len=*), intent(in) :: var_name
    integer(kind=INT64), intent(in) :: values(:,:)
    class(KeywordEnforcer), intent(in), optional :: unusable
    integer, intent(in), optional :: start(:)
    integer, intent(in), optional :: count(:)
    integer, intent(out), optional :: rc

procedure, public :: put_var_int64_3

  • private subroutine put_var_int64_3(this, var_name, values, unusable, start, count, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(NetCDF4_FileFormatter), intent(in) :: this
    character(len=*), intent(in) :: var_name
    integer(kind=INT64), intent(in) :: values(:,:,:)
    class(KeywordEnforcer), intent(in), optional :: unusable
    integer, intent(in), optional :: start(:)
    integer, intent(in), optional :: count(:)
    integer, intent(out), optional :: rc

procedure, public :: put_var_real32_0

  • private subroutine put_var_real32_0(this, var_name, values, unusable, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(NetCDF4_FileFormatter), intent(in) :: this
    character(len=*), intent(in) :: var_name
    real(kind=REAL32), intent(in) :: values
    class(KeywordEnforcer), intent(in), optional :: unusable
    integer, intent(out), optional :: rc

procedure, public :: put_var_real32_1

  • private subroutine put_var_real32_1(this, var_name, values, unusable, start, count, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(NetCDF4_FileFormatter), intent(in) :: this
    character(len=*), intent(in) :: var_name
    real(kind=REAL32), intent(in) :: values(:)
    class(KeywordEnforcer), intent(in), optional :: unusable
    integer, intent(in), optional :: start(:)
    integer, intent(in), optional :: count(:)
    integer, intent(out), optional :: rc

procedure, public :: put_var_real32_2

  • private subroutine put_var_real32_2(this, var_name, values, unusable, start, count, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(NetCDF4_FileFormatter), intent(in) :: this
    character(len=*), intent(in) :: var_name
    real(kind=REAL32), intent(in) :: values(:,:)
    class(KeywordEnforcer), intent(in), optional :: unusable
    integer, intent(in), optional :: start(:)
    integer, intent(in), optional :: count(:)
    integer, intent(out), optional :: rc

procedure, public :: put_var_real32_3

  • private subroutine put_var_real32_3(this, var_name, values, unusable, start, count, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(NetCDF4_FileFormatter), intent(in) :: this
    character(len=*), intent(in) :: var_name
    real(kind=REAL32), intent(in) :: values(:,:,:)
    class(KeywordEnforcer), intent(in), optional :: unusable
    integer, intent(in), optional :: start(:)
    integer, intent(in), optional :: count(:)
    integer, intent(out), optional :: rc

procedure, public :: put_var_real32_4

  • private subroutine put_var_real32_4(this, var_name, values, unusable, start, count, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(NetCDF4_FileFormatter), intent(in) :: this
    character(len=*), intent(in) :: var_name
    real(kind=REAL32), intent(in) :: values(:,:,:,:)
    class(KeywordEnforcer), intent(in), optional :: unusable
    integer, intent(in), optional :: start(:)
    integer, intent(in), optional :: count(:)
    integer, intent(out), optional :: rc

procedure, public :: put_var_real32_5

  • private subroutine put_var_real32_5(this, var_name, values, unusable, start, count, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(NetCDF4_FileFormatter), intent(in) :: this
    character(len=*), intent(in) :: var_name
    real(kind=REAL32), intent(in) :: values(:,:,:,:,:)
    class(KeywordEnforcer), intent(in), optional :: unusable
    integer, intent(in), optional :: start(:)
    integer, intent(in), optional :: count(:)
    integer, intent(out), optional :: rc

procedure, public :: put_var_real64_0

  • private subroutine put_var_real64_0(this, var_name, values, unusable, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(NetCDF4_FileFormatter), intent(in) :: this
    character(len=*), intent(in) :: var_name
    real(kind=REAL64), intent(in) :: values
    class(KeywordEnforcer), intent(in), optional :: unusable
    integer, intent(out), optional :: rc

procedure, public :: put_var_real64_1

  • private subroutine put_var_real64_1(this, var_name, values, unusable, start, count, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(NetCDF4_FileFormatter), intent(in) :: this
    character(len=*), intent(in) :: var_name
    real(kind=REAL64), intent(in) :: values(:)
    class(KeywordEnforcer), intent(in), optional :: unusable
    integer, intent(in), optional :: start(:)
    integer, intent(in), optional :: count(:)
    integer, intent(out), optional :: rc

procedure, public :: put_var_real64_2

  • private subroutine put_var_real64_2(this, var_name, values, unusable, start, count, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(NetCDF4_FileFormatter), intent(in) :: this
    character(len=*), intent(in) :: var_name
    real(kind=REAL64), intent(in) :: values(:,:)
    class(KeywordEnforcer), intent(in), optional :: unusable
    integer, intent(in), optional :: start(:)
    integer, intent(in), optional :: count(:)
    integer, intent(out), optional :: rc

procedure, public :: put_var_real64_3

  • private subroutine put_var_real64_3(this, var_name, values, unusable, start, count, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(NetCDF4_FileFormatter), intent(in) :: this
    character(len=*), intent(in) :: var_name
    real(kind=REAL64), intent(in) :: values(:,:,:)
    class(KeywordEnforcer), intent(in), optional :: unusable
    integer, intent(in), optional :: start(:)
    integer, intent(in), optional :: count(:)
    integer, intent(out), optional :: rc

procedure, public :: put_var_real64_4

  • private subroutine put_var_real64_4(this, var_name, values, unusable, start, count, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(NetCDF4_FileFormatter), intent(in) :: this
    character(len=*), intent(in) :: var_name
    real(kind=REAL64), intent(in) :: values(:,:,:,:)
    class(KeywordEnforcer), intent(in), optional :: unusable
    integer, intent(in), optional :: start(:)
    integer, intent(in), optional :: count(:)
    integer, intent(out), optional :: rc

procedure, public :: put_var_string_1

  • private subroutine put_var_string_1(this, var_name, values, unusable, start, count, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(NetCDF4_FileFormatter), intent(in) :: this
    character(len=*), intent(in) :: var_name
    character(len=*), intent(in) :: values(:)
    class(KeywordEnforcer), intent(in), optional :: unusable
    integer, intent(in), optional :: start(:)
    integer, intent(in), optional :: count(:)
    integer, intent(out), optional :: rc

procedure, public :: read

  • private function read(this, unusable, rc) result(cf)

    Arguments

    Type IntentOptional Attributes Name
    class(NetCDF4_FileFormatter), intent(inout) :: this
    class(KeywordEnforcer), intent(in), optional :: unusable
    integer, intent(out), optional :: rc

    Return Value type(FileMetadata), target

procedure, public :: write

  • private subroutine write(this, cf, unusable, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(NetCDF4_FileFormatter), intent(inout) :: this
    type(FileMetadata), intent(in) :: cf
    class(KeywordEnforcer), intent(in), optional :: unusable
    integer, intent(out), optional :: rc

Source Code

   type :: NetCDF4_FileFormatter
!$$      private
      character(len=:), allocatable :: origin_file
      integer :: ncid = -1
      logical :: parallel = .false.
      integer :: comm = -1
      integer :: info = -1
   contains
      procedure :: create
      procedure :: create_par
      procedure :: open
      procedure :: close
      procedure :: read
      procedure :: write
      procedure :: add_variable

#include "new_overload.macro"

      procedure :: ___SUB(get_var,string,1)

      procedure :: ___SUB(get_var,int32,0)
      procedure :: ___SUB(get_var,int32,1)
      procedure :: ___SUB(get_var,int32,2)
      procedure :: ___SUB(get_var,int32,3)
      procedure :: ___SUB(get_var,int32,4)
      procedure :: ___SUB(get_var,int64,0)
      procedure :: ___SUB(get_var,int64,1)
      procedure :: ___SUB(get_var,int64,2)
      procedure :: ___SUB(get_var,int64,3)
      procedure :: ___SUB(get_var,real32,0)
      procedure :: ___SUB(get_var,real32,1)
      procedure :: ___SUB(get_var,real32,2)
      procedure :: ___SUB(get_var,real32,3)
      procedure :: ___SUB(get_var,real32,4)
      procedure :: ___SUB(get_var,real32,5)
      procedure :: ___SUB(get_var,real64,0)
      procedure :: ___SUB(get_var,real64,1)
      procedure :: ___SUB(get_var,real64,2)
      procedure :: ___SUB(get_var,real64,3)
      procedure :: ___SUB(get_var,real64,4)

      procedure :: ___SUB(put_var,string,1)
      procedure :: ___SUB(put_var,int32,0)
      procedure :: ___SUB(put_var,int32,1)
      procedure :: ___SUB(put_var,int32,2)
      procedure :: ___SUB(put_var,int32,3)
      procedure :: ___SUB(put_var,int32,4)
      procedure :: ___SUB(put_var,int64,0)
      procedure :: ___SUB(put_var,int64,1)
      procedure :: ___SUB(put_var,int64,2)
      procedure :: ___SUB(put_var,int64,3)
      procedure :: ___SUB(put_var,real32,0)
      procedure :: ___SUB(put_var,real32,1)
      procedure :: ___SUB(put_var,real32,2)
      procedure :: ___SUB(put_var,real32,3)
      procedure :: ___SUB(put_var,real32,4)
      procedure :: ___SUB(put_var,real32,5)
      procedure :: ___SUB(put_var,real64,0)
      procedure :: ___SUB(put_var,real64,1)
      procedure :: ___SUB(put_var,real64,2)
      procedure :: ___SUB(put_var,real64,3)
      procedure :: ___SUB(put_var,real64,4)


      generic :: get_var => ___SUB(get_var,string,1)
      generic :: get_var => ___SUB(get_var,int32,0)
      generic :: get_var => ___SUB(get_var,int32,1)
      generic :: get_var => ___SUB(get_var,int32,2)
      generic :: get_var => ___SUB(get_var,int32,3)
      generic :: get_var => ___SUB(get_var,int32,4)
      generic :: get_var => ___SUB(get_var,int64,0)
      generic :: get_var => ___SUB(get_var,int64,1)
      generic :: get_var => ___SUB(get_var,int64,2)
      generic :: get_var => ___SUB(get_var,int64,3)
      generic :: get_var => ___SUB(get_var,real32,0)
      generic :: get_var => ___SUB(get_var,real32,1)
      generic :: get_var => ___SUB(get_var,real32,2)
      generic :: get_var => ___SUB(get_var,real32,3)
      generic :: get_var => ___SUB(get_var,real32,4)
      generic :: get_var => ___SUB(get_var,real32,5)
      generic :: get_var => ___SUB(get_var,real64,0)
      generic :: get_var => ___SUB(get_var,real64,1)
      generic :: get_var => ___SUB(get_var,real64,2)
      generic :: get_var => ___SUB(get_var,real64,3)
      generic :: get_var => ___SUB(get_var,real64,4)

      generic :: put_var => ___SUB(put_var,string,1)
      generic :: put_var => ___SUB(put_var,int32,0)
      generic :: put_var => ___SUB(put_var,int32,1)
      generic :: put_var => ___SUB(put_var,int32,2)
      generic :: put_var => ___SUB(put_var,int32,3)
      generic :: put_var => ___SUB(put_var,int32,4)
      generic :: put_var => ___SUB(put_var,int64,0)
      generic :: put_var => ___SUB(put_var,int64,1)
      generic :: put_var => ___SUB(put_var,int64,2)
      generic :: put_var => ___SUB(put_var,int64,3)
      generic :: put_var => ___SUB(put_var,real32,0)
      generic :: put_var => ___SUB(put_var,real32,1)
      generic :: put_var => ___SUB(put_var,real32,2)
      generic :: put_var => ___SUB(put_var,real32,3)
      generic :: put_var => ___SUB(put_var,real32,4)
      generic :: put_var => ___SUB(put_var,real32,5)
      generic :: put_var => ___SUB(put_var,real64,0)
      generic :: put_var => ___SUB(put_var,real64,1)
      generic :: put_var => ___SUB(put_var,real64,2)
      generic :: put_var => ___SUB(put_var,real64,3)
      generic :: put_var => ___SUB(put_var,real64,4)

#include "undo_overload.macro"

      procedure :: inq_var_string_length
      procedure, private :: def_dimensions
      procedure, private :: put_attributes
      procedure, private :: put_var_attributes
      procedure, private :: def_variables

      procedure, private :: inq_dimensions
      procedure, private :: inq_variables
      procedure, private :: inq_attributes
      procedure, private :: inq_var_attributes
      procedure, private :: write_const_variables
      procedure, private :: write_coordinate_variables

      procedure :: inq_dim
      procedure :: is_coordinate_dimension
   end type NetCDF4_FileFormatter