| About... | Prerequisites | Examples | Home | Bugs | Download | Manual | Links |
Example 5
from pyclimate.pydcdflib import CDFNor,pycdfnor
ncdf = CDFNor()
ncdf.which = 1 # Get the cummulated
# probability out of the
# abscissa, mean and std
ncdf.mean = 0.0
ncdf.sd = 1.0
for ncdf.x in [0,1,2,3,4,5]:
pycdfnor(ncdf) # Processes the 'ncdf'
# object to obtain the
# missing parameter
print "%3.1f %8.5f%%" % (ncdf.x, 100. * ncdf.p)
| |||||||
Contact the
Webmaster