Skip to content

Commit

Permalink
Update for reading HYCOM ssh/dp
Browse files Browse the repository at this point in the history
  • Loading branch information
JiliDong-NOAA committed Jun 30, 2017
1 parent a140cb0 commit a7fe096
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/model_specific/hycom/hycom_io.f90
Original file line number Diff line number Diff line change
Expand Up @@ -522,6 +522,7 @@ SUBROUTINE get_hycom(file_in_a,file_in_b,v3d,v2d)
i= index(cline,'=')
read (cline(i+1:),*) nstep,time(1),layer,thbase,hminb,hmaxb
call check_ab("srfhgt ",cline(1:8),hmina,hminb,hmaxa,hmaxb)
v2d(:,:,output_order_2d(1))=dummy_2d
where (abs(dummy_2d-hycom_undef) > hycom_eps) v2d(:,:,output_order_2d(1))=dummy_2d/9.806

! read steric
Expand Down Expand Up @@ -642,6 +643,7 @@ SUBROUTINE get_hycom(file_in_a,file_in_b,v3d,v2d)
i= index(cline,'=')
read (cline(i+1:),*) nstep,time(1),layer,thbase,hminb,hmaxb
call check_ab("thknss ",cline(1:8),hmina,hminb,hmaxa,hmaxb)
v3d(:,:,k,output_order_3d(3))=dummy_2d
where (abs(dummy_2d-hycom_undef) > hycom_eps) v3d(:,:,k,output_order_3d(3))=dummy_2d/9806.

! temp
Expand Down

0 comments on commit a7fe096

Please sign in to comment.