Changeset 5049
- Timestamp:
- 04/03/20 09:30:45 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
IOIPSL/trunk/src/histcom.f90
r4863 r5049 1699 1699 CHARACTER(LEN=7) :: tmp_opp 1700 1700 CHARACTER(LEN=13) :: c_nam 1701 CHARACTER(LEN=20) :: tmpstr, tmpstr21702 1701 LOGICAL :: l_dbg 1703 INTEGER :: initzdim, varzdim1704 1702 !--------------------------------------------------------------------- 1705 1703 CALL ipsldbg (old_status=l_dbg) … … 1729 1727 !- 1730 1728 CALL histvar_seq (idf,pvarname,iv) 1731 !-1732 ! 1.2 Check for variable dimension is the same as declared1733 !-1734 IF (PRESENT(pdata_2d) .OR. PRESENT(pdata_3d)) THEN1735 IF (PRESENT(pdata_2d)) varzdim = SIZE(pdata_2d, DIM=2)1736 IF (PRESENT(pdata_3d)) varzdim = SIZE(pdata_3d, DIM=2)1737 1738 initzdim = W_F(idf)%W_V(iv)%zsize(3)1739 IF (initzdim .NE. varzdim) THEN1740 WRITE(tmpstr, *) initzdim1741 WRITE(tmpstr2, *) varzdim1742 CALL ipslerr(3, "histwrite", "Variable="//pvarname, &1743 "Expected 3rd dimension size: "//TRIM(tmpstr), &1744 "But found: "//TRIM(tmpstr2))1745 ENDIF1746 ENDIF1747 1729 !- 1748 1730 ! 2.0 do nothing for never operation
Note: See TracChangeset
for help on using the changeset viewer.