0% found this document useful (0 votes)
62 views1 page

Gls Script Example

Uploaded by

TheNourElden
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
62 views1 page

Gls Script Example

Uploaded by

TheNourElden
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 1
(felisave || a5 (unlock | i | New LAS template Euas Ji erot | cc joiis} ts iss iteJiajiag (curves _| Function List | ll Eolt UD=95: Now title [een ito Outout | Transform | vehala | Poreeky | Pormeab, | Resit(Tomp. | Satur/70c | Goomech, | Morais | Scripting Paramaters LAS version Tops Other LAS tent |_ Display Edit Table [Uose & Fi SPECS UD 95 = New title : New descriction vicls (Calculate | [clearmessages ) Actwe Comments: Type comment forthe formula User stream script: HELP : It porosity as the curve 13, deep resistivity the curve 7, formation water resistivaty the curve 10, and a=0.81, m=1.9, nel.8, Using @ as cure number, Archie vater satur. (Se=SWe=1) can be scripted as rv =@e_ # Sigil @ indicates curve nunbor, ';* separates instructions, and cher # starts conmonts a 20.8 n=19 = 18 F = a/(pha‘n); SN trim (0, (P¥rv/rt)(1/n), 1) # GeolOal is case sensitive, F is not the sone a3 f FUNCTIONS: abst. expt). Int). 1ogl00). sin), cos(), tant). asin{), acos(), etan(). isvelid(), valueOrzero() Indicetor func: and(x.y) -Lat x =y, O4f xy, -999.25 11 dacision fails a6 x,y could be -000.25, fue: ind(x!y.2) =1 11 Geay) and (yez), © if at Teast one condition is false, 928.25 unkiown. To force an enpty result (set it to -999.25) use the function Elank(x,y) or blank (x,y,z) as ore-nultiplier blank(x.y) = -999.25 if Af (xey), Lif» = y, or decision fails as x,y could be -999,25 blank(x.y.2) = -999.25 if if (xe=y) and (ycz). 1 if at Teast one condition is false or unknown blenkOutsade(x,y,2)'* -999,25 if y does not belong to interval x right shiftcurre (in) shifts @ curve dowwerds n depth steps if m0, or upwards n depth steps if n<0 man(x,y) roturns the snaller of x and y, or -999.25 if either x or y are unknown. nax(x,y) returns largor nerge Gy) = cif x is known: = y. if x is unknown or -999,25 [transparency]: merge puts x on top of y avg (d,42) returns average (-999.25 values skipped), min(), max(), merge(), avg() can use 3 or nore curves = USER DEF FUNC Example: def average cy) {return{(valueorzero(x)4valuaOrzero(j)) / (isvalid [«)+isVallé(y)))} ou nay delete the Help above, Please script your code below Output messages, warnings and errors: output messages:

You might also like