Ignore:
Timestamp:
07/04/08 09:21:36 (12 years ago)
Author:
domlowe
Message:

adding debug and cachekey code

File:
1 edited

Legend:

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

    r3761 r3769  
    1717import cdtime 
    1818 
     19import logging 
     20log = logging.getLogger(__name__) 
    1921 
    2022class CSMLLayerMapper(object): 
     
    141143        #create netcdf for whole lat/lon for given dimValues, use to init slab 
    142144        """ 
     145 
     146        log.debug('getSlab(%s, %s)' % (crs, dimValues)) 
     147         
    143148        #unicode conversion 
    144149        for dimval in dimValues: 
     
    172177 
    173178        """ 
    174         return None 
    175         #raise NotImplementedError 
     179        dimList = list(dimValues.items()) 
     180        dimList.sort() 
     181        return '%s:%s' % (crs, dimList) 
    176182 
    177183 
     
    247253 
    248254        """ 
     255 
     256        log.debug('getImage(%s, %s, %s)' % (bbox, width, height)) 
     257         
     258 
    249259        cmap=eval(config['colourmap']) # renderOpts is hook for colourmap, for now use config 
    250260        grid=Grid(self.layer, self._netcdf, bbox, width, height) 
Note: See TracChangeset for help on using the changeset viewer.