Last active
September 5, 2018 03:45
-
-
Save kinverarity1/a4a5e0ab0f9cee2744878c511cedeae4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"cells": [ | |
{ | |
"cell_type": "code", | |
"execution_count": 10, | |
"metadata": {}, | |
"outputs": [ | |
{ | |
"name": "stdout", | |
"output_type": "stream", | |
"text": [ | |
"7023-7452_caliper_down_CAL8_2017-11-23_101634.csv.las\n", | |
"\tDEPT\n", | |
"\tV1 DIAMETER\n", | |
"\tDIAMETER\n", | |
"7023-7452_caliper_up_CAL8_2017-11-23_104349.csv.las\n", | |
"\tDEPT\n", | |
"\tV1 DIAMETER\n", | |
"\tDIAMETER\n", | |
"7023-7452_gamma_neutron_down_G9N9+AmBe_2017-11-23_110143.csv.las\n", | |
"\tDEPT\n", | |
"\tV1 HE3 DETECTOR (NEUTRON)\n", | |
"\tV2 NAI DETECTOR (GAMMA)\n", | |
"\tV3 ELECTRODE\n", | |
"\tV4 ELECTRODE\n", | |
"\tGAMMA\n", | |
"\tNEUTRON\n", | |
"7023-7452_gamma_neutron_up_G9N9+AmBe_2017-11-23_110735.csv.las\n", | |
"\tDEPT\n", | |
"\tV1 HE3 DETECTOR (NEUTRON)\n", | |
"\tV2 NAI DETECTOR (GAMMA)\n", | |
"\tV3 ELECTRODE\n", | |
"\tV4 ELECTRODE\n", | |
"\tGAMMA\n", | |
"\tNEUTRON\n" | |
] | |
} | |
], | |
"source": [ | |
"import glob\n", | |
"import lasio\n", | |
"\n", | |
"for fn in glob.glob('*.las'):\n", | |
" las = lasio.read(fn, ignore_data=True)\n", | |
" mnemonics = [c.mnemonic for c in las.curves]\n", | |
" print(fn + '\\n\\t' + '\\n\\t'.join(mnemonics))" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": null, | |
"metadata": {}, | |
"outputs": [], | |
"source": [] | |
} | |
], | |
"metadata": { | |
"kernelspec": { | |
"display_name": "Python 3", | |
"language": "python", | |
"name": "python3" | |
}, | |
"language_info": { | |
"codemirror_mode": { | |
"name": "ipython", | |
"version": 3 | |
}, | |
"file_extension": ".py", | |
"mimetype": "text/x-python", | |
"name": "python", | |
"nbconvert_exporter": "python", | |
"pygments_lexer": "ipython3", | |
"version": "3.6.4" | |
} | |
}, | |
"nbformat": 4, | |
"nbformat_minor": 2 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment