public final class DlisUtil extends Object
Note that most of these utilities are based on DLIS metadata conventions for naming. Based on experience, several common names for each property is being tried (like "WELL-NAME" and "WN" for well name etc.).
Unfortunately it is entirely up to the producer of the DLIS 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 String |
getAbovePermanentDatum(DlisFile dlisFile)
Return the "above permanent datum" of the specified DLIS file.
|
static Double |
getBitSize(DlisFile dlisFile)
Return bit size of the specified DLIS file.
|
static String |
getCompany(DlisFile dlisFile)
Return the company of the specified DLIS file.
|
static String |
getCountry(DlisFile dlisFile)
Return country of the well of the specified DLIS file.
|
static String |
getDrillingMeasuredFrom(DlisFile dlisFile)
Return the "drilling measure from" of the specified DLIS file.
|
static String |
getFieldName(DlisFile dlisFile)
Return the field name of the specified DLIS file.
|
static Set<String> |
getGenericToolNames(DlisFile dlisFile)
Return list of generic tool names of the specified DLIS file.
|
static String |
getHeaderIdentifier(DlisFile dlisFile)
Return the header identifier (parameter "HIDE") from the specified
DLIS file.
|
static String |
getId(DlisFile dlisFile)
Return the ID of the specified DLIS file, i.e.
|
static DlisFrame.IndexType |
getIndexType(DlisFile dlisFile)
Return the index type of the specified DLIS file.
|
static double[] |
getInterval(DlisFile dlisFile)
Return the logging interval for the specified DLIS file.
|
static String |
getLatitude(DlisFile dlisFile)
Return the latitude coordinate of the well of the specified DLIS file.
|
static String |
getLocation(DlisFile dlisFile)
Return the location of the field of the specified DLIS file.
|
static String |
getLoggingMeasuredFrom(DlisFile dlisFile)
Return the "logging measured from" of the specified DLIS file.
|
static String |
getLongitude(DlisFile dlisFile)
Return the longitude coordinate of the well of the specified DLIS file.
|
static Double |
getMd(DlisFile dlisFile)
Return MD (measured depth) of the specified DLIS file.
|
static String |
getPermanentDatum(DlisFile dlisFile)
Return the permanent datum of the specified DLIS file.
|
static String |
getProducerName(DlisFile dlisFile)
Return the producer (company) of the specified DLIS file.
|
static String |
getRigName(DlisFile dlisFile)
Return the rig name of the specified DLIS file.
|
static String |
getRunNumber(DlisFile dlisFile)
Return run number of the specified DLIS file.
|
static int |
getSequenceNumber(DlisFile dlisFile)
Return the sequence number (i.e order of sub files within a
disk file) of this DLIS file.
|
static Date |
getStartDate(DlisFile dlisFile)
Return start date of operation of the specified DLIS file.
|
static String |
getWellName(DlisFile dlisFile)
Return the well name of the specified DLIS file.
|
static void |
setWellName(DlisFile dlisFile,
String wellName)
Set well name in the specified DLIS file.
|
static String |
toString(DlisFile dlisFile)
Create a string representation of the entire content
of the specified DLIS file.
|
public static int getSequenceNumber(DlisFile dlisFile)
dlisFile
- DLIS file to find sequence number of. Non-null.IllegalArgumentException
- If dlisFile is null.public static String getId(DlisFile dlisFile)
dlisFile
- DLIS file to find ID of. Non-null.IllegalArgumentException
- If dlisFile is null.public static String getRunNumber(DlisFile dlisFile)
NOTE: This property is not explicitly defined by the format and is known by convention only. The commonly used tag for run number that is applied here is primarily "RUN", then "RNUM" from some set.
dlisFile
- DLIS file to get run number of. Non-null.IllegalArgumentException
- If dlisFile is null.public static String getHeaderIdentifier(DlisFile dlisFile)
dlisFile
- DLIS file to get header identifier of. Non-null.IllegalArgumentException
- If dlisFile is null.public static Set<String> getGenericToolNames(DlisFile dlisFile)
NOTE: This property is not explicitly defined by the format and is known by convention only. The commonly used tag for tool names that is applied here is "GENERIC-NAME" from the "TOOL" set.
dlisFile
- DLIS file to get generic tool names of. Non-null.IllegalArgumentException
- If dlisFile is null.public static String getWellName(DlisFile dlisFile)
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 "WELL-NAME" or "WN" from the "ORIGIN" set.
dlisFile
- DLIS file to get well name of. Non-null.IllegalArgumentException
- If dlisFile is null.public static void setWellName(DlisFile dlisFile, String wellName)
dlisFile
- DLIS file to update. Non-null.wellName
- New well name. Non-null.IllegalArgumentException
- If dlisFile or wellName is null.public static String getFieldName(DlisFile dlisFile)
NOTE: This property is not explicitly defined by the format and is known by convention only. The commonly used tags for field name that is applied here is "FIELD-NAME" or "FN" from the "ORIGIN" set.
dlisFile
- DLIS file to get field name of. Non-null.IllegalArgumentException
- If dlisFile is null.public static String getProducerName(DlisFile dlisFile)
NOTE: This property is not explicitly defined by the format and is known by convention only. The commonly used tag for producer name that is applied here is "PRODUCER-NAME" from the "ORIGIN" set.
dlisFile
- DLIS file to get producer name of. Non-null.IllegalArgumentException
- If dlisFile is null.public static String getCompany(DlisFile dlisFile)
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 "COMPANY" from the "ORIGIN" set.
dlisFile
- DLIS file to get company of. Non-null.IllegalArgumentException
- If dlisFile is null.public static String getCountry(DlisFile dlisFile)
NOTE: This property is not explicitly defined by the format and is known by convention only. The commonly used tags for company that is applied here is "NATI" or "STAT" from the "ORIGIN" set.
dlisFile
- DLIS file to get country of. Non-null.IllegalArgumentException
- If dlisFile is null.public static Date getStartDate(DlisFile dlisFile)
NOTE: This property is not explicitly defined by the format and is known by convention only. The commonly used tag for start date that is applied here is primarily "DLAB", then "LSTM" from some set.
dlisFile
- DLIS file to get start date of. Non-null.IllegalArgumentException
- If dlisFile is null.public static Double getBitSize(DlisFile dlisFile)
NOTE: This property is not explicitly defined by the format and is known by convention only. The commonly used tag for bit size that is applied here is "BS" from some set.
dlisFile
- DLIS file to get bit size of. Non-null.IllegalArgumentException
- If dlisFile is null.public static Double getMd(DlisFile dlisFile)
NOTE: This property is not explicitly defined by the format and is known by convention only. The commonly used tags for MD that is applied here is "MTZD" or "DEPTH_CMR_SL" from some set.
dlisFile
- DLIS file to get MD of. Non-null.IllegalArgumentException
- If dlisFile is null.public static DlisFrame.IndexType getIndexType(DlisFile dlisFile)
dlisFile
- DLIS file to get index type of. Non-null.IllegalArgumentException
- If dlisFile is null.public static String getLatitude(DlisFile dlisFile)
NOTE: This property is not explicitly defined by the format and is known by convention only. The commonly used tag for run number that is applied here is "LATI" from some set.
dlisFile
- DLIS file to get latitude coordinate of. Non-null.IllegalArgumentException
- If dlisFile is null.public static String getLongitude(DlisFile dlisFile)
NOTE: This property is not explicitly defined by the format and is known by convention only. The commonly used tag for run number that is applied here is "LONG" from some set.
dlisFile
- DLIS file to get longitude coordinate of. Non-null.IllegalArgumentException
- If dlisFile is null.public static String getRigName(DlisFile dlisFile)
NOTE: This property is not explicitly defined by the format and is known by convention only. The commonly used tag for run number that is applied here is "RIGN" from some set.
dlisFile
- DLIS file to get rig name of. Non-null.IllegalArgumentException
- If dlisFile is null.public static String getLocation(DlisFile dlisFile)
NOTE: This property is not explicitly defined by the format and is known by convention only. The commonly used tag for run number that is applied here is "FL" from some set.
dlisFile
- DLIS file to get location of. Non-null.IllegalArgumentException
- If dlisFile is null.public static String getPermanentDatum(DlisFile dlisFile)
NOTE: This property is not explicitly defined by the format and is known by convention only. The commonly used tag for run number that is applied here is "PDAT" from some set.
dlisFile
- DLIS file to get permanent datum of. Non-null.IllegalArgumentException
- If dlisFile is null.public static String getLoggingMeasuredFrom(DlisFile dlisFile)
NOTE: This property is not explicitly defined by the format and is known by convention only. The commonly used tag for run number that is applied here is "LMF" from some set.
dlisFile
- DLIS file to get "logging measure from" of. Non-null.IllegalArgumentException
- If dlisFile is null.public static String getDrillingMeasuredFrom(DlisFile dlisFile)
NOTE: This property is not explicitly defined by the format and is known by convention only. The commonly used tag for run number that is applied here is "DMF" from some set.
dlisFile
- DLIS file to get "drilling measure from" of. Non-null.IllegalArgumentException
- If dlisFile is null.public static String getAbovePermanentDatum(DlisFile dlisFile)
NOTE: This property is not explicitly defined by the format and is known by convention only. The commonly used tag for run number that is applied here is "APD" from some set.
dlisFile
- DLIS file to get "above permanent datum" of. Non-null.IllegalArgumentException
- If dlisFile is null.public static double[] getInterval(DlisFile dlisFile)
dlisFile
- DLIS file to get interval of. Non-null.IllegalArgumentException
- If dlisFile is null.public static String toString(DlisFile dlisFile)
dlisFile
- DLIS file to get as string. Non-null.IllegalArgumentException
- If dlisFile is null.Copyright © 2024 Petroware AS - https://petroware.no