Convenience methods for extracting information from LAS files.
More...
|
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 ? DateTime | 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 bool | IsTimeIndexed (LasFile lasFile) |
| Check if the specified LAS file is time indexed.
|
|
static string | ToString (LasFile lasFile) |
| Create a string representation of the entire content of the specified LAS file.
|
|
Convenience methods for extracting information from LAS files.
- Author
- Petroware AS
◆ ComputeStep()
static double ComputeStep |
( |
LasCurve | lasCurve | ) |
|
|
static |
Compute the step of the specified LAS (index) curve.
- Parameters
-
lasCurve | LAS curve to compute step of. |
- Returns
- The requested step value. 0.0 if irregular.
- Exceptions
-
ArgumentNullException | If lasCurve is null. |
◆ FindStep()
static double[] FindStep |
( |
LasCurve | lasCurve | ) |
|
|
static |
Find actual step value of the specified LAS (index) curve, being the distance between values in the curve.
Three values are returned: The minimum step, the maximum step and the average step. It is left to the client to decide if these numbers represents a regular or an irregular log set.
- Parameters
-
lasCurve | LAS curve to find step from. Non-null. |
- Returns
- The (minimum, maximum and average) step value of the LAS curve.
- Exceptions
-
ArgumentNullException | If lasCurve is null. |
◆ GetBitSize()
static ? double GetBitSize |
( |
LasFile | lasFile | ) |
|
|
static |
Return bit size of the specified LAS file.
- Parameters
-
lasFile | LAS file to get bit size from. Non-null. |
- Returns
- Bit size of LAS file (in meters according to the LAS documentation), or null if not found.
- Exceptions
-
ArgumentNullException | If lasFile is null. |
◆ GetCompany()
static string GetCompany |
( |
LasFile | lasFile | ) |
|
|
static |
Return company name of the specified LAS file.
- Parameters
-
lasFile | LAS file to get company name from. Non-null. |
- Returns
- Company name of LAS file, or null if not found.
- Exceptions
-
ArgumentNullException | If lasFile is null. |
◆ GetCountry()
static string GetCountry |
( |
LasFile | lasFile | ) |
|
|
static |
Return country of the well of the specified LAS file.
- Parameters
-
lasFile | LAS file to get country from. Non-null. |
- Returns
- Country of well of LAS file, or null if not found.
- Exceptions
-
ArgumentNullException | If lasFile is null. |
◆ GetDate()
static ? DateTime GetDate |
( |
LasFile | lasFile | ) |
|
|
static |
Return logging date from the specified LAS file.
- Parameters
-
lasFile | LAS file to get logging date from. Non-null. |
- Returns
- Logging date of LAS file, or null if not found.
- Exceptions
-
ArgumentNullException | If lasFile is null. |
◆ GetFieldName()
static string GetFieldName |
( |
LasFile | lasFile | ) |
|
|
static |
Return field name of the specified LAS file.
- Parameters
-
lasFile | LAS file to get field name from. Non-null. |
- Returns
- Field name of LAS file, or null if not found.
- Exceptions
-
ArgumentNullException | If lasFile is null. |
◆ GetInterval()
static double[] GetInterval |
( |
LasFile | lasFile | ) |
|
|
static |
Get logging interval of the specified LAS file.
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).
- Parameters
-
lasFile | LAS file to get interval from. Non-null. |
- Returns
- The logging interval of the LAS file. Array of two (smallest value first) or null if property not found.
- Exceptions
-
ArgumentNullException | If lasFile is null. |
◆ GetMd()
static ? double GetMd |
( |
LasFile | lasFile | ) |
|
|
static |
Return MD (measured depth) of the specified LAS file.
- Parameters
-
lasFile | LAS file to get MD from. Non-null. |
- Returns
- MD of LAS file, or null if not found.
- Exceptions
-
ArgumentNullException | If lasFile is null. |
◆ GetRigName()
static string GetRigName |
( |
LasFile | lasFile | ) |
|
|
static |
Return rig name of the specified LAS file.
- Parameters
-
lasFile | LAS file to get rig name from. Non-null. |
- Returns
- Rig name of LAS file, or null if not found.
- Exceptions
-
ArgumentNullException | If lasFile is null. |
◆ GetRunNumber()
static string GetRunNumber |
( |
LasFile | lasFile | ) |
|
|
static |
Return run number of the specified LAS file.
- Parameters
-
lasFile | LAS file to get run number from. Non-null. |
- Returns
- Run number of LAS file, or null if not found.
- Exceptions
-
ArgumentNullException | If lasFile is null. |
◆ GetServiceCompany()
static string GetServiceCompany |
( |
LasFile | lasFile | ) |
|
|
static |
Return service company name of the specified LAS file.
- Parameters
-
lasFile | LAS file to get service company name from. Non-null. |
- Returns
- Service company name of LAS file, or null if not found.
- Exceptions
-
ArgumentNullException | If lasFile is null. |
◆ GetStep()
static ? double GetStep |
( |
LasFile | lasFile | ) |
|
|
static |
Get logging step of the specified LAS file.
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.
- Parameters
-
lasFile | LAS file to get logging step from. Non-null. |
- Returns
- The step of the LAS file. Null if it is not present.
- Exceptions
-
ArgumentNullException | If lasFile is null. |
◆ GetWellName()
static string GetWellName |
( |
LasFile | lasFile | ) |
|
|
static |
Return well name of the specified LAS file.
- Parameters
-
lasFile | LAS file to get well name from. Non-null. |
- Returns
- Well name of LAS file, or null if not found.
- Exceptions
-
ArgumentNullException | If lasFile is null. |
◆ IsTimeIndexed()
static bool IsTimeIndexed |
( |
LasFile | lasFile | ) |
|
|
static |
Check if the specified LAS file is time indexed.
A LAS file is defined to be time indexed if the start and stop parameters (STRT/STOP) have time units.
- Parameters
-
lasFile | LAS file to check. Non-null. |
- Returns
- True if the LAS file is time indexed, false if it is depth indexed, or the indexing is not specified.
- Exceptions
-
ArgumentNullException | If lasFile is null. |
◆ ToString()
static string ToString |
( |
LasFile | lasFile | ) |
|
|
static |
Create a string representation of the entire content of the specified LAS file.
- Parameters
-
lasFile | LAS file to get as string. Non-null. |
- Returns
- A string representation of the LAS file. Never null.
- Exceptions
-
ArgumentNullException | If lasFile is null. |
The documentation for this class was generated from the following file:
- Petroware/LogIo/Las/LasUtil.cs