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

How can I know the variables' dimensions in physics_state[type]?

Hi, allDoes anyone know the name of each dimension of variables in physices_stateFor example, the dimensioon of lat, lon... is columnHow about t,u,v,...? Are they (column, pver)?But pint seems tricky, the vertical level shall be pver + 1.A further question is pver=1 is top of atmosphere or bottom? typephysics_stateinteger::&lchnk,&! chunk indexngrdcol,&! -- Grid -- number of active columns (on the grid)psetcols=0,&! -- -- max number of columns set - if subcols = pcols*psubcols, else = pcolsncol=0! -- -- sum of nsubcol for all ngrdcols - number of active columnsreal(r8),dimension(:),allocatable::&lat,&! latitude (radians) ! lat(col)lon,&! longitude (radians)real(r8),dimension(:,:),allocatable::&!(col,level)??t,&! temperature (K)u,&! zonal wind (m/s)v,&! meridional wind (m/sreal(r8),dimension(:,:),allocatable::&pint,&! interface pressure (Pa)endtypephysics_state
 

hannay

Cecile Hannay
AMWG Liaison
Staff member
This is set in the subroutine physics_state_allocFor isnatnce for t:
allocate(state%t(psetcols,pver), stat=ierr)
allocate(state%pmid(psetcols,pver), stat=ierr) 
 
Top