only add requested beams for required variables #471
Labels
afternoon_contribution
This issue should be resolvable in an afternoon or so of work.
bug
Something isn't working
help wanted
Extra attention is needed
Originally posted by @rwegener2 in #470 (comment)
During preparations for a tutorial using ATL08 and consequent debugging of data read in of ATL08, it was noted that all beams are coordinates in the resulting DataArray, even if only select beams were requested. Looking at
reader.vars.wanted
after thereader.vars.append
line noted above and it looks like the other beams are being added via the mandatory rgt variable... (so, for instance,gt2l/land_segments/rgt
is being added even thoughgt2l/land_segments/h_canopy
is not. Thus, all of the beams are ending up in the dimension/index/coordinate list.This issue will require diving into how internal calls to
vars.append
to include required variables can also be limited to the requested beams.The text was updated successfully, but these errors were encountered: