The mismatch of the actual and reference date – in #9: CCLM

in #9: CCLM

<p> The is an overflow in an integer precision when calculating a time difference. Actually a bug in the program. <br/> Can you try to replace in src_input.f90 <br/> <pre> iref_act = iref_actsp * 60 + isec - isec_ref !--br 15.05.19 </pre> <br/> by <br/> <pre> iref_act = INT(iref_actsp,int_dp) * 60_int_dp + INT(isec,int_dp) - INT(isec_ref,int_dp) !--br 15.07.20 </pre> <br/> compile <span class="caps"> COSMO </span> - <span class="caps"> CLM </span> and try again? <br/> If this does not work and you are sure that all your input data have the right date you can try to comment out the following lines in src_input.f90 and compile the program again: <br/> <pre> IF (iref_act /= itimepassed) THEN ierror = 10 <span class="caps">ENDIF</span></pre> </p> <p> </p>

  @burkhardtrockel in #b751f8c

<p> The is an overflow in an integer precision when calculating a time difference. Actually a bug in the program. <br/> Can you try to replace in src_input.f90 <br/> <pre> iref_act = iref_actsp * 60 + isec - isec_ref !--br 15.05.19 </pre> <br/> by <br/> <pre> iref_act = INT(iref_actsp,int_dp) * 60_int_dp + INT(isec,int_dp) - INT(isec_ref,int_dp) !--br 15.07.20 </pre> <br/> compile <span class="caps"> COSMO </span> - <span class="caps"> CLM </span> and try again? <br/> If this does not work and you are sure that all your input data have the right date you can try to comment out the following lines in src_input.f90 and compile the program again: <br/> <pre> IF (iref_act /= itimepassed) THEN ierror = 10 <span class="caps">ENDIF</span></pre> </p> <p> </p>

The is an overflow in an integer precision when calculating a time difference. Actually a bug in the program.
Can you try to replace in src_input.f90

       iref_act = iref_actsp * 60 + isec - isec_ref         !--br 15.05.19

by
      iref_act = INT(iref_actsp,int_dp) * 60_int_dp + INT(isec,int_dp) - INT(isec_ref,int_dp)         !--br 15.07.20

compile COSMO - CLM and try again?
If this does not work and you are sure that all your input data have the right date you can try to comment out the following lines in src_input.f90 and compile the program again:
      IF (iref_act /= itimepassed) THEN
        ierror = 10
      ENDIF