Closed AlexanderJuestel closed 1 year ago
Thing is...surface is not a numeric value but rather strings.
numeric(bool): Return only the numerical values of the dataframe. This is much lighter database for storing traces
@Leguark any thoughts?
An alternative would be to do the following:
df1 = gp.get_data(geo_model, 'orientations', numeric=False)
df2 = gp.get_data(geo_model, 'orientations', numeric=True)
df1.merge(df2, how='inner')
This will give me the resulting DataFrame that I need.
I'm not sure, what information you need...but, wouldn't geo_model.orientations.df
be enough? That provides every single attribute of the orientations.
Yep, you are right, sorry for that
Description
This PR adds the column 'surface' to the result of
gp.get_data(geo_model, 'orientations', numeric=True)
. This way, it becomes easier to filter points by surfaces. Ifnumeric=False
, the dip and azimuth values are not provided.A quick merge and patch release would be appreciated since I need this for my little hack for finite faults ;)
Relates to #821
Checklist