@@ -87,7 +87,8 @@ def phread(resource, asset, region):
87
87
# Build ATL06 Request
88
88
parms = { "poly" : region ,
89
89
"cnf" : icesat2 .CNF_SURFACE_HIGH ,
90
- "atl08_class" : ["atl08_noise" , "atl08_ground" , "atl08_canopy" , "atl08_top_of_canopy" ],
90
+ "pass_invalid" : True ,
91
+ "atl08_class" : ["atl08_noise" , "atl08_ground" , "atl08_canopy" , "atl08_top_of_canopy" , "atl08_unclassified" ],
91
92
"ats" : 20.0 ,
92
93
"cnt" : 10 ,
93
94
"len" : 40.0 ,
@@ -147,7 +148,8 @@ def plotresults(act, exp, ph, region):
147
148
ax3 = plt .subplot (133 )
148
149
ax3 .set_title ("Photon Cloud" )
149
150
ph_gt1r = ph [ph ["pair" ] == icesat2 .RIGHT_PAIR ]
150
- ax3 .scatter (ph_gt1r ["time" ], ph_gt1r ["height" ].values , c = ph_gt1r ["info" ], cmap = 'winter_r' , s = 0.1 )
151
+ colormap = np .array (['c' ,'b' ,'g' ,'g' ,'y' ])
152
+ ax3 .scatter (ph_gt1r ["time" ], ph_gt1r ["height" ].values , c = colormap [ph_gt1r ["info" ]], s = 0.2 )
151
153
act_gt1r = act_gt1r [(act_gt1r .geometry .y > min (box_lat )) & (act_gt1r .geometry .y < max (box_lat ))]
152
154
act_gt1r = act_gt1r [(act_gt1r .geometry .x > min (box_lon )) & (act_gt1r .geometry .x < max (box_lon ))]
153
155
ax3 .scatter (act_gt1r ["time" ], act_gt1r ["h_mean" ].values , color = 'r' , s = 0.5 )
0 commit comments