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

Updating AQM to CMAQv5.4 #101

Draft
wants to merge 113 commits into
base: develop
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
113 commits
Select commit Hold shift + click to select a range
89e9a4f
Initial commit of rrfs_cmaq_canopy branch.
Feb 10, 2022
e38abcd
Initial copy of canopy photolysis routines.
Feb 11, 2022
539e975
Initial modifications to canopy photolysis CMAQ5.2.1 codes.
Feb 11, 2022
941e235
Updated CMAQ makefiles for modified canopy codes.
Feb 16, 2022
f1d72d1
Added new canopy variables to AQM shared components.
Feb 16, 2022
c8a294c
Added placeholder new canopy variables to aqm cap for fv3.
Feb 16, 2022
5d73df1
Added conditional CANOPY_SHADE environment variable/logical.
Feb 17, 2022
4a5f99e
Updated conditional canopy_yn environment and logicals.
Feb 17, 2022
8d6af39
Fixed bugs.
Feb 17, 2022
d906997
Fixed more bugs.
Feb 17, 2022
bb85b5e
Removed "RETURN" bug and added diagnostic prints.
Feb 24, 2022
07e3800
Removed RETURN bug.
Feb 24, 2022
685de08
Added debug statements
Feb 28, 2022
b00f1c8
Removed debug prints and added canopy variables in DESC3.
Mar 1, 2022
846e1dc
Added some debug prints.
Mar 1, 2022
a816991
Updated debug statemetns
Mar 2, 2022
8c54358
Fixed bug in declaration.
Mar 2, 2022
830986e
Checking CANOPY_SHADE condition..
Mar 3, 2022
cffa402
Updated Canopy debugs
Mar 3, 2022
7d49ad1
Fixed CANOPY_SHADE logic bug and added debug prints.
Mar 3, 2022
c3bc815
Removed extraneous debug prints.
Mar 4, 2022
2a26402
Removed debug prints.
Mar 4, 2022
2ee012f
Fixed allocation/save bug.
Mar 5, 2022
d13f545
Merge pull request #1 from noaa-oar-arl/feature/rrfs_cmaq_canopy
drnimbusrain Mar 21, 2022
6cc3005
Update Makefile.in
drnimbusrain Mar 21, 2022
43c9948
Update Makefile.in
drnimbusrain Mar 21, 2022
0bef3be
Added new canopy file to read for AQM.
drnimbusrain Mar 29, 2022
9b09397
Updated aqm.rc example file.
drnimbusrain Mar 29, 2022
3daa4b6
Updated example aqm.rc for canopy settings and file.
drnimbusrain Mar 30, 2022
cc0d3e2
Initial changes for reading canopy data in AQM.
drnimbusrain Mar 30, 2022
035efa1
Updated aqm_emis_read and aqm.rc for canopy variables.
drnimbusrain Mar 30, 2022
f427465
Updated bug to get aqm_get_config.
drnimbusrain Apr 4, 2022
cb06eff
Merge branch 'NOAA-EMC:develop' into feature/aqm_canopy
drnimbusrain Jun 6, 2022
30bccdb
Updated for local in-canopy modified codes.
drnimbusrain Jun 14, 2022
1c1f758
Moved ASX_DATA_MOD to compile above Phot.F
drnimbusrain Jun 14, 2022
4044777
Updated to remove default ASX_DATA_MOD and phot.F
drnimbusrain Jun 14, 2022
43588af
updates
bbakernoaa Aug 3, 2022
1abdda0
updates
bbakernoaa Aug 3, 2022
11c2262
Revert "updates"
bbakernoaa Aug 3, 2022
9b8d2e0
Revert "updates"
bbakernoaa Aug 3, 2022
ce3e309
initialize feature/pt-source
ytangnoaa Aug 12, 2022
1d7cfe8
Merge branch 'NOAA-EMC:develop' into feature/aqm_canopy
drnimbusrain Aug 19, 2022
2030355
Testing Sub-Canopy phot effects only.
drnimbusrain Aug 25, 2022
10b9b48
Enable CMAQ simplistic scavenging and wet removal in resolved clouds.
rmontuoro Sep 14, 2022
9d67b99
Fix naming inconsistency for convective and nonconvective precipitati…
rmontuoro Sep 14, 2022
ca5bcbc
Properly set compiler flags in GNU build system for fixed source form…
rmontuoro Sep 14, 2022
6b2b80d
Merge branch 'develop' into feature/aqm-rescld-wdep
rmontuoro Sep 16, 2022
1a083c8
enable point source per DE
ytangnoaa Sep 20, 2022
c34b2ec
Merge pull request #4 from NOAA-EMC/develop
ytangnoaa Sep 27, 2022
2939b88
minor update
ytangnoaa Sep 30, 2022
ba58265
Merge pull request #7 from NOAA-EMC/develop
drnimbusrain Oct 4, 2022
d0f2362
Merge branch 'develop' of https://github.com/NOAA-EMC/AQM into featur…
drnimbusrain Oct 4, 2022
026f91d
Merge pull request #8 from noaa-oar-arl/feature/aqm_canopy
drnimbusrain Oct 5, 2022
5dfea1b
Merge pull request #5 from noaa-oar-arl/feature/pt-source
ytangnoaa Oct 5, 2022
4bbaba2
Merge pull request #9 from rmontuoro/feature/aqm-rescld-wdep
zmoon Oct 5, 2022
272bda6
Merge branch 'NOAA-EMC:develop' into develop
zmoon Oct 26, 2022
71ebc0a
Wet deposition fix from @rmontuoro
zmoon Oct 26, 2022
6b496a2
Revert "Wet deposition fix from @rmontuoro"
zmoon Nov 17, 2022
173b767
Merge remote-tracking branch 'upstream/develop' into develop
zmoon Nov 17, 2022
14d6611
Merge remote-tracking branch 'upstream/develop' into develop
zmoon Jan 12, 2023
5ac639d
Fix merge bug
zmoon Jan 13, 2023
4861c20
Remove leftover code in PT3D_DEFN
zmoon Jan 13, 2023
f72f8e9
Remove duplicate (and non-guarded) `CLDPROC` call
zmoon Jan 19, 2023
754c7e6
style
zmoon Jan 19, 2023
3fef8af
Remove duplicate get-config in `aqm_methods`
zmoon Jan 19, 2023
a1cf98c
Remove 'AREA' case in `interpx`
zmoon Jan 19, 2023
c7992a2
Remove fenghsa `em%dens_flag` block
zmoon Jan 19, 2023
2511972
Uncommenting diagnostic prints phot.F
drnimbusrain Jan 23, 2023
b4808e8
Update phot.F
drnimbusrain Jan 23, 2023
d577615
Update phot.F
drnimbusrain Jan 24, 2023
6d4fc27
Update phot.F
drnimbusrain Jan 24, 2023
db3e48d
Revert fixes to get debug mode working with UFSWM debug run (#57)
BrianCurtis-NOAA Feb 7, 2023
ebe14d5
Restricted to FCH and LAI only to match CCPP physics.
drnimbusrain Feb 10, 2023
61ce18a
Fixed bug in IF statement for canopy conditions.
drnimbusrain Feb 10, 2023
5ff25a1
Merge branch 'develop' into feature/aqm_canopy
drnimbusrain Feb 10, 2023
fc3331f
Merge pull request #14 from noaa-oar-arl/feature/aqm_canopy
drnimbusrain Feb 10, 2023
5fd4b74
Merge branch 'prod' into develop
zmoon Feb 10, 2023
795948c
Merge remote-tracking branch 'upstream/develop' into develop
zmoon Mar 24, 2023
d1d28c1
Update CMAQ
bbakernoaa Apr 26, 2023
0a000fe
update CMAQ respository
ytangnoaa May 14, 2023
938a340
update aqm_files.cmake with corresponding code changes in the local /…
lwcugb Jul 21, 2023
5119b7a
Merge pull request #15 from lwcugb/feature/cmaq54_li
lwcugb Jul 22, 2023
1575518
Add files via upload
btang1 Jul 27, 2023
91705ee
Add files via upload
btang1 Jul 28, 2023
6ee0c41
Add files via upload
btang1 Aug 1, 2023
5085bc6
Update centralized_io_module.F
btang1 Aug 1, 2023
77a9805
Add files via upload
btang1 Aug 5, 2023
c702725
Add files via upload
btang1 Aug 5, 2023
37c7dbd
Merge pull request #16 from btang1/feature/cmaq54_beiming
ytangnoaa Aug 7, 2023
6c09037
Add files via upload
btang1 Aug 8, 2023
e2e08b7
Add files via upload
btang1 Aug 9, 2023
a4da052
Add files via upload
btang1 Aug 26, 2023
de38743
Add files via upload
btang1 Aug 26, 2023
584144f
Update ASX_DATA_MOD.F
btang1 Aug 27, 2023
2f507f3
Update o3totcol.f
btang1 Aug 27, 2023
d8f049a
Update vdiffacmx.F
btang1 Sep 1, 2023
9aa4bff
Update aqm_files.cmake
btang1 Sep 1, 2023
8067154
Merge pull request #17 from btang1/feature/cmaq54_beiming
ytangnoaa Sep 1, 2023
18916a2
add localized files
lwcugb Oct 21, 2023
a419a75
Add other modified files
lwcugb Oct 21, 2023
2306c94
Add other modified files
lwcugb Oct 21, 2023
6351dd4
Update .gitmodules
lwcugb Oct 21, 2023
5e768a6
Update aqm_methods.F90
lwcugb Oct 21, 2023
5803ed7
Merge pull request #20 from lwcugb/feature/cmaq54_li
drnimbusrain Oct 21, 2023
4492f16
Update RUNTIME_VARS.F
lwcugb Jan 10, 2024
b33ded4
Change aqm_files.cmake to use ROS3 solver
lwcugb Aug 9, 2024
ff0892f
Add rbdriver.F file to localCCTM folder. There is a typo in CMAQ's so…
lwcugb Aug 9, 2024
c30fe95
Merge pull request #23 from lwcugb/feature/camq54_ros3
ytangnoaa Aug 9, 2024
1de518e
Add files via upload
lwcugb Sep 18, 2024
05a32c1
Update PT3D_STKS_DEFN.F
lwcugb Sep 18, 2024
feff981
Delete some comments for testing purpose
lwcugb Sep 18, 2024
7bfe2e2
Merge pull request #24 from lwcugb/feature/cmaq54
ytangnoaa Sep 18, 2024
584637b
Update CMakeLists.txt
ytangnoaa Sep 23, 2024
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
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[submodule "src/model/CMAQ"]
path = src/model/CMAQ
url = https://github.com/USEPA/CMAQ
branch = 5.2.1
branch = 5.4+
7 changes: 5 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ if(CMAKE_Fortran_COMPILER_ID MATCHES "GNU")
set(CMAKE_Fortran_FLAGS "-ffree-line-length-none -ffixed-line-length-none")
elseif(CMAKE_Fortran_COMPILER_ID MATCHES "Intel")
set(CMAKE_Fortran_FLAGS "-extend-source 132")
set(CMAKE_Fortran_FLAGS_DEBUG "-O0 -g -check bounds -check uninit -fpe0 -fno-alias -ftrapuv -traceback")
set(CMAKE_Fortran_FLAGS_DEBUG "-O0 -g -check all -check noarg_temp_created -fpe0 -fno-alias -ftrapuv -traceback")
# set(CMAKE_Fortran_FLAGS_DEBUG "-O0 -g -check bounds -check uninit -fpe0 -fno-alias -ftrapuv -traceback")
else()
message(WARNING "Fortran compiler with ID ${CMAKE_Fortran_COMPILER_ID} will be used with CMake default options")
endif()
Expand Down Expand Up @@ -93,6 +94,7 @@ target_compile_definitions(CCTM PUBLIC SUBST_FILES_ID="FILES_CTM.EXT"
SUBST_PE_COMM="PE_COMM.EXT"
SUBST_COMM=NOOP_COMM
SUBST_BARRIER=NOOP_BARRIER
SUBST_HI_LO_BND_PE=NOOP_HI_LO_BND_PE
SUBST_SUBGRID_INDEX=NOOP_SUBGRID_INDEX
AQCHEM=DUMMY_AQCHEM
CONVCLD_ACM=DUMMY_CONVCLD_ACM
Expand All @@ -105,7 +107,8 @@ target_compile_definitions(CCTM PUBLIC SUBST_FILES_ID="FILES_CTM.EXT"
WR_INIT=DUMMY_WR_INIT
verbose_aero
verbose_gas
mpas
verbose_cio
# mpas
_AQM_)

# AQM
Expand Down
2 changes: 1 addition & 1 deletion README
Original file line number Diff line number Diff line change
@@ -1 +1 @@

Modified branch to account for in-canopy effects on composition/weather
125 changes: 77 additions & 48 deletions aqm_files.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ list(APPEND aqm_aqmio_files
list(APPEND aqm_ioapi_files
src/io/ioapi/FDESC3.EXT
src/io/ioapi/PARMS3.EXT
src/io/ioapi/IODECL3.EXT
src/io/ioapi/crlf.F
src/io/ioapi/currec.f
src/io/ioapi/currstep.f
Expand All @@ -59,62 +60,70 @@ list(APPEND aqm_ioapi_files
src/io/ioapi/upcase.f
src/io/ioapi/wkday.F
src/io/ioapi/yr2day.F
src/io/ioapi/daymon.F
src/io/ioapi/m3exit.F90
src/io/ioapi/m3mesg.F90
src/io/ioapi/m3msg2.F90
src/io/ioapi/m3warn.F90
src/io/ioapi/m3err.F
src/io/ioapi/m3utilio.F90
)

set(CCTM_ROOT "src/model/CMAQ/CCTM/src")
set(AERO "${CCTM_ROOT}/aero/aero6")
set(BIOG "${CCTM_ROOT}/biog/beis3")
set(BIOG "${CCTM_ROOT}/biog/beis4")
set(MEGAN "${CCTM_ROOT}/biog/megan3")
set(CLOUD "${CCTM_ROOT}/cloud/acm_ae6")
set(DEPV "${CCTM_ROOT}/depv/m3dry")
set(EMIS "${CCTM_ROOT}/emis/emis")
set(GAS "${CCTM_ROOT}/gas/ebi_cb6r3_ae6_aq")
set(GAS "${CCTM_ROOT}/gas/ros3")
set(GRID "${CCTM_ROOT}/grid/cartesian")
set(ICL "${CCTM_ROOT}/ICL/fixed")
set(INIT "${CCTM_ROOT}/init/yamo")
set(MECHS "${CCTM_ROOT}/MECHS/cb6r3_ae6_aq")
set(INIT "${CCTM_ROOT}/init")
set(MECHS "${CCTM_ROOT}/MECHS/cb6r5_ae7_aq")
set(PA "${CCTM_ROOT}/procan/pa")
set(PHOT "${CCTM_ROOT}/phot/inline")
set(PLRISE "${CCTM_ROOT}/plrise/smoke")
set(SPCS "${CCTM_ROOT}/spcs/cgrid_spcs_nml")
set(STM "${CCTM_ROOT}/stm")
set(STENEX "${CCTM_ROOT}/STENEX/noop")
set(UTIL "${CCTM_ROOT}/util/util")
set(VDIFF "${CCTM_ROOT}/vdiff/acm2")
set(VDIFF "${CCTM_ROOT}/vdiff/acm2_m3dry")
set(DRIV "${CCTM_ROOT}/driver")
set(CIO "${CCTM_ROOT}/cio")
set(localCCTM "src/model/src")
list(APPEND aqm_CCTM_files
${AERO}/AERO_DATA.F
${AERO}/aero_driver.F
${AERO}/AERO_EMIS.F
${AERO}/aero_nml_modes.F
${AERO}/AEROMET_DATA.F
${AERO}/AERO_EMIS.F
${AERO}/AEROSOL_CHEMISTRY.F
${AERO}/aero_subs.F
${AERO}/aero_depv.F
${AERO}/AOD_DEFN.F
${AERO}/coags.f
${AERO}/getpar.f
${AERO}/isocom.f
${AERO}/isofwd.f
${AERO}/isorev.f
${AERO}/isrpia.inc
${AERO}/opvis.F
${AERO}/opavis.F
${AERO}/oppmdiag.F
${AERO}/opapmdiag.F
${AERO}/AERO_BUDGET.F
${AERO}/PRECURSOR_DATA.F
${AERO}/PMDIAG_DATA.F
${AERO}/SOA_DEFN.F
${BIOG}/beis3.F
${BIOG}/beis.F
${BIOG}/checkmem.f
${BIOG}/czangle.F
${BIOG}/getparb.f
${BIOG}/hrno.F
${BIOG}/parsline.f
${BIOG}/tmpbeis.F
${BIOG}/wrdaymsg.f
${MEGAN}/MEGAN_DEFN.F
${MEGAN}/megan_gspro.F
${MEGAN}/megan_hrno_mod.F
${MEGAN}/megan_fx_mod.f90
${MEGAN}/BDSNP_MOD.F
${MEGAN}/MAP_CV2CB6_AE7.EXT
${MEGAN}/SPC_CB6_AE7.EXT
${CLOUD}/hlconst.F
${CLOUD}/cldproc_acm.F
${CLOUD}/getalpha.F
Expand All @@ -131,42 +140,43 @@ list(APPEND aqm_CCTM_files
${DEPV}/gas_depv_map.F
${DEPV}/HGSIM.F
${DEPV}/LSM_MOD.F
${DEPV}/MOSAIC_MOD.F
${DEPV}/depv_data_module.F
${DEPV}/opdepv_diag.F
${DEPV}/opdepv_mos.F
${DEPV}/opdepv_fst.F
${DEPV}/m3dry.F
${EMIS}/BEIS_DEFN.F
${EMIS}/BIOG_EMIS.F
${EMIS}/cropcal.F
${EMIS}/EMIS_DEFN.F
${EMIS}/crop_data_module.F
${EMIS}/LTNG_DEFN.F
${EMIS}/LUS_DEFN.F
${EMIS}/MGEMIS.F
${EMIS}/opemis.F
${EMIS}/PTBILIN.F
${EMIS}/SSEMIS.F
${EMIS}/STK_EMIS.F
${EMIS}/STK_PRMS.F
${EMIS}/tfabove.F
${EMIS}/tfbelow.F
${EMIS}/UDTYPES.F
${GAS}/degrade_data.F
${GAS}/degrade.F
${GAS}/DEGRADE_SETUP_TOX.F
${GAS}/final_degrade.F
${GAS}/find_degraded.F
${GAS}/hrdata_mod.F
${GAS}/hrdriver.F
${GAS}/hrg1.F
${GAS}/hrg2.F
${GAS}/hrg3.F
${GAS}/hrg4.F
${GAS}/hrinit.F
${GAS}/hrprodloss.F
${GAS}/hrrates.F
${GAS}/hrsolver.F
${GAS}/init_degrade.F
${EMIS}/biog_emis_param_module.F
${EMIS}/CMAQ_Control_DESID.nml
${EMIS}/desid_param_module.F
${EMIS}/desid_util.F
${EMIS}/desid_vars.F
${EMIS}/desid_module.F
${EMIS}/lus_data_module.F
${EMIS}/stack_group_data_module.F
# ${EMIS}/PT3D_DEFN.F
${EMIS}/PTMET.F
${GAS}/../../reactive_tracers/DEGRADE_PARAMETERS.F
${GAS}/../../reactive_tracers/DEGRADE_ROUTINES.F
${GAS}/rbdata_mod.F
#${GAS}/rbdriver.F
${GAS}/rbdecomp.F
${GAS}/rbfeval.F
${GAS}/rbinit.F
${GAS}/rbjacob.F
${GAS}/rbsolve.F
${GAS}/rbsolver.F
${GAS}/rbsparse.F
${GAS}/../../reactive_tracers/DEGRADE_SETUP_TOX.F
${GRID}/GRID_CONF.F
${GRID}/HGRD_DEFN.F
${GRID}/VGRD_DEFN.F
Expand All @@ -181,29 +191,35 @@ list(APPEND aqm_CCTM_files
${MECHS}/RXNS_DATA_MODULE.F90
${MECHS}/RXNS_FUNC_MODULE.F90
${PA}/PA_DEFN.F
${PA}/budget_defn.F
${PA}/../../hadv/ppm/xy_budget.F
${PA}/pa_update.F
${PA}/PA_IRR_module.F
${PA}/PA_IRR_CTL.F
${PHOT}/CLOUD_OPTICS.F
${PHOT}/complex_number_module.F90
${PHOT}/CSQY_DATA.F
${PHOT}/OMI_1979_to_2015.dat
${PHOT}/OMI_1979_to_2019.dat
${PHOT}/opphot.F
${PHOT}/phot.F
${PHOT}/PHOT_MET_DATA.F
${PHOT}/PHOT_MOD.F
${PHOT}/PHOTOLYSIS_ALBEDO.F
${PHOT}/PHOT_OPTICS.dat
${PHOT}/SEAS_STRAT_O3_MIN.F
${PHOT}/twoway_rrtmg_aero_optics.F90
${PHOT}/concld_prop_acm.F
${PLRISE}/delta_zs.f
${PLRISE}/fire_plmris.F
${PLRISE}/openlayout.F
${PLRISE}/oppt3d_diag.F
${PLRISE}/plmris.F
${PLRISE}/plsprd.f
${PLRISE}/preplm.f
${PLRISE}/ungridb2.f
${PLRISE}/write3_distr.f
${SPCS}/CGRID_SPCS.F
${SPCS}/CGRID_SPCS_TYPES.F
${STM}/STM_VARS.F
${STM}/STM_MODULE.F
${STENEX}/noop_comm_module.f
${STENEX}/noop_data_copy_module.f
${STENEX}/noop_gather_module.f
Expand All @@ -215,32 +231,45 @@ list(APPEND aqm_CCTM_files
${STENEX}/noop_slice_module.f
${STENEX}/noop_term_module.f
${STENEX}/noop_util_module.f
${UTIL}/bmatvec.F
${UTIL}/findex.f
${UTIL}/get_envlist.f
${UTIL}/log_header.F
#${UTIL}/get_env_mod.f90
${UTIL}/setup_logdev.F
${UTIL}/subhdomain.F
${UTIL}/UTILIO_DEFN.F
#${UTIL}/RUNTIME_VARS.F
${UTIL}/util_family_module.F
${UTIL}/CMAQ_Control_Misc.nml
${DRIV}/ELMO_PROC.F
${DRIV}/ELMO_DATA.F
${VDIFF}/aero_sedv.F
${VDIFF}/aero_depv.F
${VDIFF}/conv_cgrid.F
${VDIFF}/matrix1.F
${VDIFF}/opddep.F
${VDIFF}/opddep_fst.F
${VDIFF}/opddep_mos.F
${VDIFF}/rddepv.F
${VDIFF}/SEDIMENTATION.F
${VDIFF}/tri.F
${VDIFF}/VDIFF_DATA.F
${VDIFF}/VDIFF_DIAG.F
${VDIFF}/VDIFF_MAP.F
${VDIFF}/vdiffproc.F
#${CIO}/centralized_io_module.F
${localCCTM}/o3totcol.f
${localCCTM}/vdiffacmx.F
${localCCTM}/PTMAP.F
${localCCTM}/PT3D_DATA_MOD.F
#${localCCTM}/AERO_EMIS.F
#${localCCTM}/PTMAP.F
#${localCCTM}/PT3D_DATA_MOD.F
#rbdriver.F has a typo in CMAQ.Put it back to {GAS} if they solve it in the future
${localCCTM}/rbdriver.F
${localCCTM}/PT3D_DEFN.F
${localCCTM}/PT3D_FIRE_DEFN.F
${localCCTM}/PT3D_STKS_DEFN.F
${localCCTM}/vdiffacmx.F
${localCCTM}/ASX_DATA_MOD.F
${localCCTM}/DUST_EMIS.F
${localCCTM}/AERO_PHOTDATA.F
${localCCTM}/phot.F
${localCCTM}/RUNTIME_VARS.F
${localCCTM}/get_env_mod.f90
${localCCTM}/centralized_io_module.F
${localCCTM}/centralized_io_util_module.F
)
27 changes: 26 additions & 1 deletion examples/aqm.rc
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,31 @@ omi_data: /scratch1/NCEPDEV/nems/Raffaele.Montuoro/dev/aqm/epa/data/omi_cmaq_
# - set to true for cold start
init_concentrations: true

#
# Inline Canopy Effects
#
canopy_yn: true

canopy_type: canopy

canopy_format: netcdf

canopy_file: /scratch2/NAGAPE/arl/Patrick.C.Campbell/canopy_geofiles/gfs.t12z.geo.08.canopy_regrid.nc

canopy_frequency: static

canopy_species::
FCH 1.00000 FCH m
FRT 1.00000 FRT 1
CLU 1.00000 CLU 1
POPU 1.00000 POPU 10000_people/10km2
LAIE 1.00000 LAIE 1
C1R 1.00000 C1R 1
C2R 1.00000 C2R 1
C3R 1.00000 C3R 1
C4R 1.00000 C4R 1
::

#
# Run options:
#
Expand Down Expand Up @@ -83,7 +108,7 @@ ctm_stdout: all
emission_sources: myemis

#
# Emission type: anthropogenic, biogenic, gbbepx, fengsha
# Emission type: anthropogenic, biogenic, gbbepx, fengsha, canopy
#
myemis_type: anthropogenic

Expand Down
10 changes: 10 additions & 0 deletions src/aqm_cap.F90
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ module AQM

! -- import fields
integer, parameter :: importFieldCount = 36
! integer, parameter :: importFieldCount = 45 !with canopy
character(len=*), dimension(importFieldCount), parameter :: &
importFieldNames = (/ &
"canopy_moisture_storage ", &
Expand Down Expand Up @@ -52,6 +53,15 @@ module AQM
"surface_cell_area ", &
"surface_snow_area_fraction ", &
"temperature_of_soil_layer " &
! "forest_canopy_height ", &
! "forest_fraction ", &
! "clumping_index ", &
! "population_density ", &
! "leaf_area_index_eccc ", &
! "cum_lai_frac1_eccc ", &
! "cum_lai_frac2_eccc ", &
! "cum_lai_frac3_eccc ", &
! "cum_lai_frac4_eccc ", &
/)
! -- export fields
integer, parameter :: exportFieldCount = 2
Expand Down
Loading