public final class LisUtil extends Object
Note that most of these utilities are based on LIS meta-data conventions for naming. Based on experience, several common names for each property is being tried (like "WN" and "NAME" for well name etc.).
Unfortunately it is entirely up to the producer of the LIS file to decide the tagging of the information, and there is no guarantee that the methods of this class will work. Experience shows that they often do, however.
Modifier and Type | Method and Description |
---|---|
static Double |
getBitSize(LisFile lisFile)
Return bit size of the specified LIS file.
|
static String |
getCompany(LisFile lisFile)
Return company of the specified LIS file.
|
static String |
getCountry(LisFile lisFile)
Return country of the specified LIS file.
|
static Date |
getDate(LisFile lisFile)
Return date of the specified LIS file.
|
static String |
getFieldName(LisFile lisFile)
Return field name of the specified LIS file.
|
static String |
getRigName(LisFile lisFile)
Return rig name of the specified LIS file.
|
static String |
getRunNumber(LisFile lisFile)
Return run number of the specified LIS file.
|
static Double |
getSampleInterval(LisFile lisFile)
Return the sample interval for the specified LIS file.
|
static String |
getServiceCompany(LisFile lisFile)
Return service company of the specified LIS file.
|
static String |
getWellName(LisFile lisFile)
Return well name of the specified LIS file.
|
static boolean |
isTimeIndexed(LisFile lisFile)
Check if the specified LIS file is time indexed.
|
static String |
toString(LisFile lisFile)
Create a string representation of the entire content
of the specified LIS file.
|
public static String getWellName(LisFile lisFile)
NOTE: This property is not explicitly defined by the format and is known by convention only. The commonly used tags for well name that is applied here is "WN" or "WELL".
lisFile
- LIS file to get well name of. Non-null.IllegalArgumentException
- If lisFile is null.public static String getFieldName(LisFile lisFile)
NOTE: This property is not explicitly defined by the format and is known by convention only. The commonly used tag for field name that is applied here is "FN".
lisFile
- LIS file to get field name of. Non-null.IllegalArgumentException
- If lisFile is null.public static String getCompany(LisFile lisFile)
NOTE: This property is not explicitly defined by the format and is known by convention only. The commonly used tag for company that is applied here is "CN".
lisFile
- LIS file to get company of. Non-null.IllegalArgumentException
- If lisFile is null.public static String getCountry(LisFile lisFile)
NOTE: This property is not explicitly defined by the format and is known by convention only. The commonly used tags for country that is applied here is "NATI" or "CTRY".
lisFile
- LIS file to get country of. Non-null.IllegalArgumentException
- If lisFile is null.public static String getServiceCompany(LisFile lisFile)
NOTE: This property is not explicitly defined by the format and is known by convention only. The commonly used tags for service company that is applied here is "LCON", "LCC" or "SRVC".
lisFile
- LIS file to get service company of. Non-null.IllegalArgumentException
- If lisFile is null.public static String getRigName(LisFile lisFile)
NOTE: This property is not explicitly defined by the format and is known by convention only. The commonly used tag for rig name that is applied here is "RIG".
lisFile
- LIS file to get rig name of. Non-null.IllegalArgumentException
- If lisFile is null.public static String getRunNumber(LisFile lisFile)
NOTE: This property is not explicitly defined by the format and is known by convention only. The commonly used tags for run number that is applied here is "LRUN" or "RUN".
lisFile
- LIS file to get run number of. Non-null.IllegalArgumentException
- If lisFile is null.public static Double getBitSize(LisFile lisFile)
NOTE: This property is not explicitly defined by the format and is known by convention only. The commonly used tags for bit size that is applied here is "BS" or "BS1".
lisFile
- LIS file to get bit size of. Non-null.IllegalArgumentException
- If lisFile is null.public static Date getDate(LisFile lisFile)
NOTE: This property is not explicitly defined by the format and is known by convention only. The commonly used tag for date that is applied here is "DATE".
lisFile
- LIS file to get date of. Non-null.IllegalArgumentException
- If lisFile is null.public static boolean isTimeIndexed(LisFile lisFile)
lisFile
- LIS file to check. Non-nullIllegalArgumentException
- If lisFile is null.public static Double getSampleInterval(LisFile lisFile)
lisFile
- LIS file to get sample interval of. Non-null.IllegalArgumentException
- If lisFile is null.public static String toString(LisFile lisFile)
lisFile
- LIS file to get as string. Non-null.IllegalArgumentException
- If lisFile is null.Copyright © 2024 Petroware AS - https://petroware.no