public final class LasUtil extends Object
Modifier and Type | Method and Description |
---|---|
static double |
computeStep(LasCurve lasCurve)
Compute the step of the specified LAS (index) curve.
|
static double[] |
findStep(LasCurve lasCurve)
Find actual step value of the specified LAS (index) curve, being the distance
between values in the curve.
|
static Double |
getBitSize(LasFile lasFile)
Return bit size of the specified LAS file.
|
static String |
getCompany(LasFile lasFile)
Return company name of the specified LAS file.
|
static String |
getCountry(LasFile lasFile)
Return country of the well of the specified LAS file.
|
static Date |
getDate(LasFile lasFile)
Return logging date from the specified LAS file.
|
static String |
getFieldName(LasFile lasFile)
Return field name of the specified LAS file.
|
static double[] |
getInterval(LasFile lasFile)
Get logging interval of the specified LAS file.
|
static Double |
getMd(LasFile lasFile)
Return MD (measured depth) of the specified LAS file.
|
static String |
getRigName(LasFile lasFile)
Return rig name of the specified LAS file.
|
static String |
getRunNumber(LasFile lasFile)
Return run number of the specified LAS file.
|
static String |
getServiceCompany(LasFile lasFile)
Return service company name of the specified LAS file.
|
static Double |
getStep(LasFile lasFile)
Get logging step of the specified LAS file.
|
static String |
getWellName(LasFile lasFile)
Return well name of the specified LAS file.
|
static boolean |
isTimeIndexed(LasFile lasFile)
Check if the specified LAS file is time indexed.
|
public static String getWellName(LasFile lasFile)
lasFile
- LAS file to get well name from. Non-null.IllegalArgumentException
- If lasFile is null.public static String getFieldName(LasFile lasFile)
lasFile
- LAS file to get field name from. Non-null.IllegalArgumentException
- If lasFile is null.public static String getRunNumber(LasFile lasFile)
lasFile
- LAS file to get run number from. Non-null.IllegalArgumentException
- If lasFile is null.public static String getRigName(LasFile lasFile)
lasFile
- LAS file to get rig name from. Non-null.IllegalArgumentException
- If lasFile is null.public static String getCompany(LasFile lasFile)
lasFile
- LAS file to get company name from. Non-null.IllegalArgumentException
- If lasFile is null.public static String getServiceCompany(LasFile lasFile)
lasFile
- LAS file to get service company name from. Non-null.IllegalArgumentException
- If lasFile is null.public static String getCountry(LasFile lasFile)
lasFile
- LAS file to get country from. Non-null.IllegalArgumentException
- If lasFile is null.public static double[] getInterval(LasFile lasFile)
NOTE: This is the interval specified by the start/stop parameters in the well section, not the actual interval from the file data (which may well be different).
lasFile
- LAS file to get interval from. Non-null.IllegalArgumentException
- If lasFile is null.public static Double getStep(LasFile lasFile)
NOTE: This is the interval specified by the step parameters in the well section, not the actual interval from the file data (which may well be different).
According to the LAS specification the step value is -1.0 in case the actual step is irregular or unknown.
lasFile
- LAS file to get logging step from. Non-null.IllegalArgumentException
- If lasFile is null.public static double[] findStep(LasCurve lasCurve)
lasCurve
- LAS curve to find step from. Non-null.IllegalArgumentException
- If lasCurve is null.public static double computeStep(LasCurve lasCurve)
lasCurve
- LAS curve to compute step of. Non-null.IllegalArgumentException
- If lasCurve is null.public static boolean isTimeIndexed(LasFile lasFile)
A LAS file is defined to be time indexed if the start and stop parameters (STRT/STOP) have time units.
lasFile
- LAS file to check. Non-null.IllegalArgumentException
- If lasFile is null.public static Double getBitSize(LasFile lasFile)
lasFile
- LAS file to get bit size from. Non-null.IllegalArgumentException
- If lasFile is null.public static Date getDate(LasFile lasFile)
lasFile
- LAS file to get logging date from. Non-null.IllegalArgumentException
- If lasFile is null.public static Double getMd(LasFile lasFile)
lasFile
- LAS file to get MD from. Non-null.IllegalArgumentException
- If lasFile is null.Copyright © 2024 Petroware AS - https://petroware.no