Scheduled Downtime
On Tuesday 24 October 2023 @ 5pm MT the forums will be in read only mode in preparation for the downtime. On Wednesday 25 October 2023 @ 5am MT, this website will be down for maintenance and expected to return online later in the morning.
Normal Operations
The forums are back online with normal operations. If you notice any issues or errors related to the forums, please reach out to help@ucar.edu

shr_assert_in_domain: state%ps has invalid value

Hi,I am getting error such as state%ps has invalid value during writing the first time step to the histroy fileand report problem such as  ERROR: shr_assert_in_domain: state%ps has invalid value 
                       NaN  at location:             1Any help regarding this will be highly valuableThanks in advance Problem are as:WSHIST: writing time sample   0 to h-file 1 DATE=0000/01/01 NCSEC=     0
 
 WSHIST: nhfil(            1 )=camrun.cam.h0.0000-01-01-00000.nc
 Opening netcdf history file camrun.cam.h0.0000-01-01-00000.nc
 Opened file camrun.cam.h0.0000-01-01-00000.nc to write       524288
 H_DEFINE: Successfully opened netcdf file
 nstep, te        1                      -Inf   0.33204137999815559E+10                       NaN                      -Inf
 ERROR: shr_assert_in_domain: state%ps has invalid value 
                       NaN  at location:             1
 Expected value to be a number.
(shr_sys_abort) ERROR: NaN produced in physics_state by package before tphysbc (dycore?
(shr_sys_abort) WARNING: calling shr_mpi_abort() and stopping
--------------------------------------------------------------------------
MPI_ABORT was invoked on rank 16 in communicator MPI_COMM_WORLD
with errorcode 1001.

NOTE: invoking MPI_ABORT causes Open MPI to kill all MPI processes.
You may or may not see output from other processes, depending on
exactly when Open MPI kills them.
 
Top