28 dimensions, is_optional, &
31 type(fmsnetcdfdomainfile_t),
intent(inout) :: fileobj
32 character(len=*),
intent(in) :: variable_name
33 class(*),
intent(in),
target :: vdata
34 character(len=*),
dimension(:),
intent(in),
optional :: dimensions
35 logical,
intent(in),
optional :: is_optional
37 integer,
intent(in),
optional :: chunksizes(:)
41 call netcdf_add_restart_variable(fileobj, variable_name, vdata, dimensions, is_optional, &
42 chunksizes=chunksizes)
48 dimensions, is_optional, &
51 type(fmsnetcdfdomainfile_t),
intent(inout) :: fileobj
52 character(len=*),
intent(in) :: variable_name
53 class(*),
dimension(:),
intent(in),
target :: vdata
54 character(len=*),
dimension(:),
intent(in),
optional :: dimensions
55 logical,
intent(in),
optional :: is_optional
57 integer,
intent(in),
optional :: chunksizes(:)
61 call netcdf_add_restart_variable(fileobj, variable_name, vdata, dimensions, is_optional, &
62 chunksizes=chunksizes)
63 if (.not. fileobj%is_readonly)
then
64 call add_domain_attribute(fileobj, variable_name)
71 dimensions, is_optional, &
74 type(fmsnetcdfdomainfile_t),
intent(inout) :: fileobj
75 character(len=*),
intent(in) :: variable_name
76 class(*),
dimension(:,:),
intent(in),
target :: vdata
77 character(len=*),
dimension(:),
intent(in),
optional :: dimensions
78 logical,
intent(in),
optional :: is_optional
80 integer,
intent(in),
optional :: chunksizes(:)
84 call netcdf_add_restart_variable(fileobj, variable_name, vdata, dimensions, is_optional, &
85 chunksizes=chunksizes)
91 dimensions, is_optional, &
94 type(fmsnetcdfdomainfile_t),
intent(inout) :: fileobj
95 character(len=*),
intent(in) :: variable_name
96 class(*),
dimension(:,:,:),
intent(in),
target :: vdata
97 character(len=*),
dimension(:),
intent(in),
optional :: dimensions
98 logical,
intent(in),
optional :: is_optional
100 integer,
intent(in),
optional :: chunksizes(:)
104 call netcdf_add_restart_variable(fileobj, variable_name, vdata, dimensions, is_optional, &
105 chunksizes=chunksizes)
111 dimensions, is_optional, &
114 type(fmsnetcdfdomainfile_t),
intent(inout) :: fileobj
115 character(len=*),
intent(in) :: variable_name
116 class(*),
dimension(:,:,:,:),
intent(in),
target :: vdata
117 character(len=*),
dimension(:),
intent(in),
optional :: dimensions
118 logical,
intent(in),
optional :: is_optional
120 integer,
intent(in),
optional :: chunksizes(:)
124 call netcdf_add_restart_variable(fileobj, variable_name, vdata, dimensions, is_optional, &
125 chunksizes=chunksizes)
131 dimensions, is_optional, &
134 type(fmsnetcdfdomainfile_t),
intent(inout) :: fileobj
135 character(len=*),
intent(in) :: variable_name
136 class(*),
dimension(:,:,:,:,:),
intent(in),
target :: vdata
137 character(len=*),
dimension(:),
intent(in),
optional :: dimensions
138 logical,
intent(in),
optional :: is_optional
140 integer,
intent(in),
optional :: chunksizes(:)
144 call netcdf_add_restart_variable(fileobj, variable_name, vdata, dimensions, is_optional, &
145 chunksizes=chunksizes)
subroutine register_domain_restart_variable_3d(fileobj, variable_name, vdata, dimensions, is_optional, chunksizes)
Add a domain decomposed variable.
subroutine register_domain_restart_variable_1d(fileobj, variable_name, vdata, dimensions, is_optional, chunksizes)
Add a domain decomposed variable.
subroutine register_domain_restart_variable_5d(fileobj, variable_name, vdata, dimensions, is_optional, chunksizes)
Add a domain decomposed variable.
subroutine register_domain_restart_variable_4d(fileobj, variable_name, vdata, dimensions, is_optional, chunksizes)
Add a domain decomposed variable.
subroutine register_domain_restart_variable_0d(fileobj, variable_name, vdata, dimensions, is_optional, chunksizes)
Add a domain decomposed variable.
subroutine register_domain_restart_variable_2d(fileobj, variable_name, vdata, dimensions, is_optional, chunksizes)
Add a domain decomposed variable.