Skip to content

Commit

Permalink
Merge pull request #625 from clawpack/lengthen-netcdf-var-names
Browse files Browse the repository at this point in the history
Update topo_module.f90
  • Loading branch information
rjleveque authored Jul 18, 2024
2 parents 5379059 + 7f4d10c commit 851b719
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/2d/shallow/topo_module.f90
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ subroutine read_topo_file(mx,my,topo_type,fname,xll,yll,topo)
integer(kind=8) :: i, j, mtot

! NetCDF Support
character(len=10) :: direction, x_dim_name, x_var_name, y_dim_name, &
character(len=64) :: direction, x_dim_name, x_var_name, y_dim_name, &
y_var_name, z_var_name, var_name
! character(len=1) :: axis_string
real(kind=8), allocatable :: nc_buffer(:, :), xlocs(:), ylocs(:)
Expand Down Expand Up @@ -744,8 +744,8 @@ subroutine read_topo_header(fname,topo_type,mx,my,xll,yll,xhi,yhi,dx,dy)
logical, allocatable :: x_in_dom(:),y_in_dom(:)
integer(kind=4) :: dim_ids(2), num_dims, var_type, num_vars, num_dims_tot
integer(kind=4), allocatable :: var_ids(:)
character(len=10) :: var_name, x_var_name, y_var_name, z_var_name
character(len=10) :: x_dim_name, y_dim_name
character(len=64) :: var_name, x_var_name, y_var_name, z_var_name
character(len=64) :: x_dim_name, y_dim_name
integer(kind=4) :: x_var_id, y_var_id, z_var_id, x_dim_id, y_dim_id

verbose = .false.
Expand Down

0 comments on commit 851b719

Please sign in to comment.