2

Closed

Parsing of value "date time" fails

description

The typeLogData element can contain the value "date time", but nWitsml only accepts the value "datetime".
 
Example:
 
<logCurveInfo uid="TIME">
<mnemonic>TIME</mnemonic>
<unit>s</unit>
<minDateTimeIndex>2011-05-16T07:07:44+02:00</minDateTimeIndex>
<maxDateTimeIndex>2011-05-16T08:32:51+02:00</maxDateTimeIndex>
<columnIndex>1</columnIndex>
<curveDescription>Time</curveDescription>
<typeLogData>date time</typeLogData>
</logCurveInfo>
 
Code example:
 
    [TestMethod]
    public void TestGetLog()
    {
        WitsmlServer server = CreateWitsmlServer();
        WitsmlWellbore wellbore = server.getOne<WitsmlWellbore>(new WitsmlQuery(), "B-1458461", "W-1458461");
        WitsmlQuery query = new WitsmlQuery();
        WitsmlLog log = server.getOne<WitsmlLog>(query, "L-1594991-Time", wellbore);
    }
Closed Dec 5, 2011 at 2:44 PM by boomhauer
"date time" is now parsed correctly

comments

boomhauer wrote Sep 10, 2011 at 7:22 AM

I think this has been resolved, I'll verify and close this out if so.

wrote Dec 2, 2011 at 6:17 AM

GVitaliy wrote Dec 2, 2011 at 6:19 AM

Stuck with this issue as well. Is it a lot of work to fix it?

boomhauer wrote Dec 2, 2011 at 7:49 PM

Checked in a fix that should handle it now, please give it a try.

boomhauer wrote Dec 3, 2011 at 8:23 PM

If one of you can try out the checked in change and post here if it fixes your specific problem, I'll go ahead and close out this ticket. thanks

the changeset is at http://nwitsml.codeplex.com/SourceControl/changeset/changes/12690

GVitaliy wrote Dec 5, 2011 at 5:52 AM

It fixes my problems. Thanks a lot!

wrote Dec 5, 2011 at 2:44 PM

wrote Feb 14, 2013 at 1:45 AM

wrote May 16, 2013 at 7:43 AM