Input data read_collar() #77
Unanswered
MerelMoons
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
Am currently following this example from GemPy (https://docs.gempy.org/examples/real/mik.html#sphx-glr-download-examples-real-mik-py) but am encountering a problem with the input of my data (Borealis.csv).
The error message occurs each time with this piece of code:
collar_df: pd.DataFrame = read_collar(
GenericReaderFilesHelper(
file_or_buffer=raw_borehole_data_csv,
index_col="name",
usecols=['x', 'y', 'altitude', "name"],
columns_map={
"name": "id", # ? Index name is not mapped
"X": "x",
"Y": "y",
"altitude": "z"
}
)
)
The usecols I use are: ['CPT', 'X', 'Y', 'mTAW_top']
(note: mTAW is the height model of Belgium, measured opposite a fixed reference point near the coast).
Do you have any idea what might be wrong with my csv file?
(I also asked this question to GemPy but was referred to you for this)
Thanks you!
Beta Was this translation helpful? Give feedback.
All reactions