[Dart-dev] [5700] DART/branches/development/obs_sequence/obs_seq_coverage.f90: Missed setting the netCDF variable 'ntimes' correctly.

nancy at ucar.edu nancy at ucar.edu
Mon Apr 16 10:03:56 MDT 2012


Revision: 5700
Author:   thoar
Date:     2012-04-16 10:03:56 -0600 (Mon, 16 Apr 2012)
Log Message:
-----------
Missed setting the netCDF variable 'ntimes' correctly.
Had a debug setting. The netCDF variable 'ntimes' now accurately 
reflects the number of times each station is 'reported'. 

This information can also be determined from counting
up the non-missing time values for each station in
the 'ReportTime' variable.

Modified Paths:
--------------
    DART/branches/development/obs_sequence/obs_seq_coverage.f90

-------------- next part --------------
Modified: DART/branches/development/obs_sequence/obs_seq_coverage.f90
===================================================================
--- DART/branches/development/obs_sequence/obs_seq_coverage.f90	2012-04-15 23:16:34 UTC (rev 5699)
+++ DART/branches/development/obs_sequence/obs_seq_coverage.f90	2012-04-16 16:03:56 UTC (rev 5700)
@@ -1266,7 +1266,7 @@
                 start=(/ stationindex /), count=(/ 1 /) ), &
                 'WriteNetCDF', 'put_var:last_time')
 
-   call nc_check(nf90_put_var(ncid, NTimesVarId, (/ ntimes /), &
+   call nc_check(nf90_put_var(ncid, NTimesVarId, (/ stations(stationindex)%ntimes /), &
                 start=istart, count=icount), 'WriteNetCDF', 'put_var:ntimes')
 
    !----------------------------------------------------------------------------


More information about the Dart-dev mailing list