ERROR in read_netcdf HORIZON – in #10: INT2LM

in #10: INT2LM

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

  @evanowatzki in #477b224

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

ERROR in read_netcdf HORIZON

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

View in channel

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

      IF (TRIM /= ‘time’) THEN
        yerrmsg = ‘Name of 3rd dimension of ‘//TRIM//’ (‘//TRIM//’) is not valid! Must be “time”!‘
        PRINT *, ‘*** ERROR in read_netcdf ‘//TRIM//’:  ‘, ierror, TRIM
        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.

  @burkhardtrockel in #94d030e

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

      IF (TRIM /= ‘time’) THEN
        yerrmsg = ‘Name of 3rd dimension of ‘//TRIM//’ (‘//TRIM//’) is not valid! Must be “time”!‘
        PRINT *, ‘*** ERROR in read_netcdf ‘//TRIM//’:  ‘, ierror, TRIM
        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.

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

      IF (TRIM /= ‘time’) THEN
        yerrmsg = ‘Name of 3rd dimension of ‘//TRIM//’ (‘//TRIM//’) is not valid! Must be “time”!‘
        PRINT *, ‘*** ERROR in read_netcdf ‘//TRIM//’:  ‘, ierror, TRIM
        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.

Thank you very much, it works with the replacement.

  @evanowatzki in #e63ac7c

Thank you very much, it works with the replacement.

Thank you very much, it works with the replacement.