The "logcurve" web service provides meta data about a log curve.
A typical URL for log curves is: http://myserver.mycompany.com:8080/INTGeoServer/json/logcurvedata?filePath=34_10-A-9H.las&logCurve=DEPT&showValues=false
The following parameters are available:
filePath: the relative path of the specified dataset. This is a required parameter. If a path encoder is used, this path is encoded.
logCurve: the name of the log curve to be retrieved. This is a required parameter.
showValues: If this value is false, the values, and numberOfValues portions of the response will not be sent. This is an optional parameter.
compatibleZUnitSymbol: a measurement symbol, such as "m" or "s". If the requested symbol does not match one of the compatibleZUnitSymbol in the welldata web service, the server will return a bad request response (error 400) in the HTTP header. This is an optional parameter. By default, the MDs will be returned in their native vertical unit.
If the specified filePath doesn't match a valid well, no JSON response will be provided. The HTTP response will only show a "File or Directory Not Found" (error 404) in its headers.
If the logCurve doesn't match a log curve contained within the well data no JSON response will be provided. The server will return a bad request response (error 400) in the HTTP header.
Here is an example response. This response has been formatted to improve readability
{
"minimumMD":300.0755904,
"maximumMD":300.83758545,
"minimumValue":300.07559204,
"maximumValue":300.07559204,
"nullValue":-999.25,
"description":"DEPTH",
"unitSymbol":"m",
"unitName":"m",
"shortName":"DEPT",
"values":[
300.07559204,
300.22799683,
300.38040161,
300.5328064,
300.68521118,
300.83758545
],
"numberOfValues":6
}
The minimumMD entry represents the minimum measured depth value expressed in the z unit of this well data.
The maximumMD entry represents the maximum measured depth value expressed in the z unit of this well data.
The minimumValue entry represents the minimum curve value expressed in the z unit of this well data.
The maximumValue entry represents the maximum curve value expressed in the z unit of this well data.
The nullValue entry is the null value representation for this log curve. By default it is the same value as the null value for the well data. A value typically found in LAS files is -999.25.
The description entry is the curve description of this log curve. For example, "Impedance", "Porosity", instead of MNEMONICS.
The unitSymbol entry is the symbol which represents the unit of the values for this log curve. Ex: "m", "ft", "s". This can also be "noUnit".
Note: This unit is not necessarily a unit of distance, time can also be used.
The unitName entry is the full name of the vertical measurement unit for the measured depths. Ex: "Meters", "Feet", "Seconds". This can also be "noUnit".
The shortName entry is the name for this log curve.
The values entry is the list of all curve values expressed in the unit specified by unitSymbol.
The numberOfValues entry is the number of curve values that this log curve contains.
The HTTP header also contains a "dataHash" header. The hash code can be used to track whether the data file underlying the specified dataset has been changed since the last time it was loaded from disk.