Scheduled Downtime
On Friday 21 April 2023 @ 5pm MT, this website will be down for maintenance and expected to return online the morning of 24 April 2023 at the latest

Atmosphere_model fails : Error in compute_layer_mean: pressure should increase with index

This post was from a previous version of the WRF&MPAS-A Support Forum. New replies have been disabled and if you have follow up questions related to this post, then please start a new thread from the forum home page.


New member
Dear MPAS Community

I am running MPAS 7 on a 240-48KM grid but it keeps on failing. I get this error in the log.0000.atmosphere.err file :
ERROR: Error in compute_layer_mean: pressure should increase with index.

When I investigate further I get this message below in the log file and then farther down the model looks like it blows up:

Troubles finding level 100.000 above ground.
Problems first occur at (2)
Surface pressure = 0.00000 hPa.
*** MSLP field will not be computed
Timing for diagnostic computation: 927.653 s
Timing for stream output: 2.49577 s

Does anyone have an idea of what the issue could be ?

Attached are the namelist, streams and log files.

Kind regards

Molulaqhooa Linda Maoyi
PhD Student - University of Cape Town


  • log.atmosphere.0000.out.txt
    251.5 KB · Views: 54
  • namelist.atmosphere.txt
    1.7 KB · Views: 55
  • namelist.init_atmosphere.txt
    1.4 KB · Views: 46
  • streams.atmosphere.txt
    1.7 KB · Views: 44
  • streams.init_atmosphere.txt
    922 bytes · Views: 44
Dear MPAS Community

I have managed to diagnose the error. The issue was that I did not set the the &dimensions parameters to 1 when I created the file.
The model is working fine now,

Kind regards