Changeset 3749 for TI05-delivery


Ignore:
Timestamp:
03/04/08 17:03:02 (11 years ago)
Author:
domlowe
Message:

fix to unicode problem in multidimensional subsetting

File:
1 edited

Legend:

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

    r3689 r3749  
    9999 
    100100    def __init__(self, title, abstract, dimensions, units, crss, feature): 
     101        self.featureInfoFormats=None #NotImplemented 
    101102        self.title=title 
    102103        self.abstract=abstract 
     
    137138        #create netcdf for whole lat/lon for given dimValues, use to init slab 
    138139        """ 
     140        #unicode conversion 
     141        for dimval in dimValues: 
     142            if dimval != 'time': 
     143                dimValues[dimval]=float(dimValues[dimval]) 
    139144        if type(self._feature) == csml.parser.GridSeriesFeature: 
    140145            randomname= csml.csmllibs.csmlextra.getRandomID() + '.nc' 
Note: See TracChangeset for help on using the changeset viewer.