Skip to content

Commit

Permalink
Merge pull request #1339 from GEOS-ESM/feature/wjiang/get_var_info
Browse files Browse the repository at this point in the history
more infomation if get_var fails
  • Loading branch information
mathomp4 authored Apr 19, 2022
2 parents f97ed87 + 71e3916 commit ad9f468
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pfio/NetCDF4_get_var.H
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
status = nf90_inq_varid(this%ncid, name=var_name, varid=varid)
!$omp end critical

_VERIFY(status)
_ASSERT(status==0,"Variable not found: "//trim(var_name))
!$omp critical
#if (_RANK == 0)
status = nf90_get_var(this%ncid, varid, values)
Expand Down

0 comments on commit ad9f468

Please sign in to comment.