Changeset 3670 for TI05-delivery


Ignore:
Timestamp:
25/03/08 12:09:14 (11 years ago)
Author:
domlowe
Message:

second attempt at fixing time string

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI05-delivery/ows_framework/branches/ows_framework-refactor/ows_common/ows_common/service/imps/wms_csmllayer.py

    r3669 r3670  
    178178                    csmltime= csml.csmllibs.csmltime.UDtimeToCSMLtime(cdtime.reltime(float(val), tunits).tocomp()) 
    179179                    self.extent.append(csmltime) 
    180                 self.units='ISO8601' 
    181180            else: 
    182181                for val in domain[dimname]: 
     
    185184            for val in domain[dimname]: 
    186185                self.extent.append(str(val)) 
    187              
     186        #for time axis replace units with iso string 
     187        if dimname == 'time': 
     188            self.units='ISO8601' 
    188189        
    189190class CSMLLayerSlab(object): 
Note: See TracChangeset for help on using the changeset viewer.