Skip to content

Commit

Permalink
unit test for -1.IND
Browse files Browse the repository at this point in the history
  • Loading branch information
kinverarity1 committed Nov 12, 2017
1 parent b5762d1 commit f3d2f51
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
30 changes: 30 additions & 0 deletions tests/examples/null_policy_ind.las
@@ -0,0 +1,30 @@
~Version Information Block
VERS. 2.00: CWLS LOG ASCII STANDARD - VERSION 2.000000
WRAP. NO: One Line Per Depth Step
#
~Well Information Block
#MNEM.UNIT Data Information
#---------- ------------------------------------------ ----------------
STRT.FT 2450.0000: START DEPTH
STOP.FT 2550.0000: STOP DEPTH
STEP.FT 0.5000: STEP LENGTH
NULL. -999.2500: NULL VALUE
COMP. Drillers & Producers, Inc.: COMPANY
LEAS. Berry: LEASE NAME
WELL. 2: WELL NUM
~Curve Information Block
DEPT.FT : Depth in Feet
GR .GAPI : Gamma Ray
CN .PU : Compensated Neutron
CD .PU : Compensated Density
~A DEPTH GR CN CD
2450.000 141.53386454 -1.#IND0000 -1.#IND0000
2450.500 141.53386454 -1.#IND0000 -1.#IND0000
2451.000 140.92327541 -1.#IND0000 -1.#IND0000
2451.500 138.84323879 -1.#IND0000 -1.#IND0000
2452.000 135.69677278 -1.#IND0000 -1.#IND0000
2452.500 132.29497308 -1.#IND0000 -1.#IND0000
2453.000 131.95062005 -1.#IND0000 -1.#IND0000
2453.500 134.61177433 -1.#IND0000 -1.#IND0000
2454.000 135.16463889 -1.#IND0000 -1.#IND0000
2454.500 131.08716622 -1.#IND0000 -1.#IND0000
3 changes: 3 additions & 0 deletions tests/test_null_policy.py
Expand Up @@ -108,3 +108,6 @@ def test_null_policy_runon_ok_2():
las = read(egfn("null_policy_runon.las"), read_policy='default')
assert las['C05'][2] == -19508.961

def test_null_policy_ind():
las = read(egfn('null_policy_ind.las'))
assert las.curves.keys() == ['DEPT', 'GR', 'CN', 'CD']

0 comments on commit f3d2f51

Please sign in to comment.