Skip to content

Conversation

@dwolfsch
Copy link
Contributor

Final Update for the Com6Scarp Script.
Includes minor changes like changes in attribute names and meanings

Final Update for the Com6Scarp Script.
Includes minor changes like changes in attribute names and meanings
Copy link
Contributor

@fso42 fso42 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the removal and moving of the coordinates and perimeter points wanted?

@fso42 fso42 added the enhancement New feature or request label Dec 15, 2025
@dwolfsch
Copy link
Contributor Author

Is the removal and moving of the coordinates and perimeter points wanted?
Yes, that is on purpose, as i had to do some updates in the template shape files as well

performed the requestted correction
@fso42 fso42 changed the title Com6Scarp: FinalUpdate [com6] Scarp: FinalUpdate Dec 18, 2025
Copy link
Contributor

@fso42 fso42 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The points_coordinates files are duplicated. I think one set should be removed?

Comment on lines +86 to +87
planesDip = list(map(float, SHPdata['dipdir']))
planesSlope = list(map(float, SHPdata['dipAngle']))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I strongly sugget to match the variable names and the attribute name. I.e planesDipAngle. Otherwise this gets very confusing when reading the code

Comment on lines +116 to +119
ellipsoidsTilt = list(map(float, SHPdata['dipAngle']))
ellipsoidsDir = list(map(float, SHPdata['dipdir']))
ellipsoidsOffset = list(map(float, SHPdata['offset']))
ellipsoidDip = list(map(float, SHPdata['dip']))
ellipsoidDip = list(map(float, SHPdata['rotAngle']))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as above

ellipsoidsTilt = list(map(float, SHPdata['tilt']))
ellipsoidsDir = list(map(float, SHPdata['direc']))
ellipsoidsTilt = list(map(float, SHPdata['dipAngle']))
ellipsoidsDir = list(map(float, SHPdata['dipdir']))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please use dipDir (capital D; since it gets changed anyways...)

slopeAngle
np array with the slope angle of each scarp plane-feature (as many values as features)
dip
dipdir
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

dipDir

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants