Activating/Deactivating data #365
Labels
enhancement
gempy lite
https://github.com/gempy-project/gempy_lite
gempy 3
Will come with the next major update
Is your feature request related to a problem? Please describe.
At the moment the only way to edit the models is by completely adding/removing data from the correspondent dataframes. In many cases, we will just want to deactivate it temporary to see how the model would change.
Describe the solution you'd like
We should have a boolean 'isActive' column in the series-surfaces-surface points -orientation data frame. This column will be used to filter any type of data whenever we query it.
It is important that they are in sync i.e. If a surface 'isActive' is set to False, all the surface points and orientations belonging to that surface must be also set False.
Additional context
For series and surfaces the column 'isActive' already exist but is only dependent on the existence of data points. For example, a series with no surfaces assigned will be inactive ('isActive' -> False).
This is the first step towards hierarchical modelling Hierarchical modeling gempy_engine#4 . Different levels will be sampled by similar boolean logic
The text was updated successfully, but these errors were encountered: