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

HAILCAST bug fix (units issue) #320

Merged
merged 1 commit into from
Mar 2, 2024
Merged

HAILCAST bug fix (units issue) #320

merged 1 commit into from
Mar 2, 2024

Conversation

jaymes-kenyon
Copy link

@jaymes-kenyon jaymes-kenyon commented Feb 14, 2024

Description

This corrects a units issue in the HAILCAST diagnostic code. Prior to this fix, the diagnosed hail diameter was labeled in millimeters, but the calculated values (in the output) were actually in meters. This created the perception of very small hail, often just a fraction of a millimeter. The corrected code yields hail diameter in millimeters. Thanks to @adams-selin (HAILCAST developer) for the troubleshooting assistance and the bug fix.

How Has This Been Tested?

This modification has been tested on Hera in a 36-h RRFS retrospective case (CONUS domain). As expected, the diagnosed hail diameters are simply increased by a factor of 1000. As an example, a screenshot is attached of the "hailcast_dhail" array: previous values are shown at left, with updated (corrected) values on the right.

hail

Checklist:

Please check all whether they apply or not

  • [ x] My code follows the style guidelines of this project
  • [ x] I have performed a self-review of my own code
  • [ x] I have commented my code, particularly in hard-to-understand areas
  • [ x] I have made corresponding changes to the documentation
  • [ x] My changes generate no new warnings
  • [ x] Any dependent changes have been merged and published in downstream modules

@jaymes-kenyon jaymes-kenyon marked this pull request as ready for review February 14, 2024 21:01
@MatthewPyle-NOAA
Copy link
Contributor

@junwang-noaa Could you help move this one along? Is fixing an issue for RRFS. Thanks!

@junwang-noaa
Copy link
Collaborator

@bensonr would you please commit the PR? Thanks

@bensonr bensonr merged commit f060e85 into NOAA-GFDL:dev/emc Mar 2, 2024
haiqinli added a commit to haiqinli/GFDL_atmos_cubed_sphere that referenced this pull request Mar 5, 2024
MatthewPyle-NOAA pushed a commit to NOAA-EMC/GFDL_atmos_cubed_sphere that referenced this pull request Mar 19, 2024
… (unit issue) (NOAA-GFDL#320) (#87)

* "include the bugfix in the HAILCAST diagnostic code (unit issue) (NOAA-GFDL#320)"

* "to output the average of smoke and dust"
zhanglikate added a commit to zhanglikate/GFDL_atmos_cubed_sphere that referenced this pull request Apr 30, 2024
commit 9711488
Author: Rusty Benson <[email protected]>
Date:   Wed Apr 17 08:41:41 2024 -0400

    Address compiler warnings for FV3 raised in an issue (NOAA-GFDL#324)

    * give istatus a value on exit from hailcast_init

    * fix issues with declared out variables in test_cases.F90

    * fix out of range default integers, eol spaces, and remove delz argument from set_regional_BCs in fv_regional_bc.F90

    * removed -nowarn from Intel compiler flags

    * added suggested ifdef to remove goto warning as per operations

commit 0301022
Author: Samuel Trahan (NOAA contractor) <[email protected]>
Date:   Fri Apr 12 20:02:26 2024 -0400

    nesting bug fixes for uninitialized variable in fv3 and incorrect tile number in fv3atm (NOAA-GFDL#331)

    * pass global tile up to model

    * bug fix: initialize hailwat variable

commit f060e85
Author: Jaymes Kenyon <[email protected]>
Date:   Fri Mar 1 22:23:31 2024 -0500

    Correct a bug in the HAILCAST diagnostic code (units issue) (NOAA-GFDL#320)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants