[Dart-dev] DART/branches Revision: 11582

dart at ucar.edu dart at ucar.edu
Tue May 2 13:56:26 MDT 2017


nancy at ucar.edu
2017-05-02 13:56:25 -0600 (Tue, 02 May 2017)
188
there are only 10 unique locations, and then 5 fields
which are all located on those locations.  make the
nc_write_model_atts() only create a locations array
that's 10 long, not 50 long.




Modified: DART/branches/model_mod_changes/models/simple_advection/model_mod.f90
===================================================================
--- DART/branches/model_mod_changes/models/simple_advection/model_mod.f90	2017-05-02 17:55:07 UTC (rev 11581)
+++ DART/branches/model_mod_changes/models/simple_advection/model_mod.f90	2017-05-02 19:56:25 UTC (rev 11582)
@@ -600,7 +600,7 @@
 ! so this routine just needs to write any model-specific
 ! attributes it wants to record.
 
-msize = NVARS*num_grid_points
+msize = int(num_grid_points, i4)
 
 ! Write Global Attributes
 


More information about the Dart-dev mailing list