Skip to content

IO for active cells #414

Description

@dccowan

Summary

The write_model_UBC for TensorMesh and TreeMesh do not work properly for UBC-GIF active cells models. In SimPEG, active cells are a boolean array, which cannot be written directly. For UBC-GIF, they are binary values. Even if you convert the SimPEG boolean array to dtype=int, write_model_UBC will write the values in scientific notation.

Suggestion

Make write_active_cells_UBC and read_active_cells_UBC. I think its clearer to separate from write_model_UBC and read_model_UBC. However, I think we can get each to call a core piece of functionality smart enough to handle either.

Activity

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions