Log I/O
|
Convenience class for extracting information from LIS files. More...
Static Public Member Functions | |
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 ? DateTime | 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 bool | 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. | |
Convenience class for extracting information from LIS files.
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.
|
static |
Return bit size of the specified LIS file.
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. |
ArgumentNullException | If lisFile is null. |
|
static |
Return company of the specified LIS file.
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. |
ArgumentNullException | If lisFile is null. |
|
static |
Return country of the specified LIS file.
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. |
ArgumentNullException | If lisFile is null. |
|
static |
Return date of the specified LIS file.
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. |
ArgumentNullException | If lisFile is null. |
|
static |
Return field name of the specified LIS file.
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. |
ArgumentNullException | If lisFile is null. |
|
static |
Return rig name of the specified LIS file.
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. |
ArgumentNullException | If lisFile is null. |
|
static |
Return run number of the specified LIS file.
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. |
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".
ArgumentNullException | If lisFile is null. |
|
static |
Return the sample interval for the specified LIS file.
lisFile | LIS file to get sample interval of. Non-null. |
ArgumentNullException | If lisFile is null. |
|
static |
Return service company of the specified LIS file.
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. |
ArgumentNullException | If lisFile is null. |
|
static |
Return well name of the specified LIS file.
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. |
ArgumentNullException | If lisFile is null. |
|
static |
Check if the specified LIS file is time indexed.
lisFile | LIS file check. Non-null. |
ArgumentNullException | If lisFile is null. |
|
static |
Create a string representation of the entire content of the specified LIS file.
lisFile | LIS file to get as string. Non-null. |
ArgumentNullException | If lisFile is null. |