Changeset 3668 for DPPP


Ignore:
Timestamp:
25/03/08 10:18:56 (11 years ago)
Author:
spascoe
Message:

Fix time dimension units

Location:
DPPP/ukcip02_server/trunk/ukcip_server
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • DPPP/ukcip02_server/trunk/ukcip_server/development.ini

    r3568 r3668  
    55# 
    66[DEFAULT] 
    7 debug = true 
     7debug = false 
    88# Uncomment and replace with the address which should receive any error reports 
    9 #email_to = you@yourdomain.com 
     9email_to = S.Pascoe@rl.ac.uk 
    1010smtp_server = localhost 
    1111error_email_from = paste@localhost 
     
    4141# Debug mode will enable the interactive debugging tool, allowing ANYONE to 
    4242# execute malicious code after an exception is raised. 
    43 set debug = false 
    4443 
    4544 
  • DPPP/ukcip02_server/trunk/ukcip_server/ukcip_server/model/pywms/impl.py

    r3572 r3668  
    3939        self._layer = SimpleCdmsLayer(cdmsVar, GridClass=GridClass) 
    4040        self.abstract = None 
    41         self.crss = [GridClass.crs] 
     41        self.crss = [GridClass.crs, 'EPSG:27700'] 
    4242        if units: 
    4343            self.units = units 
     
    120120        cmap = get_cmap(self.renderOpts.get('cmap', 'jet')) 
    121121        img = self._renderer.renderGrid(grid, bbox, width, height, cmap) 
    122         img.save('dump.png') 
    123122 
    124123        return img 
  • DPPP/ukcip02_server/trunk/ukcip_server/ukcip_server/model/pywms/wms_cdms.py

    r3570 r3668  
    175175    def __init__(self, timeAxis): 
    176176        self._axis = timeAxis 
    177         self.units = 'ISO 8601' 
     177        self.units = 'ISO8601' 
    178178 
    179179    def _getExtent(self): 
Note: See TracChangeset for help on using the changeset viewer.