@@ -386,7 +386,7 @@ def CheckFileValid(filename, verbose=False):
386386foldObservationType = numpy .dtype ([('eventId' ,'<u4' ),
387387 ('easting' ,'<f8' ),('northing' ,'<f8' ),('altitude' ,'<f8' ),('type' ,'<i4' ),
388388 ('axisX' ,'<f8' ),('axisY' ,'<f8' ),('axisZ' ,'<f8' ),
389- ('foliation' ,'S30 ' ),('whatIsFolded' ,'S30 ' )])
389+ ('foliation' ,'S120 ' ),('whatIsFolded' ,'S120 ' )])
390390
391391foliationObservationType = numpy .dtype ([('eventId' ,'<u4' ),
392392 ('easting' ,'<f8' ),('northing' ,'<f8' ),('altitude' ,'<f8' ),('type' ,'<i4' ),
@@ -402,10 +402,10 @@ def CheckFileValid(filename, verbose=False):
402402stratigraphicObservationType = numpy .dtype ([('layerId' ,'<u4' ),
403403 ('easting' ,'<f8' ),('northing' ,'<f8' ),('altitude' ,'<f8' ),('type' ,'<i4' ),
404404 ('dipDir' ,'<f8' ),('dip' ,'<f8' ),('dipPolarity' ,'<f8' ),
405- ('layer' ,'S30 ' )])
405+ ('layer' ,'S120 ' )])
406406
407407faultEventType = numpy .dtype ([('eventId' ,'<u4' ),
408- ('minAge' ,'<f8' ),('maxAge' ,'<f8' ),('name' ,'S30 ' ),('group' ,'S30 ' ),('supergroup' ,'S30 ' ),
408+ ('minAge' ,'<f8' ),('maxAge' ,'<f8' ),('name' ,'S120 ' ),('group' ,'S120 ' ),('supergroup' ,'S120 ' ),
409409 ('enabled' ,'u1' ),('rank' ,'<u4' ),('type' ,'<i4' ),
410410 ('avgDisplacement' ,'<f8' ),('avgDownthrowDir' ,'<f8' ),
411411 ('influenceDistance' ,'<f8' ),('verticalRadius' ,'<f8' ),
@@ -415,24 +415,24 @@ def CheckFileValid(filename, verbose=False):
415415 ('avgNormalEasting' ,'<f8' ),('avgNormalNorthing' ,'<f8' ),('avgNormalAltitude' ,'<f8' )])
416416
417417foldEventType = numpy .dtype ([('eventId' ,'<u4' ),
418- ('minAge' ,'<f8' ),('maxAge' ,'<f8' ),('name' ,'S30 ' ),('group' ,'S30 ' ),('supergroup' ,'S30 ' ),
418+ ('minAge' ,'<f8' ),('maxAge' ,'<f8' ),('name' ,'S120 ' ),('group' ,'S120 ' ),('supergroup' ,'S120 ' ),
419419 ('enabled' ,'u1' ),('rank' ,'<u4' ),('type' ,'<i4' ),
420420 ('periodic' ,'u1' ),('wavelength' ,'<f8' ),('amplitude' ,'<f8' ),
421421 ('asymmetry' ,'u1' ),('asymmetryShift' ,'<f8' ),
422422 ('secondaryWavelength' ,'<f8' ),('secondaryAmplitude' ,'<f8' )])
423423
424424foliationEventType = numpy .dtype ([('eventId' ,'<u4' ),
425- ('minAge' ,'<f8' ),('maxAge' ,'<f8' ),('name' ,'S30 ' ),('group' ,'S30 ' ),('supergroup' ,'S30 ' ),
425+ ('minAge' ,'<f8' ),('maxAge' ,'<f8' ),('name' ,'S120 ' ),('group' ,'S120 ' ),('supergroup' ,'S120 ' ),
426426 ('enabled' ,'u1' ),('rank' ,'<u4' ),('type' ,'<i4' ),
427427 ('lowerScalarValue' ,'<f8' ),('upperScalarValue' ,'<f8' )])
428428
429429discontinuityEventType = numpy .dtype ([('eventId' ,'<u4' ),
430- ('minAge' ,'<f8' ),('maxAge' ,'<f8' ),('name' ,'S30 ' ),('group' ,'S30 ' ),('supergroup' ,'S30 ' ),
430+ ('minAge' ,'<f8' ),('maxAge' ,'<f8' ),('name' ,'S120 ' ),('group' ,'S120 ' ),('supergroup' ,'S120 ' ),
431431 ('enabled' ,'u1' ),('rank' ,'<u4' ),('type' ,'<i4' ),
432432 ('scalarValue' ,'<f8' )])
433433
434434stratigraphicLayerType = numpy .dtype ([('layerId' ,'<u4' ),
435- ('minAge' ,'<f8' ),('maxAge' ,'<f8' ),('name' ,'S30 ' ),('group' ,'S30 ' ),('supergroup' ,'S30 ' ),
435+ ('minAge' ,'<f8' ),('maxAge' ,'<f8' ),('name' ,'S120 ' ),('group' ,'S120 ' ),('supergroup' ,'S120 ' ),
436436 ('enabled' ,'u1' ),('rank' ,'<u4' ),('type' ,'<i4' ),
437437 ('thickness' ,'<f8' ),
438438 ('colour1Red' ,'u1' ),('colour1Green' ,'u1' ),('colour1Blue' ,'u1' ),
@@ -441,18 +441,18 @@ def CheckFileValid(filename, verbose=False):
441441eventRelationshipType = numpy .dtype ([('eventId1' ,'<u4' ),('eventId2' ,'<u4' ),('bidirectional' ,'u1' ),
442442 ('angle' ,'<f8' ),('type' ,'<i4' )])
443443
444- drillholeDescriptionType = numpy .dtype ([('collarId' ,'<u4' ),('holeName' ,'S30 ' ),
444+ drillholeDescriptionType = numpy .dtype ([('collarId' ,'<u4' ),('holeName' ,'S120 ' ),
445445 ('surfaceX' ,'<f8' ),('surfaceY' ,'<f8' ),('surfaceZ' ,'<f8' )])
446446
447- drillholePropertyType = numpy .dtype ([('collarId' ,'<u4' ),('propertyName' ,'S30 ' ),('propertyValue' ,'S80' )])
447+ drillholePropertyType = numpy .dtype ([('collarId' ,'<u4' ),('propertyName' ,'S120 ' ),('propertyValue' ,'S80' )])
448448
449449drillholeObservationType = numpy .dtype ([('collarId' ,'<u4' ),
450450 ('fromX' ,'<f8' ),('fromY' ,'<f8' ),('fromZ' ,'<f8' ), ('layerId' ,'<u4' ),
451451 ('toX' ,'<f8' ),('toY' ,'<f8' ),('toZ' ,'<f8' ),('from' ,'<f8' ),('to' ,'<f8' ),
452- ('propertyCode' ,'S30 ' ),('property1' ,'S30 ' ),('property2' ,'S30 ' ),('unit' ,'S30 ' )])
452+ ('propertyCode' ,'S120 ' ),('property1' ,'S120 ' ),('property2' ,'S120 ' ),('unit' ,'S120 ' )])
453453
454454drillholeSurveyType = numpy .dtype ([('collarId' ,'<u4' ),('depth' ,'<f8' ),
455- ('angle1' ,'<f8' ),('angle2' ,'<f8' ),('unit' ,'S30 ' )])
455+ ('angle1' ,'<f8' ),('angle2' ,'<f8' ),('unit' ,'S120 ' )])
456456
457457def ConvertDataFrame (df ,dtype ):
458458 if isinstance (df ,pandas .DataFrame ):
0 commit comments