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

Make aerosol output frequency variable #2982

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from

Conversation

WalterKolczynski-NOAA
Copy link
Contributor

@WalterKolczynski-NOAA WalterKolczynski-NOAA commented Oct 4, 2024

Description

The AERO_HISTORY.rc file that controls the GOCART output is turned into a template usint @[ ] syntax to allow for variable output times. A new "parsing" script is created for GOCART that handles parsing the AERO_HISTORY.rc file through atparse. Other manip- ulation of these files is also moved to the new parsing script to be consistent with other components.

A new variable, FHOUT_AERO is introduced to control the output frequency of the GOCART output. This is initially set to 3 to match other components (this is a change from the current value of 6). Since some aerosol fields are also included as part of the atmos output, it may be desirable to meld this back into FHOUT later. However, the atmos output has two frequencies (FHOUT_HF and FHOUT), a feature not supported by other components.

The RUN lists for aero fcst, aero analysis, and waves is simplified to avoid confusion, since there is no need for them to only be set if the components are on.

Resolves #2072

Type of change

  • Bug fix (fixes something broken)
  • New feature (adds functionality)
  • Maintenance (code refactor, clean-up, new CI test, etc.)

Change characteristics

  • Is this a breaking change (a change in existing functionality)? NO
  • Does this change require a documentation update? NO
  • Does this change require an update to any of the following submodules? NO

How has this been tested?

  • S2SWA forecast-only on Hercules (manually modifying AERO_FCST_RUN)

Checklist

  • Any dependent changes have been merged and published
  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have documented my code, including function, input, and output descriptions
  • My changes generate no new warnings
  • New and existing tests pass with my changes
  • This change is covered by an existing CI test or a new one has been added
  • I have made corresponding changes to the system documentation if necessary

DavidHuber-NOAA
DavidHuber-NOAA previously approved these changes Oct 4, 2024
parm/config/gfs/config.base Show resolved Hide resolved
CoryMartin-NOAA
CoryMartin-NOAA previously approved these changes Oct 4, 2024
Copy link
Contributor

@CoryMartin-NOAA CoryMartin-NOAA left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't test but this looks good to me

parm/config/gfs/config.base Show resolved Hide resolved
aerorahul
aerorahul previously approved these changes Oct 4, 2024
Copy link
Contributor

@aerorahul aerorahul left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.
Question:
Not for this PR to address -- how diffferent is the parm/ufs/gocart/AERO_HISTORY.rc file in the global-workflow from the one in ufs-weather-model?

@WalterKolczynski-NOAA
Copy link
Contributor Author

WalterKolczynski-NOAA commented Oct 4, 2024

Looks good. Question: Not for this PR to address -- how diffferent is the parm/ufs/gocart/AERO_HISTORY.rc file in the global-workflow from the one in ufs-weather-model?

@aerorahul Looks like they have already templated the one frequency we use, but not the others. A couple other small changes (also whitespace changes not shown):

diff parm/ufs/gocart/AERO_HISTORY.rc sorc/ufs_model.fd/tests/parm/gocart/AERO_HISTORY.rc.IN -b
384c384
<   inst_aod.frequency:  060000,
---
>   inst_aod.frequency:  @[AOD_FRQ],
390a391
>                        'NIEXTTAU'      , 'NI'       , 'AOD_NI',
405,406c406,407
<   tavg_2d_rad.fields:     'CA.bcEXTTAU' , 'CA.bc' ,
< 			  'CA.ocEXTTAU' , 'CA.oc' ,
---
>   tavg_2d_rad.fields:     'CAEXTTAUCA.bc' , 'CA.bc' ,
>                           'CAEXTTAUCA.oc' , 'CA.oc' ,

(This is against our develop, not the changes in this PR.)

