Project

General

Profile

ERROR in read_netcdf HORIZON

Added by Eva Nowatzki 6 months ago

Dear all,
I wanted to start INT2LM v2.05 with the namelist Parameter
lradtopo = .TRUE.
The external dataset includes HORIZON (with third Dimension nhori) and SKYVIEW as needed, but I get the following Error:

  0:  OPEN: ncdf-file: 
  0:  /pf/b/b380794/ext/ExtData_CECPC5.0_02750_ASTER_plus_SSO_ALB12.nc
  0:  *** ERROR in read_netcdf HORIZON:             0 
  0:  Name of 3rd dimension of HORIZON (nhori) is not valid! Must be "time"!

The simulation does not cancel or fail but it does also not continue until the time is up or I cancel the job by hand.
I would be very grateful for help. Thank you very much!
Eva


Replies (2)

RE: ERROR in read_netcdf HORIZON - Added by Burkhardt Rockel 6 months ago

There has been new lines (from 1475 onwards) implemented in version 2.05 in the subroutine io_utilities.f90 :

      IF (TRIM(dimname3) /= 'time') THEN
        yerrmsg = 'Name of 3rd dimension of '//TRIM(varname)//' ('//TRIM(dimname3)//') is not valid! Must be "time"!'
        PRINT *, '*** ERROR in read_netcdf '//TRIM(varname)//':  ', ierror, TRIM(yerrmsg)
        RETURN
      END IF

please replace these by

      IF (TRIM(dimname3) /= 'time' .AND. TRIM(dimname3) /= 'nhori' .AND. TRIM(dimname3) /= 'nclass_lu') THEN
        yerrmsg = 'Name of 3rd dimension of '//TRIM(varname)// &
                  ' ('//TRIM(dimname3)//') is not valid! Must be "time", "nhori" or "nclass_lu"!'
        PRINT *, '*** ERROR in read_netcdf '//TRIM(varname)//':  ', ierror, TRIM(yerrmsg)
        RETURN

and let me know, if this works.

RE: ERROR in read_netcdf HORIZON - Added by Eva Nowatzki 6 months ago

Thank you very much, it works with the replacement.

    (1-2/2)