Changeset 3954
- Timestamp:
- 27/05/08 16:58:20 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TI05-delivery/ows_framework/branches/ows_framework-refactor/ows_common/ows_common/service/imps/wms_csmllayer.py
r3915 r3954 350 350 v=self._netcdf(layer.title) 351 351 tvar=v(squeeze=1) 352 #array of data 352 #get the min and max values to use for the colourmapping. 353 #change the fill values to ensure they aren't picked up as false max/mins. 354 tvar.missing_value=999999999 353 355 value=tvar.getValue() 354 356 self.minval=min(min(l) for l in value) 357 tvar.missing_value=-0.000000001 358 value=tvar.getValue() 355 359 self.maxval=max(max(l) for l in value) 356 360 357 361 358 362 def getImage(self, bbox, width, height):
Note: See TracChangeset
for help on using the changeset viewer.