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

Fix functionality of RBSTATS when using ROS3 #198

Merged
merged 1 commit into from
Jul 6, 2023
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 CCTM/src/gas/ros3/rbdriver.F
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ SUBROUTINE CHEM( CONC, JDATE, JTIME, TSTEP )
INTEGER, ALLOCATABLE, SAVE :: STAT_SUM( :,:,:,: )
INTEGER EDATE, ETIME

REAL ALLOCATABLE, SAVE :: STATOUT( :, :, : )
REAL, ALLOCATABLE, SAVE :: STATOUT( :, :, : )

#endif

Expand Down Expand Up @@ -745,8 +745,8 @@ END SUBROUTINE HETCHEM_UPDATE_AERO

IF ( .NOT. WRITE3( CTM_RBSTATS_1, VSTATS( S ),
& EDATE, ETIME, STATOUT ) ) THEN
XMSG = 'Could not write ' // CTM_RBSTATS_1 // ' file'
CALL M3EXIT( PNAME, JDATE, JTIME, XMSG, XSTAT1 )
MSG = 'Could not write ' // CTM_RBSTATS_1 // ' file'
CALL M3EXIT( PNAME, JDATE, JTIME, MSG, XSTAT1 )
END IF

END DO
Expand Down