Skip to content

Commit

Permalink
fix: corrected column names
Browse files Browse the repository at this point in the history
  • Loading branch information
rabii-chaarani committed Aug 26, 2024
1 parent 94482a1 commit 7c415a4
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 21 deletions.
Binary file modified LoopDataConverter/__pycache__/__init__.cpython-311.pyc
Binary file not shown.
Binary file not shown.
Binary file not shown.
42 changes: 21 additions & 21 deletions LoopDataConverter/fields/_ntgs/_ntgs_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ def __init__(self):
self.fold_config = (
{
"structtype_column": "FoldEvent",
"fold_text": "FeatureCodeDesc",
"description_column": "Description",
"fold_text": "FeatDesc",
"description_column": "Desc",
"synform_text": "FoldType",
"foldname_column": "FoldName",
"objectid_column": "OBJECTID",
"tightness_column": "InterlimbAngle",
"axial_plane_dipdir_column": "AxialPlaneDipDir",
"axial_plane_dip_column": "AxialPlaneDip",
"interp_source_column": "InterpSource",
"tightness_column": "IntlimbAng",
"axial_plane_dipdir_column": "AxPlDipDir",
"axial_plane_dip_column": "AxPlDip",
"interp_source_column": "InterpSrce",
},
)

Expand All @@ -23,47 +23,47 @@ def __init__(self):
"fault_text": "'Normal', 'Reverse', 'Shear zone', 'Strike-slip', 'Thrust', 'Unknown'",
"dip_null_value": "-999",
"dipdir_flag": "num",
"dipdir_column": "DipDirection",
"dipdir_column": "DipDir",
"dip_column": "Dip",
"orientation_type": "dip direction",
"dipestimate_column": "DipEstimate",
"dipestimate_text": "'NORTH_EAST','NORTH',<rest of cardinals>,'NOT ACCESSED'",
"displacement_column": "Displacement",
"displacement_column": "Displace",
"displacement_text": "'1m-100m', '100m-1km', '1km-5km', '>5km'",
"fault_length_column": "FaultLength",
"fault_length_column": "FaultLen",
"fault_length_text": "'Small (0-5km)', 'Medium (5-30km)', 'Large (30-100km)', 'Regional (>100km)', 'Unclassified'",
"name_column": "FaultName",
"objectid_column": "OBJECTID",
"interp_source_column": "InterpSource",
"interp_source_column": "InterpSrce",
}

self.geology_config = {
"unitname_column": "Formation",
"alt_unitname_column": "CODE",
"group_column": "GroupSuite",
"group_column": "Group",
"supergroup_column": "Supergroup",
"description_column": "LithDescription",
"description_column": "LithDescn1",
"minage_column": "AgeMin",
"maxage_column": "AgeMax",
"rocktype_column": "LithClass",
"alt_rocktype_column": "RockCategory",
"sill_text": "RockCategory",
"intrusive_text": "RockCategory",
"volcanic_text": "RockCategory",
"alt_rocktype_column": "RockCat",
"sill_text": "RockCat",
"intrusive_text": "RockCat",
"volcanic_text": "RockCat",
"objectid_column": "OBJECTID",
"ignore_codes": ["cover"],
}

self.structure_config = {
"orientation_type": "dip direction",
"dipdir_column": "DipDirection",
"dipdir_column": "DipDir",
"dip_column": "Dip",
"description_column": "FeatureCodeDesc",
"bedding_text": "'Bedding', 'Cleavage', 'Faulting', 'Folding', 'Foliation', 'Geophysical', 'Igneous banding', 'Lineation'",
"description_column": "FeatDesc",
"bedding_text": "ObsType",
"overturned_column": "FeatureCodeDesc",
"overturned_text": "overturned",
"objectid_column": "ID",
"interp_source_column": "InterpSource",
"objectid_column": "ObjectID",
"interp_source_column": "InterpSrce",
}

self.config_map = {
Expand Down
Binary file not shown.
Binary file modified LoopDataConverter/input/__pycache__/input_data.cpython-311.pyc
Binary file not shown.
Binary file modified LoopDataConverter/utils/__pycache__/conversion.cpython-311.pyc
Binary file not shown.

0 comments on commit 7c415a4

Please sign in to comment.