Changeset 3532


Ignore:
Timestamp:
27/02/08 14:32:21 (11 years ago)
Author:
spascoe
Message:

Moving to a different interface between the WMS controller and the
data. interfaces.py now contains ILayer et al. to represent layers
of data.

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

Legend:

Unmodified
Added
Removed
  • DPPP/ukcip02_server/trunk/ukcip_server/ukcip_server/controllers/ukcip_wms.py

    r3495 r3532  
    7676 
    7777        # Dimension handling 
    78         dims = dict(time=self.getOwsParam('time')) 
     78        dims = dict(time=self.getOwsParam('time', default='1961-1-15T0:0:0.0Z,1961-2-1T0:0:0.0Z')) 
    7979 
    8080 
  • DPPP/ukcip02_server/trunk/ukcip_server/ukcip_server/model/pywms/wms_cdms.py

    r3495 r3532  
    44""" 
    55 
    6 from model import Layer, Dimension, Grid 
     6from model import Layer, Grid 
    77import cdtime, cdutil, re 
    88import cdms2 as cdms 
     
    1010import numpy.oldnumeric.ma as MA 
    1111import numpy.oldnumeric as N 
    12  
    1312 
    1413class GridError(Exception): 
     
    159158 
    160159 
    161  
    162 class CdmsTimeDimension(Dimension): 
     160class CdmsTimeDimension(object): 
     161    """ 
     162    @todo: Move to impl.py when interface migration complete. 
     163 
     164    """ 
    163165    def __init__(self, timeAxis): 
    164166        self._axis = timeAxis 
     
    187189 
    188190 
    189 #---------------------------------------------------------------------------------- 
     191 
     192 
     193 
     194#----------------------------------------------------------------------------- 
    190195 
    191196import unittest 
Note: See TracChangeset for help on using the changeset viewer.