Skip to content

Commit

Permalink
Merge branch 'dqwu/scorpio_cam_fix'(PR #3157)
Browse files Browse the repository at this point in the history
CAM fix for scorpio

This PR includes a fix related to scorpio file id usage in CAM.

PR #2771 has fixed similar issues for other
shr_scam_getCloseLatLon calls.

Fixes #2963

[BFB]

* dqwu/scorpio_cam_fix:
  Updating a call to interface shr_scam_getCloseLatLon
  • Loading branch information
singhbalwinder committed Aug 28, 2019
2 parents 282cd31 + 1501d8f commit 2399e4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/cam/src/control/ncdio_atm.F90
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ subroutine infld_real_1d_2d(varname, ncid, dimname1, &
! Specifically, this condition is for when the single column model
! is run in the Spectral Element dycore
cnt(1) = 1
call shr_scam_getCloseLatLon(ncid%fh,scmlat,scmlon,closelat,closelon,latidx,lonidx)
call shr_scam_getCloseLatLon(ncid,scmlat,scmlon,closelat,closelon,latidx,lonidx)
strt(1) = lonidx
ierr = pio_get_var(ncid, varid, strt, cnt, field)

Expand Down

0 comments on commit 2399e4c

Please sign in to comment.