[Dart-dev] [6451] DART/trunk/observations/DWL/dwl_to_obs.f90: date is day-month-year, not year-month-day

nancy at ucar.edu nancy at ucar.edu
Tue Sep 3 03:18:01 MDT 2013


Revision: 6451
Author:   nancy
Date:     2013-09-03 03:18:01 -0600 (Tue, 03 Sep 2013)
Log Message:
-----------
date is day-month-year, not year-month-day

Modified Paths:
--------------
    DART/trunk/observations/DWL/dwl_to_obs.f90

-------------- next part --------------
Modified: DART/trunk/observations/DWL/dwl_to_obs.f90
===================================================================
--- DART/trunk/observations/DWL/dwl_to_obs.f90	2013-09-03 09:12:29 UTC (rev 6450)
+++ DART/trunk/observations/DWL/dwl_to_obs.f90	2013-09-03 09:18:01 UTC (rev 6451)
@@ -152,8 +152,8 @@
    
    if (debug) print *, 'next observation located at lon, lat = ', lon, lat
    
-   ! date format is: ccyy-mm-dd_hh:nn:ss
-   read(date_string, "(I4,5(1X,I2))", iostat=rcio) year, month, day, hour, minute, second
+   ! date format is: dd-mm-ccyy_hh:nn:ss
+   read(date_string, "(2(I2,1X),I4,3(1X,I2))", iostat=rcio) day, month, year, hour, minute, second
    if (rcio /= 0) then 
       if (debug) print *, 'got bad read code getting next time value, rcio = ', rcio
       if (debug) print *, 'line number ', lcount, ' input line was:'


More information about the Dart-dev mailing list