@WalterKolczynski-NOAA WalterKolczynski-NOAA added the CI-Hera-Ready **CM use only** PR is ready for CI testing on Hera label Oct 7, 2024
@emcbot emcbot added CI-Hera-Building **Bot use only** CI testing is cloning/building on Hera and removed CI-Hera-Ready **CM use only** PR is ready for CI testing on Hera labels Oct 7, 2024
@TerrenceMcGuinness-NOAA TerrenceMcGuinness-NOAA removed the CI-Hera-Building **Bot use only** CI testing is cloning/building on Hera label Oct 7, 2024
@WalterKolczynski-NOAA WalterKolczynski-NOAA added the CI-Hera-Ready **CM use only** PR is ready for CI testing on Hera label Oct 7, 2024
@emcbot emcbot added CI-Hera-Building **Bot use only** CI testing is cloning/building on Hera CI-Hera-Running **Bot use only** CI testing on Hera for this PR is in-progress CI-Hera-Failed **Bot use only** CI testing on Hera for this PR has failed and removed CI-Hera-Ready **CM use only** PR is ready for CI testing on Hera CI-Hera-Building **Bot use only** CI testing is cloning/building on Hera CI-Hera-Running **Bot use only** CI testing on Hera for this PR is in-progress labels Oct 7, 2024
@emcbot
Copy link

emcbot commented Oct 8, 2024

Experiment C48_ATM FAILED on Hera in Build# 2 in
/scratch1/NCEPDEV/global/CI/2982/RUNTESTS/EXPDIR/C48_ATM_8a18d626

@emcbot
Copy link

emcbot commented Oct 8, 2024

Experiment C48mx500_3DVarAOWCDA FAILED on Hera in Build# 2 in
/scratch1/NCEPDEV/global/CI/2982/RUNTESTS/EXPDIR/C48mx500_3DVarAOWCDA_8a18d626

@emcbot
Copy link

emcbot commented Oct 8, 2024

Experiment C48_S2SWA_gefs FAILED on Hera in Build# 2 in
/scratch1/NCEPDEV/global/CI/2982/RUNTESTS/EXPDIR/C48_S2SWA_gefs_8a18d626

@emcbot
Copy link

emcbot commented Oct 8, 2024

Experiment C96_atm3DVar FAILED on Hera in Build# 2 in
/scratch1/NCEPDEV/global/CI/2982/RUNTESTS/EXPDIR/C96_atm3DVar_8a18d626

@emcbot
Copy link

emcbot commented Oct 8, 2024

Experiment C48_S2SW FAILED on Hera in Build# 2 in
/scratch1/NCEPDEV/global/CI/2982/RUNTESTS/EXPDIR/C48_S2SW_8a18d626

@emcbot
Copy link

emcbot commented Oct 8, 2024

Experiment C96C48_hybatmaerosnowDA FAILED on Hera in Build# 2 in
/scratch1/NCEPDEV/global/CI/2982/RUNTESTS/EXPDIR/C96C48_hybatmaerosnowDA_8a18d626

@emcbot
Copy link

emcbot commented Oct 8, 2024

Experiment C96C48_hybatmDA FAILED on Hera in Build# 2 in
/scratch1/NCEPDEV/global/CI/2982/RUNTESTS/EXPDIR/C96C48_hybatmDA_8a18d626

@emcbot
Copy link

emcbot commented Oct 8, 2024

Experiment C96C48_ufs_hybatmDA FAILED on Hera in Build# 2 in
/scratch1/NCEPDEV/global/CI/2982/RUNTESTS/EXPDIR/C96C48_ufs_hybatmDA_8a18d626

@emcbot emcbot added CI-Hera-Failed **Bot use only** CI testing on Hera for this PR has failed and removed CI-Hera-Failed **Bot use only** CI testing on Hera for this PR has failed labels Oct 8, 2024
@emcbot
Copy link

emcbot commented Oct 9, 2024

Experiment C48mx500_3DVarAOWCDA FAILED on Hera in Build# 5 in
/scratch1/NCEPDEV/global/CI/2982/RUNTESTS/EXPDIR/C48mx500_3DVarAOWCDA_ee8b3dca

@emcbot
Copy link

emcbot commented Oct 9, 2024

Experiment C96C48_hybatmDA FAILED on Hera in Build# 5 with error logs:

/scratch1/NCEPDEV/global/CI/2982/RUNTESTS/COMROOT/C96C48_hybatmDA_ee8b3dca/logs/2021122100/gdasarch.log

Follow link here to view the contents of the above file(s): (link)

@emcbot
Copy link

emcbot commented Oct 9, 2024

Experiment C96_atm3DVar FAILED on Hera in Build# 5 with error logs:

/scratch1/NCEPDEV/global/CI/2982/RUNTESTS/COMROOT/C96_atm3DVar_ee8b3dca/logs/2021122100/gdasarch.log

Follow link here to view the contents of the above file(s): (link)

@emcbot
Copy link

emcbot commented Oct 9, 2024

Experiment C96C48_hybatmDA FAILED on Hera in Build# 5 in
/scratch1/NCEPDEV/global/CI/2982/RUNTESTS/EXPDIR/C96C48_hybatmDA_ee8b3dca

@emcbot
Copy link

emcbot commented Oct 9, 2024

Experiment C96_atm3DVar FAILED on Hera in Build# 5 in
/scratch1/NCEPDEV/global/CI/2982/RUNTESTS/EXPDIR/C96_atm3DVar_ee8b3dca

@emcbot
Copy link

emcbot commented Oct 9, 2024

Experiment C96C48_ufs_hybatmDA FAILED on Hera in Build# 5 with error logs:

/scratch1/NCEPDEV/global/CI/2982/RUNTESTS/COMROOT/C96C48_ufs_hybatmDA_ee8b3dca/logs/2024022400/gdasarch.log

Follow link here to view the contents of the above file(s): (link)

@emcbot
Copy link

emcbot commented Oct 9, 2024

Experiment C96C48_ufs_hybatmDA FAILED on Hera in Build# 5 in
/scratch1/NCEPDEV/global/CI/2982/RUNTESTS/EXPDIR/C96C48_ufs_hybatmDA_ee8b3dca

@emcbot
Copy link

emcbot commented Oct 10, 2024

Experiment C96C48_hybatmaerosnowDA FAILED on Hera in Build# 5 with error logs:

/scratch1/NCEPDEV/global/CI/2982/RUNTESTS/COMROOT/C96C48_hybatmaerosnowDA_ee8b3dca/logs/2021122100/gfsarch.log

Follow link here to view the contents of the above file(s): (link)

@emcbot
Copy link

emcbot commented Oct 10, 2024

Experiment C96C48_hybatmaerosnowDA FAILED on Hera in Build# 5 in
/scratch1/NCEPDEV/global/CI/2982/RUNTESTS/EXPDIR/C96C48_hybatmaerosnowDA_ee8b3dca

@emcbot emcbot added CI-Hera-Failed **Bot use only** CI testing on Hera for this PR has failed and removed CI-Hera-Failed **Bot use only** CI testing on Hera for this PR has failed labels Oct 10, 2024
@emcbot
Copy link

emcbot commented Oct 10, 2024

CI Failed on Hera in Build# 5
Built and ran in directory /scratch1/NCEPDEV/global/CI/2982


Experiment C96_S2SWA_gefs_replay_ics_ee8b3dca Terminated with 0
FAIL
FAIL tasks failed and 2 dead at Wed Oct  9 21:28:17 UTC 2024
Experiment C96_S2SWA_gefs_replay_ics_ee8b3dca Terminated: *FAIL*
Error logs:
/scratch1/NCEPDEV/global/CI/2982/RUNTESTS/COMROOT/C96_S2SWA_gefs_replay_ics_ee8b3dca/logs/2020110100/fcst_mem001_seg0.log
/scratch1/NCEPDEV/global/CI/2982/RUNTESTS/COMROOT/C96_S2SWA_gefs_replay_ics_ee8b3dca/logs/2020110100/fcst_mem002_seg0.log
Experiment C48mx500_3DVarAOWCDA_ee8b3dca Terminated with 0
FAIL
FAIL tasks failed and 1 dead at Wed Oct  9 22:04:46 UTC 2024
Experiment C48mx500_3DVarAOWCDA_ee8b3dca Terminated: *FAIL*
Error logs:
/scratch1/NCEPDEV/global/CI/2982/RUNTESTS/COMROOT/C48mx500_3DVarAOWCDA_ee8b3dca/logs/2021032418/gdasarch.log
Experiment C96_atm3DVar_ee8b3dca Terminated with 0
FAIL
FAIL tasks failed and 1 dead at Wed Oct  9 22:10:53 UTC 2024
Experiment C96_atm3DVar_ee8b3dca Terminated: *FAIL*
Experiment C96C48_hybatmDA_ee8b3dca Terminated with 0
FAIL
FAIL tasks failed and 1 dead at Wed Oct  9 22:10:54 UTC 2024
Experiment C96C48_hybatmDA_ee8b3dca Terminated: *FAIL*
Error logs:
/scratch1/NCEPDEV/global/CI/2982/RUNTESTS/COMROOT/C96_atm3DVar_ee8b3dca/logs/2021122100/gdasarch.log
Error logs:
/scratch1/NCEPDEV/global/CI/2982/RUNTESTS/COMROOT/C96C48_hybatmDA_ee8b3dca/logs/2021122100/gdasarch.log
Experiment C48_ATM_ee8b3dca Completed 1 Cycles: *SUCCESS* at Wed Oct  9 22:16:59 UTC 2024
Experiment C96C48_ufs_hybatmDA_ee8b3dca Terminated with 0
FAIL
FAIL tasks failed and 1 dead at Wed Oct  9 22:41:34 UTC 2024
Experiment C96C48_ufs_hybatmDA_ee8b3dca Terminated: *FAIL*
Error logs:
/scratch1/NCEPDEV/global/CI/2982/RUNTESTS/COMROOT/C96C48_ufs_hybatmDA_ee8b3dca/logs/2024022400/gdasarch.log
Experiment C48_S2SW_ee8b3dca Completed 1 Cycles: *SUCCESS* at Thu Oct 10 00:08:04 UTC 2024
Experiment C48_S2SWA_gefs_ee8b3dca Completed 1 Cycles: *SUCCESS* at Thu Oct 10 00:14:52 UTC 2024
Experiment C96C48_hybatmaerosnowDA_ee8b3dca Terminated with 0
FAIL
FAIL tasks failed and 1 dead at Thu Oct 10 00:26:23 UTC 2024
Experiment C96C48_hybatmaerosnowDA_ee8b3dca Terminated: *FAIL*
Error logs:
/scratch1/NCEPDEV/global/CI/2982/RUNTESTS/COMROOT/C96C48_hybatmaerosnowDA_ee8b3dca/logs/2021122100/gfsarch.log

@WalterKolczynski-NOAA WalterKolczynski-NOAA added CI-Hera-Ready **CM use only** PR is ready for CI testing on Hera and removed CI-Hera-Failed **Bot use only** CI testing on Hera for this PR has failed labels Oct 10, 2024
@emcbot emcbot added CI-Hera-Building **Bot use only** CI testing is cloning/building on Hera CI-Hera-Running **Bot use only** CI testing on Hera for this PR is in-progress and removed CI-Hera-Ready **CM use only** PR is ready for CI testing on Hera CI-Hera-Building **Bot use only** CI testing is cloning/building on Hera labels Oct 10, 2024
@emcbot
Copy link

emcbot commented Oct 10, 2024

Experiment C96_S2SWA_gefs_replay_ics FAILED on Hera in Build# 6 with error logs:

/scratch1/NCEPDEV/global/CI/2982/RUNTESTS/COMROOT/C96_S2SWA_gefs_replay_ics_059ed644/logs/2020110100/fcst_mem000_seg0.log
/scratch1/NCEPDEV/global/CI/2982/RUNTESTS/COMROOT/C96_S2SWA_gefs_replay_ics_059ed644/logs/2020110100/fcst_mem001_seg0.log
/scratch1/NCEPDEV/global/CI/2982/RUNTESTS/COMROOT/C96_S2SWA_gefs_replay_ics_059ed644/logs/2020110100/fcst_mem002_seg0.log

Follow link here to view the contents of the above file(s): (link)

@emcbot emcbot added CI-Hera-Failed **Bot use only** CI testing on Hera for this PR has failed and removed CI-Hera-Running **Bot use only** CI testing on Hera for this PR is in-progress labels Oct 10, 2024
@emcbot
Copy link

emcbot commented Oct 10, 2024

Experiment C96_S2SWA_gefs_replay_ics FAILED on Hera in Build# 6 in
/scratch1/NCEPDEV/global/CI/2982/RUNTESTS/EXPDIR/C96_S2SWA_gefs_replay_ics_059ed644

@emcbot
Copy link

emcbot commented Oct 10, 2024

Experiment C96C48_hybatmaerosnowDA FAILED on Hera in Build# 6 with error logs:

/scratch1/NCEPDEV/global/CI/2982/RUNTESTS/COMROOT/C96C48_hybatmaerosnowDA_059ed644/logs/2021122100/gfsarch.log

Follow link here to view the contents of the above file(s): (link)

@emcbot
Copy link

emcbot commented Oct 10, 2024

Experiment C96C48_hybatmaerosnowDA FAILED on Hera in Build# 6 in
/scratch1/NCEPDEV/global/CI/2982/RUNTESTS/EXPDIR/C96C48_hybatmaerosnowDA_059ed644

@emcbot emcbot added CI-Hera-Failed **Bot use only** CI testing on Hera for this PR has failed and removed CI-Hera-Failed **Bot use only** CI testing on Hera for this PR has failed labels Oct 10, 2024
@emcbot
Copy link

emcbot commented Oct 10, 2024

CI Failed on Hera in Build# 6
Built and ran in directory /scratch1/NCEPDEV/global/CI/2982


Experiment C96_S2SWA_gefs_replay_ics_059ed644 Terminated with 0
FAIL
FAIL tasks failed and 3 dead at Thu Oct 10 07:47:12 UTC 2024
Experiment C96_S2SWA_gefs_replay_ics_059ed644 Terminated: *FAIL*
Error logs:
/scratch1/NCEPDEV/global/CI/2982/RUNTESTS/COMROOT/C96_S2SWA_gefs_replay_ics_059ed644/logs/2020110100/fcst_mem000_seg0.log
/scratch1/NCEPDEV/global/CI/2982/RUNTESTS/COMROOT/C96_S2SWA_gefs_replay_ics_059ed644/logs/2020110100/fcst_mem001_seg0.log
/scratch1/NCEPDEV/global/CI/2982/RUNTESTS/COMROOT/C96_S2SWA_gefs_replay_ics_059ed644/logs/2020110100/fcst_mem002_seg0.log
Experiment C48mx500_3DVarAOWCDA_059ed644 Completed 2 Cycles: *SUCCESS* at Thu Oct 10 08:25:39 UTC 2024
Experiment C48_ATM_059ed644 Completed 1 Cycles: *SUCCESS* at Thu Oct 10 08:37:46 UTC 2024
Experiment C96C48_hybatmDA_059ed644 Completed 3 Cycles: *SUCCESS* at Thu Oct 10 09:45:53 UTC 2024
Experiment C96_atm3DVar_059ed644 Completed 3 Cycles: *SUCCESS* at Thu Oct 10 09:45:53 UTC 2024
Experiment C96C48_ufs_hybatmDA_059ed644 Completed 3 Cycles: *SUCCESS* at Thu Oct 10 10:23:03 UTC 2024
Experiment C48_S2SW_059ed644 Completed 1 Cycles: *SUCCESS* at Thu Oct 10 10:23:03 UTC 2024
Experiment C96C48_hybatmaerosnowDA_059ed644 Terminated with 0
FAIL
FAIL tasks failed and 1 dead at Thu Oct 10 10:29:11 UTC 2024
Experiment C96C48_hybatmaerosnowDA_059ed644 Terminated: *FAIL*
Error logs:
/scratch1/NCEPDEV/global/CI/2982/RUNTESTS/COMROOT/C96C48_hybatmaerosnowDA_059ed644/logs/2021122100/gfsarch.log
Experiment C48_S2SWA_gefs_059ed644 Completed 1 Cycles: *SUCCESS* at Thu Oct 10 10:29:33 UTC 2024

@DavidHuber-NOAA
Copy link
Contributor

Presumably, this is only temporary until #2943 is complete. DO_AERO should be the only control needed outside of config.base.

I addressed this in #2943, though two additional flags will now be used: DO_AERO_ANL and DO_AERO_FCST.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI-Hera-Failed **Bot use only** CI testing on Hera for this PR has failed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

GOCART AOD files not copied properly
6 participants