Changeset 5894


Ignore:
Timestamp:
29/10/09 11:31:38 (10 years ago)
Author:
astephen
Message:

minor changes to make sure date parsed properly.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • nappy/trunk/nappy/nc_interface/nc_to_na.py

    r5368 r5894  
    186186                    if key in items_as_lists: 
    187187                        new_item = overriders[key].split()                  
     188                        if key in ("DATE", "RDATE"): 
     189                            new_item = [int(list_item) for list_item in new_item] 
    188190                    else: 
    189191                        new_item = overriders[key] 
     
    343345 
    344346        if ffi not in compatible_ffis or na_dict["NAUXV"] > 0: 
    345             log.warn("Column Headers are not written for FFIs other than: %s" % str(compatible_ffis)) 
     347            log.debug("Column Headers are not written for FFIs other than: %s" % str(compatible_ffis)) 
    346348            return 
    347349 
Note: See TracChangeset for help on using the changeset viewer.