Skip to content

Commit ff8feb0

Browse files
committed
changed name of info field to atl08_class
1 parent c36f762 commit ff8feb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/algorithm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ def plotresults(act, exp, ph, region):
146146
ax3.set_title("Photon Cloud")
147147
ph_gt1r = ph[ph["pair"] == icesat2.RIGHT_PAIR]
148148
colormap = np.array(['c','b','g','g','y']) # noise, ground, canopy, top of canopy, unclassified
149-
ax3.scatter(ph_gt1r.index.values, ph_gt1r["height"].values, c=colormap[ph_gt1r["info"]], s=1.5)
149+
ax3.scatter(ph_gt1r.index.values, ph_gt1r["height"].values, c=colormap[ph_gt1r["atl08_class"]], s=1.5)
150150
act_gt1r = act_gt1r[(act_gt1r.geometry.y > min(box_lat)) & (act_gt1r.geometry.y < max(box_lat))]
151151
act_gt1r = act_gt1r[(act_gt1r.geometry.x > min(box_lon)) & (act_gt1r.geometry.x < max(box_lon))]
152152
ax3.scatter(act_gt1r.index.values, act_gt1r["h_mean"].values, color='r', s=0.5)

0 commit comments

Comments
 (0)