ERROR in run mcip, not SAME DOMAIN

what case this error?
WRF FILES DO NOT SEEM TO BE FROM SAME DOMAIN

  • SUBROUTINE SETUP_WRFEM - READING WRF HEADER
    WRF GRID DIMENSIONS (X,Y,Z) 85 76 33

*** SUBROUTINE: CHKWPSHDR
*** WRF FILES DO NOT SEEM TO BE FROM SAME DOMAIN
*** VARIABLE = DX

*** FIRST FILE = /sqwork/project/rc_cmaq/data/cq_rc_cmaq/wrf/wrfout_d02_2020-05-11_00:00:00
*** VALUE IN FIRST FILE = 1933.333
*** NEW FILE = /sqwork/project/rc_cmaq/data/cq_rc_cmaq/wrf/geo_em.d02.nc
*** VALUE IN NEW FILE = 1933.333


 *** ERROR ABORT in subroutine CHKWPSHDR
 ABNORMAL TERMINATION IN CHKWPSHDR
 Date and time  0:00:00   May 11, 2020    (2020132:000000)

find in code:

rcode = nf90_get_att (cdfid, nf90_global, ‘DX’, rval)

IF ( rcode == nf90_noerr ) THEN

IF ( ABS( rval - met_resoln ) > rtol ) THEN

  WRITE (*,f9000) TRIM(pname), 'DX'

  WRITE (*,f9200) TRIM(fl1), met_resoln, TRIM(fl), rval

  CALL graceful_stop (pname)

ENDIF

ELSE

WRITE (*,f9400) TRIM(pname), 'DX', TRIM(nf90_strerror(rcode))

CALL graceful_stop (pname)

ENDIF

Hi,
Do you have your met_em and geo_em files stored in separate directories? It looks like mcip is reading in a geo_em file where it expects to find a met_em.

Megan

@CN_CODER

Try changing the value of RTOL in chkwpshdr.f90 from 1.0e-4 to 1.0e-3, and recompile. I think the precision is too strict on RTOL for your case.

–Tanya