Skip to content

Commit c7f9f75

Browse files
committed
one more 5d file turned off
1 parent f578fdd commit c7f9f75

File tree

1 file changed

+0
-30
lines changed

1 file changed

+0
-30
lines changed

src/grid/grid_io_1d_template.f90

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ module grid_io
1111
public :: grid_exists
1212
public :: read_grid_3d
1313
public :: read_grid_4d
14-
public :: read_grid_5d
1514
public :: write_grid_3d
1615
public :: write_grid_4d
1716

@@ -29,13 +28,6 @@ module grid_io
2928
module procedure read_grid_4d_int8
3029
end interface read_grid_4d
3130

32-
interface read_grid_5d
33-
module procedure read_grid_5d_sp
34-
module procedure read_grid_5d_dp
35-
module procedure read_grid_5d_int
36-
module procedure read_grid_5d_int8
37-
end interface read_grid_5d
38-
3931
interface write_grid_3d
4032
module procedure write_grid_3d_sp
4133
module procedure write_grid_3d_dp
@@ -71,28 +63,6 @@ end function grid_exists
7163
!!@FOR real(sp):sp real(dp):dp integer:int integer(idp):int8
7264

7365

74-
subroutine read_grid_5d_<T>(group, path, array, geo)
75-
76-
implicit none
77-
78-
integer(hid_t), intent(in) :: group
79-
character(len=*), intent(in) :: path
80-
@T, intent(out) :: array(:,:,:)
81-
type(grid_geometry_desc),intent(in) :: geo
82-
83-
character(len=32) :: geometry_id_check
84-
85-
call mp_read_keyword(group,path, 'geometry', geometry_id_check)
86-
if(geometry_id_check.ne.geo%id) then
87-
call error("read_grid", "geometry IDs do not match")
88-
end if
89-
call mp_read_array(group, path, array)
90-
91-
if(any(is_nan(array))) call error("read_grid_5d", "NaN values in 5D array")
92-
93-
end subroutine read_grid_5d_<T>
94-
95-
9666
subroutine read_grid_4d_<T>(group, path, array, geo)
9767

9868
implicit none

0 commit comments

Comments
 (0)