Skip to content
Discussion options

You must be logged in to vote

Ah, ok I think I found the fix we made to it: this is my qe_moist_convection.F90 starting from line 668:

                  ! State that you have CAPE
                  if (nocape) then
                     nocape = .false.
                     kLFC   = k
                  end if
                  if ((kLZB .eq. 0) .and. (k .eq. 1)) then
                    kLZB = 1 
                  endif 
               end if
            end if
         end if
      end if
   end do

20 end if

The difference is that we added the following:

                  if ((kLZB .eq. 0) .and. (k .eq. 1)) then
                    kLZB = 1 
                  endif 

Hope this helps!

Replies: 3 comments 16 replies

Comment options

You must be logged in to vote
10 replies
@AndrewILWilliams
Comment options

@daw538
Comment options

@ntlewis
Comment options

@sit23
Comment options

sit23 Oct 6, 2025
Maintainer

@Ryan-Boukrouche
Comment options

Comment options

You must be logged in to vote
6 replies
@Ryan-Boukrouche
Comment options

Answer selected by sit23
@AndrewILWilliams
Comment options

@Ryan-Boukrouche
Comment options

@ntlewis
Comment options

@ntlewis
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants