Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update topo_module.f90 #625

Merged
merged 1 commit into from
Jul 18, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading