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 11 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
@WalterKolczynski-NOAA WalterKolczynski-NOAA added the CI-Hercules-Ready **CM use only** PR is ready for CI testing on Hercules label Nov 8, 2024
@emcbot emcbot added CI-Hercules-Building **Bot use only** CI testing is cloning/building on Hercules CI-Hercules-Running **Bot use only** CI testing on Hercules for this PR is in-progress and removed CI-Hercules-Ready **CM use only** PR is ready for CI testing on Hercules CI-Hercules-Building **Bot use only** CI testing is cloning/building on Hercules labels Nov 8, 2024
@emcbot
Copy link

emcbot commented Nov 8, 2024

Experiment C96_S2SWA_gefs_replay_ics FAILED on Hercules in Build# 7 with error logs:

/work2/noaa/global/CI/HERCULES/2982/RUNTESTS/COMROOT/C96_S2SWA_gefs_replay_ics_376faebe/logs/2020110100/gefs_fcst_mem000_seg0.log
/work2/noaa/global/CI/HERCULES/2982/RUNTESTS/COMROOT/C96_S2SWA_gefs_replay_ics_376faebe/logs/2020110100/gefs_fcst_mem001_seg0.log
/work2/noaa/global/CI/HERCULES/2982/RUNTESTS/COMROOT/C96_S2SWA_gefs_replay_ics_376faebe/logs/2020110100/gefs_fcst_mem002_seg0.log

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

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

emcbot commented Nov 8, 2024

Experiment C96_S2SWA_gefs_replay_ics FAILED on Hercules in Build# 7 in
/work2/noaa/global/CI/HERCULES/2982/RUNTESTS/EXPDIR/C96_S2SWA_gefs_replay_ics_376faebe

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

emcbot commented Nov 8, 2024

CI Failed on Hercules in Build# 7
Built and ran in directory /work2/noaa/global/CI/HERCULES/2982


Experiment C48_ATM_376faebe Completed 2 Cycles: *SUCCESS* at Fri Nov  8 06:19:20 CST 2024
Experiment C96_S2SWA_gefs_replay_ics_376faebe Terminated with 0
FAIL
FAIL tasks failed and 3 dead at Fri Nov  8 06:19:37 CST 2024
Experiment C96_S2SWA_gefs_replay_ics_376faebe Terminated: *FAIL*
Error logs:
/work2/noaa/global/CI/HERCULES/2982/RUNTESTS/COMROOT/C96_S2SWA_gefs_replay_ics_376faebe/logs/2020110100/gefs_fcst_mem000_seg0.log
/work2/noaa/global/CI/HERCULES/2982/RUNTESTS/COMROOT/C96_S2SWA_gefs_replay_ics_376faebe/logs/2020110100/gefs_fcst_mem001_seg0.log
/work2/noaa/global/CI/HERCULES/2982/RUNTESTS/COMROOT/C96_S2SWA_gefs_replay_ics_376faebe/logs/2020110100/gefs_fcst_mem002_seg0.log
Experiment C96_atm3DVar_376faebe Completed 3 Cycles: *SUCCESS* at Fri Nov  8 07:38:18 CST 2024
Experiment C96C48_hybatmDA_376faebe Completed 3 Cycles: *SUCCESS* at Fri Nov  8 08:02:42 CST 2024
Experiment C48_S2SW_376faebe Completed 2 Cycles: *SUCCESS* at Fri Nov  8 08:14:53 CST 2024
Experiment C48_S2SWA_gefs_376faebe Completed 1 Cycles: *SUCCESS* at Fri Nov  8 08:33:44 CST 2024

GOCART needs to use the bigger of FHMIN and FHROT when determining
the first output time.
@WalterKolczynski-NOAA WalterKolczynski-NOAA removed the CI-Hercules-Failed **Bot use only** CI testing on Hercules for this PR has failed label Nov 12, 2024
@WalterKolczynski-NOAA WalterKolczynski-NOAA added the CI-Hercules-Ready **CM use only** PR is ready for CI testing on Hercules label Nov 12, 2024
@emcbot emcbot added CI-Hercules-Building **Bot use only** CI testing is cloning/building on Hercules CI-Hercules-Running **Bot use only** CI testing on Hercules for this PR is in-progress and removed CI-Hercules-Ready **CM use only** PR is ready for CI testing on Hercules CI-Hercules-Building **Bot use only** CI testing is cloning/building on Hercules labels Nov 12, 2024
@emcbot
Copy link

emcbot commented Nov 12, 2024

Experiment C96_S2SWA_gefs_replay_ics FAILED on Hercules in Build# 1 with error logs:

/work2/noaa/global/CI/HERCULES/2982/RUNTESTS/COMROOT/C96_S2SWA_gefs_replay_ics_4d85e36f/logs/2020110100/gefs_fcst_mem000_seg0.log

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

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

emcbot commented Nov 12, 2024

Experiment C96_S2SWA_gefs_replay_ics FAILED on Hercules in Build# 1 in
/work2/noaa/global/CI/HERCULES/2982/RUNTESTS/EXPDIR/C96_S2SWA_gefs_replay_ics_4d85e36f

@emcbot
Copy link

emcbot commented Nov 12, 2024

Experiment C48_S2SWA_gefs FAILED on Hercules in Build# 1 with error logs:

/work2/noaa/global/CI/HERCULES/2982/RUNTESTS/COMROOT/C48_S2SWA_gefs_4d85e36f/logs/2021032312/gefs_fcst_mem000_seg0.log
/work2/noaa/global/CI/HERCULES/2982/RUNTESTS/COMROOT/C48_S2SWA_gefs_4d85e36f/logs/2021032312/gefs_fcst_mem001_seg0.log
/work2/noaa/global/CI/HERCULES/2982/RUNTESTS/COMROOT/C48_S2SWA_gefs_4d85e36f/logs/2021032312/gefs_fcst_mem002_seg0.log

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

@emcbot
Copy link

emcbot commented Nov 12, 2024

Experiment C48_S2SWA_gefs FAILED on Hercules in Build# 1 in
/work2/noaa/global/CI/HERCULES/2982/RUNTESTS/EXPDIR/C48_S2SWA_gefs_4d85e36f

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

emcbot commented Nov 12, 2024

CI Failed on Hercules in Build# 1
Built and ran in directory /work2/noaa/global/CI/HERCULES/2982


Experiment C96_S2SWA_gefs_replay_ics_4d85e36f Terminated with 0
FAIL
FAIL tasks failed and 1 dead at Tue Nov 12 11:50:52 CST 2024
Experiment C96_S2SWA_gefs_replay_ics_4d85e36f Terminated: *FAIL*
Error logs:
/work2/noaa/global/CI/HERCULES/2982/RUNTESTS/COMROOT/C96_S2SWA_gefs_replay_ics_4d85e36f/logs/2020110100/gefs_fcst_mem000_seg0.log
Experiment C48_S2SWA_gefs_4d85e36f Terminated with 0
FAIL
FAIL tasks failed and 3 dead at Tue Nov 12 11:57:14 CST 2024
Experiment C48_S2SWA_gefs_4d85e36f Terminated: *FAIL*
Error logs:
/work2/noaa/global/CI/HERCULES/2982/RUNTESTS/COMROOT/C48_S2SWA_gefs_4d85e36f/logs/2021032312/gefs_fcst_mem000_seg0.log
/work2/noaa/global/CI/HERCULES/2982/RUNTESTS/COMROOT/C48_S2SWA_gefs_4d85e36f/logs/2021032312/gefs_fcst_mem001_seg0.log
/work2/noaa/global/CI/HERCULES/2982/RUNTESTS/COMROOT/C48_S2SWA_gefs_4d85e36f/logs/2021032312/gefs_fcst_mem002_seg0.log
Experiment C48_ATM_4d85e36f Completed 2 Cycles: *SUCCESS* at Tue Nov 12 12:39:18 CST 2024
Experiment C48_S2SW_4d85e36f Completed 2 Cycles: *SUCCESS* at Tue Nov 12 14:16:03 CST 2024
Experiment C96_atm3DVar_4d85e36f Completed 3 Cycles: *SUCCESS* at Tue Nov 12 14:52:21 CST 2024
Experiment C96C48_hybatmDA_4d85e36f Completed 3 Cycles: *SUCCESS* at Tue Nov 12 15:46:56 CST 2024

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

Successfully merging this pull request may close these issues.

GOCART AOD files not copied properly
6 participants