Changeset 579 in lmdz_wrf for trunk/tools


Ignore:
Timestamp:
Jul 7, 2015, 12:23:58 PM (10 years ago)
Author:
lfita
Message:

Adding what happens if there is not 'exact values'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/validation_sim.py

    r573 r579  
    17981798
    17991799exacttvalues = np.array(exacttvalues0, dtype=np.float)
    1800 Nexactt = len(exacttvalues[:,0])
     1800print 'Lluis: shapes exactvalues:',exacttvalues.shape
     1801
     1802if len(exacttvalues) == 0:
     1803    print warnmsg
     1804    print '  ' + main + ': no exact values found!'
     1805    Nexactt = 0
     1806else:
     1807    Nexactt = len(exacttvalues[:,0])
    18011808
    18021809print main + ': found',Nexactt,'Temporal exact values in simulation and observations'
Note: See TracChangeset for help on using the changeset viewer.