<div dir="ltr">Hi i am using cru datasets (ts 4.08) for precipitation and potential evapotranspiration. I have done (precip_minus_pet = prc - pet) and then <div>I have used the function 'dim_gamfit_n' to estimate shape and scale parameters for the gamma distribution fitting. <div><br></div><div>However in the next step of spei calculation I need to do the following:</div><div><br></div><div><span style="background-color:rgba(245,248,255,0.5);color:rgb(0,29,53);font-family:monospace;font-size:14px;white-space:pre">spei = gmm_transform(precip_minus_pet, shape, scale)</span> </div><div><br></div><div>I have now all the three data (<span style="background-color:rgba(245,248,255,0.5);color:rgb(0,29,53);font-family:monospace;font-size:14px;white-space:pre">precip_minus_pet, shape, scale)</span> but i don't know if NCL has a gamma transformation function available? I have seen 'cdfgam_p' but I don't know if this corresponds to the gamma transform?. Kindly advise which function can be used in the final step of spei calculation. Many Thx..</div><div><br></div><div>qudsia</div><div><br></div><div><br></div><div><br></div><div> <br><h1 style="padding:5px;font-size:20pt;line-height:22pt;font-family:"lucida sans",verdana,arial,sans-serif;color:rgb(2,83,143);clear:both"><br></h1> </div></div></div>