Description
I am getting the following error when running capgen. In the Fortran code, the actual code (not the comments) is all lowercase because of Codee formatting. In the metadata, it's still uppercase (GFS_stateout vs gfs_stateout). If I lowercase the metadata to match the Fortran code, the error goes away.
Reading host model data from /home/dom/work/neptune-atmos/nep-capgen/external/ccpp/ccpp-physics/physics/Radiation/RRTMG/radsw_param.meta
Reading host model data from /home/dom/work/neptune-atmos/nep-capgen/external/ccpp/ccpp-physics/physics/Radiation/RRTMG/radlw_param.meta
Reading host model data from /home/dom/work/neptune-atmos/nep-capgen/external/ccpp/ccpp-physics/physics/photochem/module_ozphys.meta
Reading host model data from /home/dom/work/neptune-atmos/nep-capgen/external/ccpp/ccpp-physics/physics/photochem/module_h2ophys.meta
Reading host model data from /home/dom/work/neptune-atmos/nep-capgen/external/ccpp/ccpp-physics/physics/MP/TEMPO/TEMPO/module_mp_tempo_params.meta
Reading host model data from /home/dom/work/neptune-atmos/nep-capgen/external/ccpp/ccpp-physics/physics/SFC_Models/Land/Noahmp/lnd_iau_mod.meta
Reading host model data from /home/dom/work/neptune-atmos/nep-capgen/external/ccpp/data/CCPP_typedefs_module.meta
Reading host model data from /home/dom/work/neptune-atmos/nep-capgen/external/ccpp/data/GFS_typedefs_module.meta
No matching Fortran routine found for GFS_stateout_type in /home/dom/work/neptune-atmos/nep-capgen/external/ccpp/data/GFS_typedefs_module.F90
'
CMake Error at external/ccpp/CMakeLists.txt:134 (message):
ccpp_capgen.py FAILED: result = 1
-- Configuring incomplete, errors occurred!
Steps to Reproduce
See above. Should be reproducible by uppercasing names in one of the metadata files in the existing capgen tests.
Additional Context
n/a
Output
See above.
Description
I am getting the following error when running capgen. In the Fortran code, the actual code (not the comments) is all lowercase because of Codee formatting. In the metadata, it's still uppercase (GFS_stateout vs gfs_stateout). If I lowercase the metadata to match the Fortran code, the error goes away.
Steps to Reproduce
See above. Should be reproducible by uppercasing names in one of the metadata files in the existing capgen tests.
Additional Context
n/a
Output
See above.