-
Notifications
You must be signed in to change notification settings - Fork 21
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
Upgrade CMAQ from 5.2 to 5.4, Use correct variable for LUFRAC_ and DLUSE #106
base: develop
Are you sure you want to change the base?
Conversation
Feature/rrfs cmaq canopy
Fixed Makefile.in typo.
comment a 'end do', after that, code compiled successfully
turn on according changed codes in local src/ folder
Add files via upload
point to CMAQ 5.4+
Forget to turn on AOD
Feature/cmaq54 li
Need to comment out two lines for writing to OUTDEV and LOGDEV in aqm_dev branch
…urce file and therefore need to put it here
Feature/camq54 ros3
Better handle of the emission unit. This will not impact the simulation results.
Resolve a bug in point source emission. Only the first layer emission is included with his bug, which leads to much lower SO2 simulations.
Fix a bug in point source emission
!tstep( 1 ) = config % ctm_tstep ! TSTEP(1) = local output step | ||
!tstep( 2 ) = tstep( 1 ) ! TSTEP(2) = sciproc sync. step (chem) | ||
!test different tstep(1) and tstep(2) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we're not using this, can this be removed?
@@ -107,7 +119,8 @@ subroutine cmaq_init(rc) | |||
! -- Set up horizontal domain and calculate processor-to-subdomain maps for | |||
! -- process analysis, if required | |||
IF ( LIPR .OR. LIRR ) THEN | |||
IF (aqm_rc_test( .NOT. PAGRD_INIT( NPROCS, MYPE ), & | |||
! IF (aqm_rc_test( .NOT. PAGRD_INIT( NPROCS, MYPE ), & |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we remove this?
@@ -13,7 +13,8 @@ module AQM | |||
implicit none | |||
|
|||
! -- import fields | |||
integer, parameter :: importFieldCount = 36 | |||
integer, parameter :: importFieldCount = 37 | |||
! integer, parameter :: importFieldCount = 45 !with canopy |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
double checking that we're saving this for later canopy changes?
#${localCCTM}/AERO_EMIS.F | ||
#${localCCTM}/PTMAP.F | ||
#${localCCTM}/PT3D_DATA_MOD.F |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we remove these, since we are no longer editing these files locally?
write( logdev,* ) ' NT number of tracer is: ', nt | ||
write( logdev,* ) ' p_aqm_beg/ndiag is:', config % species %p_aqm_beg,'/',config % species % ndiag |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm typically wary of adding verbosity to logs (because they can get overly verbose quickly). Is there any method to supress these unless we specifically want to see these? It doesn't seem to add more than 2 lines, so I wanted to double check if this is indeed something to be kept?
if (aqm_rc_check(localrc, msg="Failed to initialize concentrations", & | ||
file=__FILE__, line=__LINE__, rc=rc)) return | ||
first_step = .false. | ||
if (config % verbose) call cmaq_conc_log(trim(config % name) // ": init") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The indent looks off, should fix.
|
||
REAL, ALLOCATABLE, SAVE :: DD_FAC ( : ) ! combined subexpression | ||
REAL, ALLOCATABLE, SAVE :: DDBF ( : ) ! secondary DDEP | ||
REAL, ALLOCATABLE, SAVE :: CMPF ( : ) ! intermediate CMP | ||
REAl, ALLOCATABLE, SAVE :: CMPF ( : ) ! intermediate CMP |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo
@bbakernoaa If you get some time to address these, i can take some time to implement anything that we think should be updated. |
!tstep( 1 ) = config % ctm_tstep ! TSTEP(1) = local output step | ||
!tstep( 2 ) = tstep( 1 ) ! TSTEP(2) = sciproc sync. step (chem) | ||
!test different tstep(1) and tstep(2) | ||
tstep( 1 ) = 1 * 10000 ! TSTEP(1) = local output step |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@bbakernoaa Just curious if there is a reason why this was written as = 1 * 10000
instead of = 10000
C IF ( AQM_RC_CHECK( LOCALRC, | ||
C & MSG="Failure while reading PNCOM emissions from" // | ||
C & TRIM( ETYPE ) // " emissions", | ||
C & FILE=__FILE__, LINE=__LINE__ ) ) RETURN |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this code commented out? Is there a reason to keep it?
PR Checklist
This PR has been tested on an RDHPCS machine and/or WCOSS2. Please select below:
This PR has been tested with the ufs-srweather-app workflow online-cmaq branch.
New or updated input data is required by this PR.
Baselines are expected to change.
Description
This PR brings in the CMAQ version 5.4 replacing 5.2.1
Issue(s) addressed
Dependencies