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

Typo when setting DO_MYJPBL to true in certain RTs #1814

Closed
gspetro-NOAA opened this issue Jun 29, 2023 · 3 comments · Fixed by #2064
Closed

Typo when setting DO_MYJPBL to true in certain RTs #1814

gspetro-NOAA opened this issue Jun 29, 2023 · 3 comments · Fixed by #2064
Labels
bug Something isn't working

Comments

@gspetro-NOAA
Copy link
Contributor

gspetro-NOAA commented Jun 29, 2023

Description

Some of the regression tests list DO_MYJPBL=.true (no period after .true). It seems like this might not successfully set DO_MYJPBL to true. Thus far, this typo appears in:

  • rrfs_conus13km_hrrr_warm
  • rrfs_conus13km_hrrr_warm_restart_mismatch
  • rrfs_smoke_conus13km_hrrr_warm_debug
  • rrfs_smoke_conus13km_hrrr_warm_debug_2threads
  • rrfs_smoke_conus13km_radar_tten_warm

It may also appear in other tests, although these are the ones where I noticed it.

To Reproduce:

Look at the code! ;)
I am unclear on what the actual effect of this typo is on results, so someone else may want to run these tests and see if DO_MYJPBL is actually getting set to true or if the default .false. value remains because .true is invalid.

Additional context

This may need to be fixed in other RTs; someone will need to verify.

Output

N/A

@gspetro-NOAA gspetro-NOAA added the bug Something isn't working label Jun 29, 2023
@DeniseWorthen
Copy link
Collaborator

There does not appear to be any test remaining which relies on the DO_MYJPBL variable. The only only nml file I could find with that variable present is the regional_atmaq.nml.IN and it is hard-wired false do_myjpbl = .false..

@SamuelTrahanNOAA I believe you were the last person to update/remove these old conus13km tests. Can we remove the DO_MYJPBL variable?

@SamuelTrahanNOAA
Copy link
Collaborator

The typo is still present in default_vars.sh export_hrrr()

export DO_MYJPBL=.true

but the variable is not used anywhere.

I've added a fix to this draft PR:

It should cease to be a draft soon. I was waiting for the original author of module_diag_hailcast.F90 to respond, and now they have.

@DeniseWorthen
Copy link
Collaborator

Great, thanks Sam.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
3 participants