[Dart-dev] DART/branches Revision: 11015

dart at ucar.edu dart at ucar.edu
Tue Feb 7 11:16:30 MST 2017


nancy at ucar.edu
2017-02-07 11:16:30 -0700 (Tue, 07 Feb 2017)
145
it shouldn't be an error to specify more files than
are needed.  change the test to only fail if you
don't have enough input files in the list.




Modified: DART/branches/rma_single_file/io/io_filenames_mod.f90
===================================================================
--- DART/branches/rma_single_file/io/io_filenames_mod.f90	2017-02-07 18:11:08 UTC (rev 11014)
+++ DART/branches/rma_single_file/io/io_filenames_mod.f90	2017-02-07 18:16:30 UTC (rev 11015)
@@ -419,10 +419,10 @@
       ! Check the dimensions of the pointer file
       call find_textfile_dims(trim(fname), nlines)
       if( file_info%single_file ) then
-         if( nlines /= 1 ) then
+         if( nlines < 1 ) then
             write(msgstring,*) 'io_filenames_mod: expecting 1 ', &
                                'files in "', trim(fname), &
-                               '" and only found ', nlines
+                               '" and found ', nlines
             call error_handler(E_ERR,'set_member_file_metadata', msgstring, &
                                source, revision, revdate)
          endif 


More information about the Dart-dev mailing list