Skip to content

Commit

Permalink
Add debug output for the container name being read by ExtData.rc
Browse files Browse the repository at this point in the history
gridcomps/ExtData/ExtDataGridCompMod.F90
- At line5 555, add a debug logger call to print out the name of the
  container being read by ExtData.rc.  This can help in finding
  netCDF files that are not compatible with GCHP.

Signed-off-by: Bob Yantosca <[email protected]>
  • Loading branch information
yantosca committed Jan 11, 2024
1 parent 277e83f commit 907ac97
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion gridcomps/ExtData/ExtDataGridCompMod.F90
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

!#include "MAPL_Exceptions.h"
#include "MAPL_Generic.h"
#include "unused_dummy.H"
Expand Down Expand Up @@ -551,7 +552,8 @@ SUBROUTINE Initialize_ ( GC, IMPORT, EXPORT, CLOCK, rc )
if (trim(thisLine) == "%%") then
inBlock = .false.
else

call lgr%debug('Reading this data container: %a', trim(thisLine))
print*, 'Reading this line: ', trim(thisLine)
totalPrimaryEntries = totalPrimaryEntries + 1
! name entry
primary%item(totalPrimaryEntries)%name = trim(thisLine)
Expand Down

0 comments on commit 907ac97

Please sign in to comment.